CompuServe Thread

#G++ gurus on first try

4 messages in this thread
#45302From: Brian Simmons/COJan 22, 1995 4:15 PM
I downloaded the GNU c/c++ compiler (off the net – merlin.etsu.edu – didn't know you had it here) and unpacked it. I don't have the C= developer package, so I wrote a small hello world program in c and c++. In C++ I got GURU. Is there more stuff I need? I could upload the program an alert (didn't write it down) if you think its needed?
#45307From: Peter WadeJan 22, 1995 5:52 PM
I haven't much experience of the GNU C/C++ compiler, but everyone says it needs a lot of memory and a large stack. Make sure you set your stack size high, a few hundred K should be OK, before trying to compile anything. Peter Wade Autopiloting from London, England
#45308From: Brian Simmons/COJan 22, 1995 7:50 PM
In the docs it says the compiler and programs set their own stack size. I have a A2000/GVP 030 50Mhz, 8 megs memory. 700 meg disk. I downloaded all of the files listed in your library (the 020 versions) , decompressed them according the the instructions in the readme file, and tried the hello world program and a program from a book: #include<iostream> class myclass { public: int a; } main() { myclass obj1,obj2; obj1.a=10;obj2.a=99; cout << obj1.a << "\n"; cout << obj2.a << "\n"; }
#45344From: Peter WadeJan 24, 1995 4:49 PM
I think you need a GNU expert here. I am going to try and setup GNU C/C++ but I haven't got very far yet. I was running it direct from the Fresh Fish 7 CD but my SX1 has stopped working, and I only got as far as C compilation. I am going to try and install it on my A500+/CSA Derringer setup although I will be working from the Aminet CD, I don't fancy downloading all of that stuff at Compuserve rates. One other thing to check is that some versions of the ixemul library need a co-processor (don't ask me why). I wouldn't have thought a C++ compilation would use any floating point but check the docs. Peter Wade Autopiloting from London, England