Mail Archives: djgpp/1996/08/07/08:46:57
Tim Olmstead (timolmst AT cyberramp DOT net) wrote:
> Hi!
> 1. Can GO32 load a program (compiled with GCC) that is larger than
> 640k? If GO32 switches into protected mode before it loads the
> program, I can see this working.
Of course it can. That's among the most important reasons why DJGPP was
made in the first place: no more silly 64K and 640K barriers on a machine
that can easily handle a dozen megabytes. Have a look at cc1.exe, the
'real' c compiling sub-program of DJGPP: it's about one megabyte, and
it works like a breeze.
> 2. How can I get GCC to link a VERRY large program when the DOS
> command line won't hold all the library names? Can it read a list of
> names from a file? Sjould I rebuild the various libraries into just
> one library so I have room on the command line for its' name?
Well, that would not be the silliest option (libraries are designed to
reduce the number of necessary command line arguments, in a way: just
-lgrx instead of some 200 *.o files to be given), but it's probably
easier to
{
0.1) dump the go32.exe and all the rest of DJGPP V1.*
0.12) get DJGPP V2
}
1) use Make (it can pass arbitrarily long command lines to gcc)
Hans-Bernhard Broeker (Aachen, Germany)
- Raw text -