www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/24/17:33:02

Reply-To: <arfa AT clara DOT net>
From: "Arthur" <arfa AT clara DOT net>
To: "DJGPP Mailing List" <djgpp AT delorie DOT com>,
"Renato F. Cantao" <cantao AT creta DOT ime DOT unicamp DOT br>
Subject: RE: your mail
Date: Thu, 24 Sep 1998 22:29:45 +0100
Message-ID: <000001bde802$73663a60$784e08c3@arthur>
MIME-Version: 1.0
Importance: Normal
In-Reply-To: <Pine.SOL.3.96.980924112837.914A-100000@creta.ime.unicamp.br>

> > On Thu, 24 Sep 1998, Renato F. Cantao wrote:
> >
> > > 	I'm new in the DJGPP business, but it seems to me that most of you
> > > work in game implementation (in fact, that's how I discovered DJGPP).
> >
> > I don't think that's true.
>
> Let me rephrase: it seemed to me that who works in games, uses DJGPP.

Since DJGPP doesn't handle Windows natively, most commercial games
programmers have moved on to Visual C++. Most 'amateur' Windows games
programmers have moved on to VC++/Cygnus32/Watcom32.

If you want to program games in DJGPP, and are using Allegro (at least in
part), then you could join the Allegro Games Programmers' mailing list.
Visit http://www.talula.demon.co.uk/allegro/

> > > In DJGPP I'm using only the -O3 switch.
> >
> > Actually, -O3 is not the best choice overall.  Try -O2 and see if it's
> > better.
> >
>
> I'll try it!

The -Ox flags are not the only optimisations you can try. You could see if
the following work:
-fstrength-reduce
-march=pentium
-mcpu=pentium
-mpentium

and there are loads of others too. Check out the GNU docs.

> > > 	1. How can obtain the FASTEST code compiling with DJGPP (the best
> > > optimizations options) ?
> >
> > Please donwload the DJGPP FAQ list (v2/faq211b.zip from the same place
> > you get DJGPP) and read section 14.2 there, then try using that
> advice.
> > I hope this will be a good beginning.  If it doesn't help enough, try
> > asking specific questions here.
>
> OK! I'll read it carefully. Thanks for the advice!

Please do. Half the questions we get on this newsgroup have the simple
answer "Read the FAQ!" or "RTFM". This is not a personal gripe, but I wish
some people would read the faq before asking questions on this group. I
don't know how many times I've written "gnu/gcc-2.81/problems.txt" :-(

> > > 	3. Sorry guys, but I have to use Win95. That's almost the ONLY
> > > available plataform in my university (sic...). Is it possible
> to link the
> > > *.o files produced with DJGPP in Win95 applications???
> >
> > No, you cannot mix object files from different compilers.  But I don't
> > understand why do you have to, since DJGPP programs will run on Windows
> > 9X as well (and support long file names, btw).
> >
> That's the point. It's very (VERY!) probable that my application should
> generate some graphic input/output and that MUST be Win95 ... The point
> is: I don't trust in Win95 (I begining with Linux), it's very unstable,
> but ... I'm alone here with my cruzade!

There is RSXNTDJ which allows Windows programming from within DJGPP. There
are also DirectX utilities you could obtain.

I don't remember the addresses offhand, but check out SET's links page. And
bookmark it. http://www.geocities.com/SiliconValley/Vista/6552/dlinks.html


Alternatives are the Windows compilers I mentioned above. DJ Delorie (the
administrator of DJGPP) is also working on Cygnus32 (I believe), so that
could be an option.

HTH

James Arthur
jaa AT arfa DOT clara DOT net
ICQ#15054819

- Raw text -


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