From: | |
Date: | 12 Feb 2001 at 14:35:41 |
Subject: | Re: Help with gcc |
--- DonaldWM@stonelawdrive.freeserve.co.uk a �crit :
> Hi,
Hi too,
>
> 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,
Some year ago, i've been using Borland C++ 4.51 at
work but it doesn't understand most of C++ goodies
that is understood by GCC 2.7.0 :-(
> 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.
Only few options are usefull for a beginner or for an
average project :
-o the target
-W & -Wall turn on all warning
-I -L Specifying include & libraries directories
> 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)?
or with an old version of gcc
If Test1.cpp & Test2.cpp is in the same project, it
should be
> Where do I need to put the system includes so gcc
> can find them (they're currently in
> StormC3's "Include" directory)?
Amiga's specifics includes should be used with GCC
(remove storm's ones).
But for libraries, I duno because it get mine from
Geek Gadget V 10.
> 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?
Installation problem !! Is ixemul.library version is
ok for your GCC version ? Have you installed BinUtils
?
Bye
Laurent
=====
The misspelling master is on the Web.
_________
/ /(
/ Dico / / 100 % Dictionnary Free !
/________/ /
(#######( /
Quoi, des fautes d'orthographe! Pas possible ;-D.
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
------------------------ Yahoo! Groups Sponsor ---------------------~-~>
eGroups is now Yahoo! Groups
Click here for more details
http://click.egroups.com/1/11231/0/_/451227/_/981984942/
---------------------------------------------------------------------_->