From: Psilon AT concentric DOT net (Avery Lee) Newsgroups: comp.lang.c++,comp.os.msdos.djgpp,rec.games.programmer Subject: Re: The numer 1 compiler, DJGPP or MSVC Here's a good rating comparision Date: Wed, 17 Sep 1997 18:49:03 GMT Organization: Concentric Internet Services Lines: 39 Message-ID: <34202599.478257@news.concentric.net> References: <3412BD25 DOT 1F30 AT mho DOT net> <5uuqci$15l AT sjx-ixn5 DOT ix DOT netcom DOT com> <34131883 DOT 29A3 AT mho DOT net> <341714E9 DOT F6CC2E67 AT rpi DOT edu> <34184FB9 DOT 441D AT cam DOT org> <34185990 DOT 3DFA AT sensor DOT com> <34189915 DOT 79BB AT cam DOT org> <5vhpcs$sd$1 AT news DOT internetsat DOT com> <341cec0c DOT 0 AT 139 DOT 134 DOT 5 DOT 33> <01bcc1b3$ccb39840$2b40cbc2 AT russnt> <341e2691 DOT 0 AT 139 DOT 134 DOT 5 DOT 33> <341f8541 DOT 0 AT 139 DOT 134 DOT 5 DOT 33> NNTP-Posting-Host: ts004d13.cup-ca.concentric.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk qed AT chromatic DOT com (Paul Hsieh) wrote: >On 17 Sep 97 07:22:41 GMT, Herman Schoenfeld said: >> >: ... There are no MSVC compilers for them so any comment comparing >> >: GCC to MSVC is pretty much a waste of bandwidth. >> > >> >Wrong. Some of us can read assembly language files generated by >> >compilers. Some of us can link modules from "foreign" compilers that >> >don't natively target a particular environment. >> >> No, it's not "wrong". MSVC doesn't support linux. Why must you fill this >> newgroup with your lies? > >My understanding is that MSVC's object format is a well documented, >publically known format called "COM" which is not specifically tied to >the Windows operating system. What this means is that you can take code >compiled from C/C++ into .OBJ files, and if you've crafted your own >linker, you can splice them together for whatever OS you want on the x86 >so long as it supports 32 bit FLAT mode programming. COFF. My experience is that you can't really combine .OBJ files from different compilers because the compiler will generate calls to runtime library routines that require initialization during run-time startup. One of the most horrendous is floating-point divide code generated by MSVC++ 4.0, in which it checks a flag called __adjust_fdiv and calls a Pentium-FDIV-bug-bypassing divide routine if it's set. -- Avery Lee (Psilon AT concentric DOT net) Try my freeware junk at http://www.concentric.net/~Psilon (pages revised 8/6/97 - all programs include source) * VGAPaint 386 V1.3/1.4b4: 32-bit paint program * VETools 1.21: 2:1 compression for Watcom executables * IPXfer5 1.6a: easy file transfers over networks at 450k/s * Playwav 1.2: PC speaker sound for older computers * Stellaryx/PC 1.1: Shoot-em-up from the Amiga, ported to the PC * LMPStat 1.0: Pages of statistics for DOOM ][ .LMP files