[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Library linking problem



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