www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/02/19/15:43:22

Date: Wed, 19 Feb 1997 13:25:20 -0700 (MST)
From: David May <dmay AT tvi DOT cc DOT nm DOT us>
To: Andy Eskilsson <x-aes AT telelogic DOT se>
cc: djgpp AT delorie DOT com
Subject: Re: Detecting djgpp before compiling.
In-Reply-To: <ksu3n9kv8y.fsf@telelogic.se>
Message-ID: <Pine.SOL.3.95.970219132151.26685A-100000@curie.tvi.cc.nm.us>
MIME-Version: 1.0



On 19 Feb 1997, Andy Eskilsson wrote:

> I am messing around with bash and configure, porting python (check it
> out! http://www.python.org) to msdos.. 
>

python has been ported to DJGPP.  I've got the patches that have to be
applied to make it (which I will be happy to send to you - I don't
remember where I got them from - saw an announcement on this list,
actually, so you should be able to search for them using "python").
 
> Well one of the brick walls I banged my head to is stat, unfortunetaly
> python doesn't use the constants defined in stat.h, but defines them
> itself after 'de facto standard definitions' for example.. 
> 
> 		Python(UNIX)	djgpp
> S_IFDIR		0x4000		0x3000
> 
> (And no, I can't get python to use the constants in stat.h) Well one
> solution to this problem would be to detect that I am using djgpp in
> configure, either I compile somehing like #ifdef __djgpp__ retun 1
> #else return 0, or well is there any other solution?
> 
> 	/Andy
> 
David May
ID Card Adminstrator
Albuquerque TVI


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019