delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/09/20:06:53

Date: Thu, 9 Oct 1997 17:04:26 -0700 (PDT)
Message-Id: <199710100004.RAA14940@adit.ap.net>
Mime-Version: 1.0
To: gautam AT interlog DOT com (Gautam N. Lad), djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: DJGPP+Allegro: Porting from DOS to Linux. Easy or Hard!?!

At 11:06  10/7/1997 GMT, Gautam N. Lad wrote:
>Hi,
>   Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk> wrote:
>>Gautam N. Lad writes:
>>>If I make a program (rather big; it's a graphical 3D modeller) using 
>>>DJGPP and Allegro, could I re-compile the program on Liunx, assuming I 
>>>had a Linux port of DJGPP and Allegro 
>>
>>Absolutely. If you use only the standard ANSI C functions, or routines
>>from a library which exists on both platforms, your program will port
>>without any trouble.
>
>>>(do those port exist?) 
>>
>>Here comes the stumbling block :-) The native linux compiler is gcc, so
>>that is no problem, but there is no Linux version of Allegro. It is
>>being worked on, but is many months (minimum) away from completion...
>
>Well, that's no problem. Atleast I'm happy to hear that the port won't cause 
>lotsa troubles.  As for the Linux port of Allegro, well I can wait.  I just
started 
>my modeller, and it'll be months before I release the DOS version (alpha,
beta, or 
>final thing).  My goal for releasing this modeller is January 1, 1998, but
it may 
>take longer.
>
>BTW, All this DPMI stuff DJGPP is associated with won't cause problems 
>like with memory and stuff, when doing a Linux port of my modeller right.  I'm 
>not making any hardware calls ; just using C/C++ and Allegro's functions.
No. DJGPP is a C/C++ compiler, and can compile portably written C/C++. The
DPMI is an implementation detail, and has no effect on the language interface.


Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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