Xref: news2.mv.net comp.os.msdos.djgpp:6697 From: broeker AT I_should_put_my_domain_in_etc_NNTP_INEWS_DOMAIN (Hans-Bernhard Broeker) Newsgroups: comp.os.msdos.djgpp Subject: Re: GO32, and GCC questions Date: 1 Aug 1996 11:14:17 GMT Organization: I need to put my ORGANIZATION here. Lines: 31 Message-ID: <4tq3i9$63d@news.rwth-aachen.de> References: <4to1e4$kgk AT newshost DOT cyberramp DOT net> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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)