[M3devel] cm3 -boot Builder.GenObjectList etc.
Jay K
jay.krell at cornell.edu
Mon Jun 20 07:12:13 CEST 2016
Does anyone have a full story around cm3 -boot?
I "fixed" Builder.GenObjectList to produce valid make code,which is what I thought it was doing, but now I realize, I guess,it was generating quake code.The chunking was probably to workaround historical fixed size buffersand buffer overflows in quake, that we have since fixed.
Anyway, I could fix this all up in one of a few ways: - do nothing; do everything in python - generate cmake stuff - generate autotools/libtool stuff - generate quake stuff - other
Python nearly suffices, but the current direction bugsme in multiple ways: - I duplicate things like cflags/compiler/asssembler between config and python - The python hardcodes knowing what is a program vs. a library
In going to try to complete the cm3 code here..like putting in linking,it strikes me that one problem is when to do probing for libraries,the logic around shared vs. static, prefering shared by default,prefering static if build_standalone, and using whatever is found if only one.
Running that logic in cm3 -boot is slightly challenging.We'd either assume and hardcode file presence, possibly just assuming static,or defer the logic to the next phase.
- Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20160620/858199ef/attachment-0001.html>
More information about the M3devel
mailing list