Sorry, I don't remember off the top of my head. I looked it up when I saw it first by doing a "man gcc", but I assume you have tried that. I did not see a reference to it in the docs up on the GNU site, but I know it is in the man pages. I am not running linux at the moment. Perhaps someone else out there can answer?

At 05:37 AM 4/9/2003 -0700, you wrote:

I'm using gcc 3.2.2 for sparc which is configured
to use the native Sun Solaris linker

/Solaris_Utils/bin/g++ -v

Reading specs from
/Solaris_Utils/bin/../lib/gcc-lib/sparc-sun-solaris2.8/3.2.2/specs
Configured with: ../configure --disable-nls
--with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as
Thread model: posix
gcc version 3.2.2

Do you know what the flag does?

Hadar.




--- Michael Hunley <[EMAIL PROTECTED]> wrote: > I've successfully linked it on Redhat 8.0 using GCC > 3.2.2. Which version > of GCC do you have (or are you using something other > than GCC)? > > At 02:12 AM 4/9/2003 -0700, you wrote: > >In the GNUmakefile > >LDFLAGS = -Wl,--gc-sections > >for release version. > >If someone has succesfully linked an exe using this > >flag please tell me which linker did you use. > >My Solaris Sparc linker (ld: Solaris Link Editors: > >5.8-1.272) doesn't support this flag. > > > >Hadar. > > > >__________________________________________________ > >Do you Yahoo!? > >Yahoo! Tax Center - File online, calculators, > forms, and more > >http://tax.yahoo.com >


__________________________________________________ Do you Yahoo!? Yahoo! Tax Center - File online, calculators, forms, and more http://tax.yahoo.com



Reply via email to