Re: -static not working with gcc 4.3.4

2011-02-03 Thread Christopher Faylor
On Thu, Feb 03, 2011 at 01:21:39PM -0800, gvidaver wrote: >To clarify : you can't make an executable that copies the dll or >library code into the executable itself. When the exe launches it will >look for cygwin1.dll in /usr/bin. So it will fail to launch on a >system that doesn't have cygwin in

Re: -static not working with gcc 4.3.4

2011-02-03 Thread gvidaver
om. >> >> >> -- >> Problem reports:       http://cygwin.com/problems.html >> FAQ:                   http://cygwin.com/faq/ >> Documentation:         http://cygwin.com/docs.html >> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple >> >> >

Re: -static not working with gcc 4.3.4

2011-02-03 Thread Charles Wilson
On 2/3/2011 2:34 PM, gvidaver wrote: > It still requires the cygwin1.dll: > > $ g++ -v > ... > gcc version 4.5.0 (GCC) > > $ g++ test.c -o test -static > > $ ldd test.exe > ... > cygwin1.dll => /usr/bin/cygwin1.dll (0x6100) > ... Uhm, yes. The cygwin-provided gcc is

Re: -static not working with gcc 4.3.4

2011-02-03 Thread marco atzeri
//cygwin.com/problems.html >> FAQ:                   http://cygwin.com/faq/ >> Documentation:         http://cygwin.com/docs.html >> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple >> >> >> > > -- > View this message in contex

Re: -static not working with gcc 4.3.4

2011-02-03 Thread gvidaver
m/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > > -- View this message in context: http://old.nabble.com/-static-not-working-with-gcc-4.3.4-tp29981383p30838541.html Sent from the Cygwin list mailin

Re: -static not working with gcc 4.3.4

2010-10-18 Thread Samuel Thibault
Marco Atzeri, le Mon 18 Oct 2010 14:22:02 +0100, a écrit : > have you checked if 4.5 has the same problem ? > > http://cygwin.com/ml/cygwin-announce/2010-08/msg00016.html It doesn't have the problem any more. Samuel -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: -static not working with gcc 4.3.4

2010-10-18 Thread Marco Atzeri
--- Lun 18/10/10, Samuel Thibault scritto: > > > From: Samuel Thibault > > > $ cat test.c > > > int main(void) {} > > > $ gcc test.c -o test -static > > > > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: > > > cannot find -lgcc_s > > > > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../

Re: -static not working with gcc 4.3.4

2010-10-18 Thread Samuel Thibault
Nellis, Kenneth, le Mon 18 Oct 2010 07:45:15 -0500, a écrit : > > From: Samuel Thibault > > $ cat test.c > > int main(void) {} > > $ gcc test.c -o test -static > > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: > > cannot find -lgcc_s > > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../.

RE: -static not working with gcc 4.3.4

2010-10-18 Thread Nellis, Kenneth
> From: Samuel Thibault > > Hello, > > gcc -static doesn't seem to be working any more using gcc 4.3.4: > > $ cat test.c > int main(void) {} > $ gcc test.c -o test -static > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: > cannot find -lgcc_s > /usr/lib/gcc/i686-pc-cygwin/4

Re: R: -static not working with gcc 4.3.4

2010-10-17 Thread Samuel Thibault
Marco Atzeri, le Sun 17 Oct 2010 06:33:39 +0100, a écrit : > > Data: Domenica 17 ottobre 2010, 02:58 > > gcc -static doesn't seem to be working any more using gcc > > 4.3.4: > > > > $ cat test.c > > int main(void) {} > > $ gcc test.c -o test -static > > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../.

R: -static not working with gcc 4.3.4

2010-10-17 Thread Marco Atzeri
--- Dom 17/10/10, Samuel Thibault ha scritto: > Data: Domenica 17 ottobre 2010, 02:58 > Hello, > > gcc -static doesn't seem to be working any more using gcc > 4.3.4: > > $ cat test.c > int main(void) {} > $ gcc test.c -o test -static > /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwi

-static not working with gcc 4.3.4

2010-10-16 Thread Samuel Thibault
Hello, gcc -static doesn't seem to be working any more using gcc 4.3.4: $ cat test.c int main(void) {} $ gcc test.c -o test -static /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot find -lgcc_s /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot