Re: cygnus win32 cross-compiler

1997-02-26 Thread John Goerzen
Hmm, worked for me.  I think I found the DLL sitting around in
/usr/lib/win32 or something.  (Poke in the /var/lib/dpkg/info/win32*list
files to find it.)

On Sun, 9 Feb 1997, Douglas L Stewart wrote:

 I'm trying to get a hello world program running on a Win95 box.  I have
 the following packages:
 
 bash$ dpkg -l | grep win32
 ii  win32binutils   2.6.cygnus.960 Compilation Utilities for the Win32 
 Cross-Co
 ii  win32gcc2.7.2.cygnus.9 GCC Configured as Win32 Cross-Compiler
 ii  win32libs   0.0.14-1   Win32 Cross-Compiler Libraries
 
 Unfortunately, there doesn't seem to be any documentation that comes with
 these packages.  I tried compiling a test program.
 
 #include stdio.h
 
 void main()
 {
 printf(Hello World!\n);
 }
 
 I compiled it like this:
 
 i386-unknown-cygwin32-gcc hello.c -o hello.exe
 
 I tried running it on the Win95 machine and it said it needed CYGWIN.DLL.
 I searched around on the net and found a copy of it, but it said the
 program needed to be relinked.  
 
 Am I compiling this correctly?  Where should I get the correct version of
 the CYGWIN.DLL?
 
 Douglas L Stewart
 [EMAIL PROTECTED]
 
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]
 

John Goerzen  | Running Debian GNU/Linux (www.debian.org)
Custom Programming| 
[EMAIL PROTECTED] | 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]


Re: cygnus win32 cross-compiler

1997-02-26 Thread Gerhard Wesp
 A propos, has somebody successfully compiled any networking code with
win32gcc? I tried it using mywinsock.h, but the compiler choked on
parse errors in this file. Should I use the include files provided
by win32gcc or should I use those from Micro$oft, e.g. from their
Visual (or was that Virtual) C compiler?

-Gerhard

In article [EMAIL PROTECTED],
John Goerzen  [EMAIL PROTECTED] wrote:
Hmm, worked for me.  I think I found the DLL sitting around in
/usr/lib/win32 or something.  (Poke in the /var/lib/dpkg/info/win32*list
files to find it.)
[...]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]