home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / programm / 19013 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.8 KB  |  45 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!mcsun!news.funet.fi!cs.joensuu.fi!jrauti
  3. From: jrauti@cs.joensuu.fi (Juhani Rautiainen)
  4. Subject: Re: G++ HELP **PLEASE!!**
  5. Message-ID: <1993Jan21.094913.2288@cs.joensuu.fi>
  6. Organization: University of Joensuu
  7. References: <1993Jan20.140411.2941@dct.ac.uk>
  8. Date: Thu, 21 Jan 1993 09:49:13 GMT
  9. Lines: 34
  10.  
  11. mcscs1wji@dct.ac.uk (Bil Irving) writes:
  12.  
  13. >I'm having big probs with the C++ part of GNU 2.3.3.. rather like
  14. >someone else in this newsgroup.
  15.  
  16. >The C compiler works great, but if I try and write a simple "hello
  17. >world" type program (copied straight out of a C++ teaching book), then
  18. >try and compile using a line like:
  19.  
  20. >     c++ -o hello hello.cxx
  21.  
  22. Try    gcc -o hello hello.C -lg++
  23. or     gcc -o hello hello.cc -lg++ 
  24.  
  25. and gcc uses automatically c++-compiler. Remember to add space after
  26. -lg++ if you are using OS 2.x shells
  27.  
  28. >Bil
  29. >-- 
  30. >-------------------------------------------------------------------------
  31. >|   Bil Irving                                 |  1 Demondale Place,    |
  32. >|   Internet:  mcscs1wji@dct.ac.uk             |  Arbroath,  Angus      |
  33. >|   Janet:     mcscs1wji@uk.ac.dct             |  SCOTLAND              |
  34. >|   FidoNet:   2:259/24.100                    |  Tel: +44(0)241-73472  |
  35. >|-----------------------------------------------------------------------|
  36. >!   Just because you're paranoid, doesn't mean they AREN'T after you..  !
  37. >------------------------------------------------------------------------- 
  38. Juhani
  39. --
  40. -- 
  41. *******************************************************************************
  42. Juhani Rautiainen     *   University of   * If you can't beat 'em, blow 'em up!
  43. jrauti@cs.joensuu.fi  *     Joensuu       *     -Dynamo Duck
  44. *******************************************************************************
  45.