CompuServe Thread

GNU C compiler?

13 messages in this thread
#32425From: Vic WagnerFeb 23, 1993 2:45 PM
Jim, I haven't seen the compiler. I'm using Steve Anderson's ports of GNU RCS and GNUMake however, and they are excellent.
#32450From: mark hinzFeb 24, 1993 12:08 AM
Jim, I have the GNU C compiler on the AB20 CD-ROM if your interested. Its rather large tho, probably around 2 floppies in compressed form including a U*IX-like library. It also seems to be set up for 2.0. I haven't tried it since I have SAS/C 6.0. There is also a GNU C++ frontend for the GNU_C compiler on the X11R5/GNU CD-ROM, actually there is a whole bunch of GNU stuff. If you really want it, I could compress it and some other stuff all togather and send it to you on floppies. // .Cruising on AutoPilot \X/
#32462From: Vic WagnerFeb 24, 1993 3:00 PM
Mark, Thanks for the offer, but I'm a (relatively) happy user of SAS 6.2. I use GNUmake because it's substantially more powerful. GNU C is not.
#32793From: Brian BartlettMar 6, 1993 6:44 PM
Jim, does your CD-ROM have ar and ranlib on it? They seem to be missing from the G++ archive that is here online. Without ar, you can't construct .a files at all. Brian ->on AutoPilot
#32837From: mark hinzMar 7, 1993 7:36 PM
Brian, I think this question was aimed at me about having ar and ranlib on my GNU CD-ROM. In the archives I have, ar is in the GNU C archive, while ranlib is part of the ixemlib9 archive. // .Cruising on AutoPilot \X/
#32849From: Brian BartlettMar 8, 1993 1:59 AM
Mark, hmmm….do you happen to know where I might find the GNU C archive? I downloaded the GPLUS.LHA file which has the manual file and the header, but no ar. I did a catalog and couldn't identify the plain GNU C file here. Thanks in advance. Brian ->on AutoPilot
#32887From: mark hinzMar 8, 1993 11:12 PM
Brian, I don't know where you could get it, I just happen to have it on the Walnut Creek AB20 Archive CD-ROM. I could upload it for you, I'll try to do it tonite yet. // .Cruising on AutoPilot \X/
#32924From: Brian BartlettMar 10, 1993 1:46 AM
Mark, all I need is the ar program itself, since the manual and headers are in the G++ package. I'd appreciate it if you'd mail it. Thanks in advance. Brian ->on AutoPilot
#33042From: Jim Shaffer Jr.Mar 13, 1993 2:52 PM
Mark, Just wanted to say I got the disks you sent me. Thanks! I've got it working if I use inline functions, but I can't get it to work with a copy of amiga.lib converted to libamiga.a. (Which I'd like to do, since I don't have enough memory to use the inline function includes unless I make my own include file with just the functions I need. What on Earth does the compiler do with all that memory, anyway? I like the speed of the code it generates, though…)
#33109From: Brian BartlettMar 15, 1993 12:38 AM
Mark, I downloaded the GCC1.LHA and GCC2.LHA and installed it. Ran into a few problems though, most of which I could fix. This last problem I'm having has me stumped though. I'm compiling this simple C++ program: //Hello.c – First program in C++ #include <stream.h> main() { cout << "C++ is an improved C." << "\n"; } with the following compiler invocation: gcc hello.c -lg++ -mshort and I get this back: t:1.o: Definition of symbol ___ls__FR7ostreams (multiply defined) gcc:lib/libg++.a(iostream.o): Definition of symbol ___ls__FR7ostreams (multiply defined) Do you, or anyone here, have any ideas on how to fix this? BTW, the same code did compile on the previous version that was in the libs here. Brian ->on AutoPilot
#33220From: mark hinzMar 18, 1993 12:29 AM
Brian I'm sorry but I have no idea how C++ works much less the GNU implementation. I didn't upload it and I don't use it, I'm still fighting with SAS/C // .Cruising on AutoPilot \X/
#33225From: Brian BartlettMar 18, 1993 3:41 AM
Mark, ah…okay. Thanks. I'll fight this battle and see what comes out of it. I wish you luck in your battle as well. Brian ->on AutoPilot
#33257From: Doug WalkerMar 18, 1993 7:13 PM
Mark, If you need any assistance in your battle, I might know a thing or two about it 8^) –Doug