True Static Linking: working

2006-08-08 Thread Juul Vanderspek
I needed a statically linked version of busybox, without any dependence on a non- windows dll. Because I ran into more porting work than I wanted on MingW, and because my busybox configuration compiled almost out of the box on CygWin, I dug into winsup and modified it a little. For those interest

True Static Linking

2002-04-17 Thread David Starks-Browning
On Tuesday 16 Apr 02, Westley Weimer writes: > I am using gcc under cygwin and I would like to ship hello.exe to a friend > who does not have cygwin1.dll on his computer. > ... > (1) Is there a "-static" switch that statically links in cygwin1.dll? Read the FAQ entry "Can I build a Cygwin program

RE: True Static Linking

2002-04-16 Thread Robert Collins
> -Original Message- > From: Westley Weimer [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 17, 2002 1:50 PM > I am willing to have "hello.exe" be fairly large, but > shipping all of cygwin1.dll (700K) is not allowed. If this > were linux I would pull all of the .o files out of c

Re: True Static Linking

2002-04-16 Thread Sam Edge
> (1) Is there a "-static" switch that statically links in cygwin1.dll? > (2) If not, how else can I solve this problem? I'm fairly new to Cygwin but from what I've picked up there is no static version of the cygwin library available either binary or source. This is a deliberate policy to try t

True Static Linking

2002-04-16 Thread Westley Weimer
I am using gcc under cygwin and I would like to ship hello.exe to a friend who does not have cygwin1.dll on his computer. $ gcc -v Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs gcc version 2.95.3-5 (cygwin special) $ gcc hello.c -o hello.exe -st