does anyone know the gcc command line switch when linking in (static) 
libraries so that they are hunted more than once?

I have a catch-22

program source main.c uses things in libA.a and libB.a

libB.a uses things in libA.a

(this is highly paraphrased, it's about 20 libs deep)

so the command line (snipped) goes

gcc .... -Imy_great_libfolder -iA -iB -iA

as in, i have to tell the linker to look in libA again. This is archaic, is 
there a circular reference I can use?



-- 
http://linux.nf -- [EMAIL PROTECTED]

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users

Reply via email to