This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to recursively search libs using gcc


Hi,

We have an option "--start-group <archive or obj files> --end-group"
to LD that searches the libs recursively.

What do I need to do (if I want to use gcc for linking and not LD) for searching libs recursively using gcc?

I know following workaround;
#gcc -Wl,--start-group <obj or archive files> -Wl,--end-group

Is there any other way?
Does gcc, by default, searches libs recursively?

Thanks for help.

-Brew


      


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]