Article View: gnu.gcc.help
Article #42325Re: Confused over GNU, EMX+GCC, GCC2 etc.
From: Richard Bumby
Date: Tue, 12 Dec 1995 00:00
Date: Tue, 12 Dec 1995 00:00
52 lines
3201 bytes
3201 bytes
paul@dill.ee.byu.edu (Paul R. Hart) writes: >In article <371@townleyc.win-uk.net> townleyc@townleyc.win-uk.net (Chris Townley) writes: >> Having been playing around with OS/2 for some time, I got a copy >> earlier in the year, of a GCC2 environment (2.6.3 I think) which, despite >> a lack of accurate doc's, seems to work OK. I particularly like the >> quick PMIO routines for an easy route to producing simple PM apps. >I used it too, some time ago. >> However, I am missing various utilites, including a debugger etc, and I >> now cannot find any reference to GCC2. I have looked at the emx+gcc >> areas, but this seems not to be the same beast. >I used both EMX and GCC/2 for a little while, and they are different. >They're based on the same programming effort, however, which is the >GNU Project based at MIT in the United States. "gcc" is the GNU >Project's C compiler which has been ported to many architectures, >including OS/2. However, it's mainly intended for UNIX-like systems. >... The first version of gcc for OS/2 that I installed from the Hobbes CD was gcc2. Mention has been made that it lacks a debugger and other tools. However, it seems to be well documented, and it does have good tools for examining the libraries. I tried some number crunching programs that had compiled under the Borland compiler (MSWindows version), and had some difficulties. Since I have a 486DX, I had most variables declared as 'long double', but this was not supported by gcc2. After minor editing, I ran the compiler, but I must have been missing something: error messages were generated that I recall as claiming that there was an error connected with some symbol declared in one of the library routines. I have seen no other mention of this difficulty in this newsgroup (except for hints that the implementation was a little "buggy"), and I stopped using gcc2 after discovering the emx version. The few experiments I have tried with emx/gcc seem to have worked, but I have not had the time to do much nor the need to produce any new programs. Everything had text based I/O -- I haven't looked into PM programming. Comments in this newsgroup have not been clear whether the libraries provide complete support for PM programming. Commercial compilers offer me too little to justify their price, so I expect to rely on gcc (and REXX) for any programming needs. I have been browsing this group, and have seen some helpful comments, but I don't recall seeing a FAQ. -- R. T. Bumby ** Rutgers Math || Amer. Math. Monthly Problems Editor bumby@math.rutgers.edu || P.O. Box 10971 New Brunswick, NJ08906-0971 bumby@dimacs.rutgers.edu || Phone: [USA] 908 445 0277 * FAX 908 445 5530
Technical Details
Message-ID:
<4al1ht$qo5@dimacs.rutgers.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<371@townleyc.win-uk.net> <PAUL.95Dec12091853@dill.ee.byu.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,d3f19f6577efee54 X-Google-Attributes: gid11318c,public From: bumby@dimacs.rutgers.edu (Richard Bumby) Subject: Re: Confused over GNU, EMX+GCC, GCC2 etc. Date: 1995/12/12 Message-ID: <4al1ht$qo5@dimacs.rutgers.edu> X-Deja-AN: 121609995 references: <371@townleyc.win-uk.net> <PAUL.95Dec12091853@dill.ee.byu.edu> organization: Rutgers University newsgroups: gnu.gcc.help