home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!purdue!yuma!csn!tpsrd!tplrd!paulg
- From: paulg@tplrd.tpl.oz.au (Paul Gittings)
- Subject: Re: found g++ in gcc, but can`t seem to co
- Message-ID: <1992Nov17.120844.17810@tpl68k0.tplrd.tpl.oz.au>
- Originator: paulg@sydrd19
- Lines: 29
- Nntp-Posting-Host: sydrd19
- Organization: Telectronics Pacing Systems
- References: <1992Nov14.082116.254@bernina.ethz.ch> <1992Nov16.070023.20559@eua.ericsson.se>
- Date: Tue, 17 Nov 92 01:02:31 GMT
-
-
- In article <1992Nov16.070023.20559@eua.ericsson.se>, etxpihl@eua.ericsson.se (Tomas Pihl) writes:
- [ STUFF DELETED]
- >
- > I had the same problem. I've tried to specify -lg++, but it didn't work. I turned
- > on verbose mode (-v) and saw that -lg++ now suddenly was -lg ?!. So, I renamed
- > libg++.a to libg.a and everything work just fine. Don't ask me how g++ could end
- > up as just g...
-
- The reason is simple cli uses "+" as a continuation character and strips it
- off. In the arexx drivers for gcc are a couple of "bugs" so that the
- g++ dirver calls the gcc dirver with a command line ending in -lg++, of
- course the gcc driver only gets -lg+, the arexx gcc driver in turn
- calls the gcc executable with a line which know ends in -lg+ and again
- another + gets stripped off and gcc only gets -lg. Simple!
- The solution is to add " " to the calls to the end of the line which
- calls the gcc dirver and the line which calls the gcc executable.
-
- Cheers,
- Paul Gittings
- Telectronics Pacing Systems- 7 Sirius Rd, Lane Cove, NSW 2066, Australia
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- _ | paulg@tplrd.tpl.oz.au OR paulg@tps.com
- _ // Amiga users | 61-2-4136963 (voice: work)----------------------------
- \X/ make it happen| 61-2-4136868 (fax) |A Welsh/Canadian/Australian
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- No matter how much I beg, Telectronics will not allow me to express any
- opinions on its behalf.
-
-