multiple .a files linking issues

Cedric Roux cedric.roux@acri-st.fr
Fri Dec 11 15:30:00 GMT 2009


John (Eljay) Love-Jensen wrote:
> A better solution is to combine both libraries into one library.  But that's not always feasible.

Or use some options of (recent?) GNU ld:
        -( archives -)
        --start-group archives --end-group
as you can read in "man ld"
But in the current case there is no circular
reference, so not really needed.
C.



More information about the Gcc-help mailing list