Subscribe

Archive for the 'linking' Category

The GNU linker has some trouble when you present it with multiple library archives that depend upon each other. Libraries with symbols resolved in other libraries must be presented earlier on the command line. You can work around this with a command line argument:

“–start-group”, “–end-group”, aternatively “-(” “-)”

See the man page for LD for more [...]