Minimal DJGPP
Tobler

Hi folks, :D
i was wondering if could exists a minimal version of the DJGPP compiler; i see that it groups a lot of .zip packages, about six for the basic version. So what are the most useful files for compiling with Allegro? What happen if I use, for example, only gcc.exe and make.exe? ::)
I'm a minimal freaker, sorry for my odd habit ;)

A J

Tobler, get over it. what do you think you are achieving by this fetish ?

Use the zip picker.

miran

What is the reason you want to use DJGPP? If you want to make games that run on Windows, you should use MinGW, because DJGPP is for DOS.

Tobler

Ehehe I know I'm fetish ;D

I'm a beginner in game programming and I want to start in dos, avoiding windows management and other visual things; surely mingGW will be my next step.

In any case... what happens if I use only the .exe compiler? There are other linked programs hidden in the dirs (bin, lib, etc)? That's the point.
Then I'll have a shower :-X:-X

miran
Quote:

I'm a beginner in game programming and I want to start in dos, avoiding windows management and other visual things; surely mingGW will be my next step.

MinGW is the exact same thing as DJGPP except that it produces exe files that run in Windows. DJGPP produces exe files that DO NOT run in Windows XP but only in DOS.

Krzysztof Kluczek
Quote:

I'm a beginner in game programming and I want to start in dos, avoiding windows management and other visual things;

Allegro does this for you. You can use Allegro with Windows as easily as with DOS. :)

Quote:

In any case... what happens if I use only the .exe compiler? There are other linked programs hidden in the dirs (bin, lib, etc)?

AFAIK gcc.exe is just a program that invokes other programs (compilers, preprocessors, linkers, etc), which sit in "bin" directory. "lib" directory contains libraries, including standard library with all standard functions (math, text routines, file operations, etc). "include" directory contains files you can include (like <stdio.h>) that describe functions in libraries. To sum it up, they all are important. :)

Tobler

Thanx a lot guys!

Quote:

DJGPP produces exe files that DO NOT run in Windows XP but only in DOS.

I didn't know that :o

Quote:

gcc.exe is just a program that invokes other programs

and this too.

OT: Krzysztof, soon I'll come to Poland ;D

Arthur Kalliokoski

About DJGPP

Get the README.1ST & the faq file from dj site. Some of that stuff is old too, it still says that physical mem is restricted to 256Mb, but the latest couple versions of djgpp can see all of my gigabyte.

Also, the file handling stuff that has to talk to DOS has to move it from your data segment to the (16k by default) transfer buffer, then get dos to read/write that, same for swap, so file stuff is really slow. I remember trying to mess with huge texture files with Allegro & Djgpp that were bigger than my physical memory, after 45 minutes it still had'nt finished loading the source file, but in Winduhs or Linux, allegro loaded it up and finished the whole program in 3 minutes.

Also, you don't have any hardware acceleration in dos, except the SciTech thing, which is pretty much abandoned in obsolete vidcard land.

About being a minimalist, I got a 200Gb hard drive from Staples computer store a month ago for $70 US. If you were to install DOS on it and type in ASCII files with the EDIT thing, and you could type 35 words per minute, it'd take you 30-50 lifetimes to fill it up even if you sat there 24/7, no breaks for Christmas, eating, sleeping or anything.

Michael Faerber
Quote:

About being a minimalist, I got a 200Gb hard drive from Staples computer store a month ago for $70 US. If you were to install DOS on it and type in ASCII files with the EDIT thing, and you could type 35 words per minute, it'd take you 30-50 lifetimes to fill it up even if you sat there 24/7, no breaks for Christmas, eating, sleeping or anything.

Why sitting so long? Put a stone onto the keyboard! ;)

Thread #586488. Printed from Allegro.cc