delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/12/15:14:44

Message-Id: <m0wQurU-000S1sC@natacha.inti.edu.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT edu DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
Organization: INTI
To: "J. Ellis" <cellis AT voyageur DOT ca>, djgpp AT delorie DOT com
Date: Mon, 12 May 1997 16:27:54 +0000
MIME-Version: 1.0
Subject: Re: Allegro

"J. Ellis" <cellis AT voyageur DOT ca> wrote:

> I just set up Allegro on my system, and now I have a question:  Can I go
> ahead and delete the directory (and files) that I unzipped allegro into? 
> The liballeg.a file was copied into my DJGPP dir, but does the lib
> recquire any files from the allegro dir (you can tell I'm a newbie;-)?
The headers (.h) are needed. The examples will help you, but aren't needed. The 
tools as your name says are usefull too.

> Also, I'm starting to get sort of confused about this 32-bit stuff.  I
> read that DJGPP produced great 32-bit executables, but it sucks with
> 16-bit exe's.  
What?!

> I thought that DJGPP could ONLY produce 32-bit code!! 
> Was I misinformed?  
DJGPP produces ONLY 32 bits code. Your .EXE files generated by DJGPP will have 
a 2Kb loader (part of it is a 16 bits application) and the 32 bits code 
attached.

> Also, when everyone says that DJGPP's 32-bit exe's
> are great, does that mean just great in 32-bit OS's (unix, winNT, etc.)?
DJGPP uses DPMI services to exploid the 32 bits facilties even in DOS. 

> Or are they also very fast under DOS with CWSDPMI??  
The programs are a little FASTER in DOS. In comparisson with OS/2 and Win. Unix 
doesn't apply for it because DJGPP is for DOS, don't confuse GCC with DJGPP 
even when DJGPP uses GCC.

> The reason I ask is
> this:  I own Turbo C++ v3.0, and unless DJGPP is quite a bit faster
> under DOS, I will opt for TC's ease of use.  
DJGPP is equal or even more easy to use than TC++ 3.0, check RHIDE.
The EXEs are much more faster, that isn't true if your application only access 
to disk all the time and makes no computations.

> I wish that someone could
> just post some benchmarks under various operating systems to comapare
> DJGPP with commercial compilers.  
Is hard to compare, some people said that DJGPP code is faster than Watcom code, other 
the reverse, but all says is faster than the last Borlandc. I have BC++ 3.1, 
DJGPP generates much better code.

> Anyway, that's about it.  Thank-you
> all for your help, and all the help you've given me in the past:-)
> 
> Jordan Ellis   <cellis AT voyageur DOT ca>

SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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