home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!usc!howland.reston.ans.net!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!csus.edu!netcom.com!aclark
- From: aclark@netcom.com (Al Clark)
- Subject: Re: Pt 1/2: linux 0.98 c++ st
- Message-ID: <1993Jan24.144842.14559@netcom.com>
- Keywords: g++, cout
- Organization: Self
- References: <727676295.AA34613@remote.halcyon.com> <1jtsv0INNfvo@escargot.xx.rmit.OZ.AU>
- Date: Sun, 24 Jan 1993 14:48:42 GMT
- Lines: 48
-
- In article <1jtsv0INNfvo@escargot.xx.rmit.OZ.AU> rcopg@minyos.xx.rmit.OZ.AU (Paul Gortmaker) writes:
- >Paul.Caffrey@f15.n229.z1.fidonet.org (Paul Caffrey) writes:
- >
- [ stuff deleted ]
- >
- >>I can't get the c++ stream io implementation of the 0.98 linux SLS
- >>distribution
- >>working.
- >
- [ program deleted ]
- >>fails to compile (g++ cout.c) with the following message:
- >
- >>cout.o: Undefined symbol _cout referenced from text segment
- [ stuff deleted ]
- >>Can anyone explain why this happens? All other c++ appear to be
- >>working.
- >>ps while I'm on is there a "dissambler" program for linux?
- >>Paul
- >>email pac30@amail.amdahl.com
- [ stuff deleted ]
- >
- > This is not really a question for the Linux newsgroup, but rather for
- >the GCC newsgroup.
- It bugs ME when people make blithe assumptions like this. It IS a
- problem unique to Linux, specifically to gcc2.3.3 version of g++
- under linux. I had been using g++ successfully under gcc2.2.2d,
- and found this problem when I upgraded to 2.3.3. You give the
- solution below (use -static or -nojump flags). I was looking
- through the documentation, assuming I'd overlooked something, but
- this posting saved me a whole bunch of time.
-
- [other stuff deleted ]
- >
- > I assume you are still using GCC v2.2.2d (type gcc -v) if you are
- >running 0.98 (p6 ???). This is a note from H.J. with the release of the
- >new libraries (for 2.3.3) which may also be pertinent.
- >
- > "Iostream is in libc.a To use it, you have to use -nojump or
- > -static in your LDFLAGS"
- >
- >(Upshot of this is to use "-lc" --- other options only pertinent to 2.3.3, I
- >think !!!)
- >
- > Paul.
-
- Really appreciate the information.
- --
- Al - aclark@netcom.com - My opinions are my own.
-