[coreboot] [PATCH][v3] Argument order in compiler options

Segher Boessenkool segher at kernel.crashing.org
Tue Jun 3 19:50:20 CEST 2008


> For building coreboot v3 on cygwin, these changes (among others that I 
> still clean up) are needed.
> Otherwise, it doesn't find the symbols in the libraries (ld arguments 
> are parsed right-to-left).

No they're not.  Object files are linked left to right; object files
in archives are only included if any of their symbols are required.
Because of that, in general, libraries should be last on the command
line.

Patch looks good though.


Segher





More information about the coreboot mailing list