RE: [ILUG] compiling windows programs on linux

From: Guest, Ken (kengu at domain credo.ie)
Date: Wed 19 Jul 2000 - 14:39:07 IST


#-----Original Message-----
#From: John P. Looney (Kate) [mailto:jplooney-ilug at domain online.ie]
#Sent: Wednesday, July 19, 2000 14:23
#To: ilug at domain linux.ie
#Subject: Re: [ILUG] compiling windows programs on linux
#
#
#On Wed, Jul 19, 2000 at 02:18:32PM +0100, Philip Reynolds mentioned:
#> John P. Looney (Kate)'s [jplooney-ilug at domain online.ie] 17 lines
#of dribble included:
#> :>On Mon, Jul 17, 2000 at 07:06:48PM +0100, Noel Carroll mentioned:
#> :>> Does that require WINE? Haven't seen the url but
#sounds good. I'd be wary
#> :>> of the fucked up nature of dll's though.
#> :>
#> :> No, it's just a version of GCC that outputs a.exe instead
#of a.out files
#> :>;)
#>
#> You can recompile GCC to output windows executable anyways
#can't you?
#> Phil.
#
# 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 ?

Yep. There are different versions of stdlib.h, that said I'm comparing
stdlib.h from
Visual C++ 1.52 against that from Visual C++ 5.0.

header from 5.0 version:

/***
*stdlib.h - declarations/definitions for commonly used library functions
*
* Copyright (c) 1985-1997, Microsoft Corporation. All rights reserved.
*
*Purpose:
* This include file contains the function declarations for commonly
* used library functions which either don't fit somewhere else, or,
* cannot be declared in the normal place for other reasons.
* [ANSI]
*
* [Public]
*
****/

header from 1.52 version:
/***
*stdlib.h - declarations/definitions for commonly used library functions
*
* Copyright (c) 1985-1992, Microsoft Corporation. All rights reserved.
*
*Purpose:
* This include file contains the function declarations for
* commonly used library functions which either don't fit somewhere
* else, or, like toupper/tolower, can't be declared in the normal
* place for other reasons.
* [ANSI]
*
****/

Ken



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