Mail Archives: djgpp/1997/10/09/20:06:53
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 -