Re: [ILUG] compiling windows programs on linux

From: Philip Reynolds (phil at domain redbrick.dcu.ie)
Date: Wed 19 Jul 2000 - 14:37:53 IST


John P. Looney (Kate)'s [jplooney-ilug at domain online.ie] 31 lines of dribble included:
:> Yes - that's how I'm getting GCC to make an a.exe (said windows
:>executable), but that's not that easy either. I've gotten the GCC with
:>MingW32 changes, but damned if I can get it to compile. I had a few
:>problems with stuff like headers in dos format (macros break), and now it
:>can't find stuff like "stdlib.h" and the like.
:>
:> Anyone know if I'm supposed to have separate versions of those for the MS
:>Windows OS ?

Not in my experience. You sure you have the lib directories set properly?
Try copying them to the cwd and using ""'s instead of <>'s to see if that's ur
problem. There's some environment variable you have to set or use gcc -L.

It doesn't sound like you need new headers, or else it'd barf up errors instead
of saying it can't find them.
Phil.



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:55 GMT