#G++ gurus on first try
4 messages in this thread
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?
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
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"; }
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