Article View: comp.os.os2.programmer
Article #39Re: which one produce smaller executable: gcc2-222 or gcc-emx?
From: John Serafin
Date: Thu, 29 Oct 1992 03:35
Date: Thu, 29 Oct 1992 03:35
28 lines
1993 bytes
1993 bytes
ochealth@unixg.ubc.ca (ochealth) writes: >In article <BwIEpL.2p0@nic.umass.edu> s6883289@titan.ucc.umass.edu (Peter Hawkins) writes: >>so which compiler produce smaller, faster and less buggy programs? or they're >>about the same? is there a detailed report comparing the two compilers??? >Both compilers use GNU CC as the main compiler stuff in the package. >The raw code is identical. >Faster? same for both. However, EMX does floating point calls like sin, cos >etc in assembler. gcc/2 does them in C, gcc/2 is much slower in this area. It should be noted that the port of f2c for OS/2 on ftp-os2.nmsu.edu has a substitute C library for gcc/2 that solves the math speed problem. I am not advocating use of gcc/2 over gcc-emx, but I do hope that those who program in gcc/2 use the improved library. The speed difference is tremendous even if there is only a liitle floating point math in the application. Roger Fearick included f2c libraries for both compilers in his f2c port. >-- >______________________________________________________________________________ >jpm: ochealth@unixg.ubc.ca > Happily using OS/2 2.0 because MS Windows isNT ___ > Insert VapourFeature ^^^ -- John P. Serafin | Operating a bicycle is more like driving than riding. jps@netcom.com | Operating an automobile is more like riding than driving.
Technical Details
Message-ID:
<1992Oct29.033540.1819@netcom.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!network.ucsd.edu!sdd.hp.com!cs.utexas.edu!sun-barr!ames!decwrl!decwrl!netcomsv!netcom.com!jpsReferences:
<BwIEpL.2p0@nic.umass.edu> <1c742vINNn81@iskut.ucs.ubc.ca>Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!network.ucsd.edu!sdd.hp.com!cs.utexas.edu!sun-barr!ames!decwrl!decwrl!netcomsv!netcom.com!jps From: jps@netcom.com (John Serafin) Subject: Re: which one produce smaller executable: gcc2-222 or gcc-emx? Message-ID: <1992Oct29.033540.1819@netcom.com> Organization: Netcom - Online Communication Services (408 241-9760 guest) References: <BwIEpL.2p0@nic.umass.edu> <1c742vINNn81@iskut.ucs.ubc.ca> Date: Thu, 29 Oct 1992 03:35:40 GMT Lines: 28