GNU C compiler?
13 messages in this thread
Jim,
I haven't seen the compiler. I'm using Steve Anderson's ports of GNU
RCS and GNUMake however, and they are excellent.
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/
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.
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
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/
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
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/
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
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…)
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
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/
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
Mark,
If you need any assistance in your battle, I might know a thing
or two about it 8^)
–Doug