home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!malgudi.oar.net!hyperion!desire.wright.edu!fheitkamp
- From: fheitkamp@desire.wright.edu
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Help with GCC and G++
- Message-ID: <1992Dec20.100431.6300@desire.wright.edu>
- Date: 20 Dec 92 10:04:31 EST
- References: <1992Dec18.131626.834@fwi.uva.nl> <1992Dec19.152246.6286@desire.wright.edu>
- Organization: Wright State University
- Lines: 39
-
- In article <1992Dec19.152246.6286@desire.wright.edu>, fheitkamp@desire.wright.edu writes:
- > In article <1992Dec18.131626.834@fwi.uva.nl>, solorzan@fwi.uva.nl (Valik Solorzano (I88)) writes:
- >> Hai everyone,
- >> I'm having problems trying to compile a C++ program with gcc on my Amiga.
- >> Every time I try I get a lot of errors, and the same program I did compile
- >> on a Sun Workstation with gcc any I din't get any errors.
- >>
- >> Is this because I'm not using the C++ version of gcc or what. Because when
- >> I try to use g++ on my Amiga I get the message 'g++ not executable'.
- >>
- >> Could someone tell me what i'm doing wrong.
- >> I use the gcc port for the Amiga, version 2.2.2.
- >
- > You need to make sure your program has a .cc extension otherwise
- > gcc thinks it's a C program instead of C++. I have gotton a C++
- > program to compile using the above suggestion and the following
- > command line: gcc [filename].cc -lg++ -o [filename]
- >
- > I'm still getting an Error message: undefined symbol
- > ___new_handler referenced from text segment.
- >
- > Does anyone know this one?
-
- I can answer my own question: You need the gcc222-fix1.lha patch.
- I applied this to the gcc: and now it works! (I only compiled a
- small program though, but hey...)
-
- >
- >>
- >> Thanks to all
- >>
- >> You can contact me at:
- >>
- >> solorzan@carol.fwi.uva.nl
- >>
- >> ------Valik----
- > Fred Heitkamp ** Not an organization **
- Me again
-
-