This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How to recursively search libs using gcc
- From: Name lastlong <brew_pt at yahoo dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 13 Jan 2011 06:03:27 -0800 (PST)
- Subject: 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