[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GCC-3.0, -static, and -shared-libgcc



I believed I tested a case that I had not.  I was using -Wl to set the
linker switches.  This won't work any more.  Using the switches
directly with gcc-3.0 works properly.

  gcc-3.0 -static

versus

  gcc-3.0 -Wl,-static

Thanks.

On Sun, Jan 20, 2002 at 07:28:55PM -0500, Ben Collins wrote:
> >   -static -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc
> 
> Something is screwy with your setup then. The command works for me with
> no problem. Which version of the g++-3.0 package do you have installed?
> Any environment variables?
> 
> -- 
>  .----------=======-=-======-=========-----------=====------------=-=-----.
> /                   Ben Collins    --    Debian GNU/Linux                  \
> `  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
>  `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: