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
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
>>
>>
>
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
//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
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
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:
--- 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/../
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/../.
> 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
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/../../../.
--- 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
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
12 matches
Mail list logo