Date: Sun, 15 Aug 1999 20:29:43 +0100 From: Peter Restall Message-Id: <199908151929.UAA00538@burdock.restall.net> To: djgpp AT delorie DOT com Subject: ELF and DLLs (again) Reply-To: djgpp AT delorie DOT com On Sun, 15 Aug 1999 11:52:34 +0300 (IDT), Eli wrote: >> Sorry, I should have been more clear. I meant that I'd have one source >> dump for Linux-based machines and one for DOS-based machines. I'd compile >> the DOS binary and the modules separately to the Linux ones. Like what >> Quake II did with its video code. > > Does this mean that you want a cross-compiler that runs on DOS and > produces binaries for Linux? No, just to be able to compile ELF object files with DJGPP. > If so, it should be possible, at least in principle. However, a much > easier way is to go the other way around: to cross-compile on Linux for > DOS. This has actually been done, and there are instructions and > toolkits that will help you to do that. I plan to setup a cross-compiler in Linux sometime (just haven't been bothered..it seems fiddly :) so that I can compile DJGPP binaries under Linux. I suppose that it'd be easier to setup the cross-compiler in Linux to compile DJGPP code *and* produce ELF binaries in one fell-swoop. Would I be better off doing this ? Cheers, Pete =:-) -- /*************** [burdock] ****************/ /* ____/| pete AT restall DOT net */ /* \ o.O| http://www.iirc.net/petes/ */ /* =(_)= */ /* U */ /******************************************/ /******************************* [Windoze 98] ********************************/ /* Windows 98: n. (Alex Satrapa). */ /* 64 bits (and pieces) of bugs (and fixes) and featuritis tacked on to 32 */ /* bit extensions and a graphical shell for a 16 bit patch to an 8 bit */ /* operating system originally coded for a 4 bit microprocessor, written */ /* by a 2 bit company that can't stand 1 bit of competition, and has not a */ /* bit of respect for their customers. */ /*****************************************************************************/