home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!hamblin.math.byu.edu!yvax.byu.edu!cunyvm!psuvm!tew105
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: G++ HELP **PLEASE!!**
- Message-ID: <93023.113630TEW105@psuvm.psu.edu>
- From: <TEW105@psuvm.psu.edu>
- Date: Sat, 23 Jan 1993 11:36:30 EST
- References: <1993Jan20.140411.2941@dct.ac.uk>
- Organization: Penn State University
- Lines: 27
-
- In article <1993Jan20.140411.2941@dct.ac.uk>, mcscs1wji@dct.ac.uk (Bil Irving)
- says:
- >
- >I'm having big probs with the C++ part of GNU 2.3.3.. rather like
- >someone else in this newsgroup.
- >
- >The C compiler works great, but if I try and write a simple "hello
- >world" type program (copied straight out of a C++ teaching book), then
- >try and compile using a line like:
- >
- > c++ -o hello hello.cxx
- The problem comes from the ++ in the command. + is the amigados line
- continuation character, i.e. if you have a command that is going to run off the
- line you can enter + at the end of the line and when you press return the
- command will not be executed until you press enter again, allowing you to
- continue the command. So having two of them in the middle of your command
- really confused the os.
- Anyway, the solution if to use quotes around the name. Since I got sick
- of typing the quotes, I found it easiest to rename c++ to be cpp, note
- you will have to use quotes to do this, as follows:
- rename "c++" cpp
- Then you'll be all set.
- +L8R+ +Every time I try to pick it up its like
- HonuS internet: TEW105@psuvm.psu.edu|falling sands, as fast as I pick it up it
- +---+ bitnet: TEW105@psuvm |runs away through my clutching hands...
- Disclaimer: +-Look Ma, only 5 lines--+ -The Cure
- The big wigs at PSU wish they could come up with opinions as good as mine!
-