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]

Re: How to recursively search libs using gcc


First of all, apology for mixing/linking  my post with other unrelated post.

> That's not a workaround, it's how to tell gcc to pass  arguments to the
> linker, so that's the right way to do it. 

I agree, it not a 'work-around'.

> > Is there any other way?
> 
> gcc '-Wl,-(' <obj or archive files> '-Wl,-)'

This is useful. I have trouble getting this work, but I shall be able to fix it. 

-Brew


      


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