[build2] [build2 0.7-a.0] How to use start-group / end-group in config.c.loptions

Mueller Tobias (DC-MH/EMF1) tobias.mueller2 at boschrexroth.de
Tue Feb 27 07:45:03 UTC 2018


> Is there a way to use -Wl,--start-group $(objects) $(libraries) -Wl,--end-group in config.cc.loptions?
I found a workaround:
- build2 takes only care about building the objects and one library of them.
  $out_base/_bin/liba{relocatable.a} instead of $out_base/_bin/exe{relocatable.elf}
- Windows batch file takes that library and does all the linking of the ELF files and finally the generation of the HEX file.



More information about the users mailing list