home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 15948 < prev    next >
Encoding:
Text File  |  1992-11-17  |  2.0 KB  |  42 lines

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