Library linking problem
Eric Valette
eric.valette at free.fr
Wed Nov 24 08:07:28 UTC 2004
Eric Norum wrote:
> Because libraries are searched exactly once at the point the appear on
> the command line. You need to put your library *after* the object files
> which need it.
While this advice is relevant and sufficient most of the time, in case
of cross dependency, you can use ld --start-group, --end-group linker
command now.
--
__
/ ` Eric Valette
/-- __ o _. 6 rue Paul Le Flem
(___, / (_(_(__ 35740 Pace
Tel: +33 (0)2 99 85 26 76 Fax: +33 (0)2 99 85 26 76
E-mail: eric.valette at free.fr
More information about the users
mailing list