C (108/257)

From:
Date:10 Feb 2001 at 12:54:19
Subject:Help with gcc

Hi,

I don't know if this is the correct place to ask this but here goes anyway :

I'm currently improving my knowledge of C++ by studying a very modern book on the
subject. It assumes that you have access to gcc or equivalent. Beacuse of this
as I have StormC3 which does not support all the modern features of C++ and
based on all the problems reported I am not inclined to upgrade to StormGCC4,
I have downloaded the latest gcc from Aminet.
As up to now I have used only Borland C++ on the PC and StormC3 on the Amiga,
I have no idea how to use a command line compiler. Gcc comes with massive amounts
of documentation which I don't have time to read and don't really understand.

What are makefiles and how do I use them?
Can someone give me a few examples of how to compile and link a program
(For example, I have source files Test1.cpp, Test2.cpp & Test.h)?

Where do I need to put the system includes so gcc can find them (they're currently in
StormC3's "Include" directory)?

Finally, I've been trying to invoke g++ and make to find out how they work
but each time I do I get 01000005 GURU's which are 'Corrupt memory list in FreeMem(). Why?

Thanks,

Donald

------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/981806065/
---------------------------------------------------------------------_->