- To: Vaugha Brewchuk <vaugha_brewchuk@xxxxxxxx>
- Subject: Re: How do I add missing stdc functions to libstdc++-v3?
- From: Jonathan Wakely <jwakely.gcc@xxxxxxxxx>
- Date: Tue, 6 Mar 2012 20:34:20 +0000
- Authentication-results: mr.google.com; spf=pass (google.com: domain of jwakely.gcc@xxxxxxxxx designates 10.112.23.66 as permitted sender) smtp.mail=jwakely.gcc@xxxxxxxxx; dkim=pass header.i=jwakely.gcc@xxxxxxxxx
- Cc: gcc-help@xxxxxxxxxxx
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=gcc.gnu.org; s=default; x=1331670884; h=Comment: DomainKey-Signature:Received:Received:Received:Received: Received-SPF:Received:MIME-Version:Received:Received:In-Reply-To: References:Date:Message-ID:Subject:From:To:Cc:Content-Type: Content-Transfer-Encoding:Mailing-List:Precedence:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:Sender: Delivered-To; bh=XgmH7m1PlnBZKDIHCMIVvLj0c0s=; b=KjgmrKjErbHYNjv JIrB5459LT5/dPfL5vZKSaUM2yfS4pDbxkjJoN0ubL+LF5quNkL427f0KEKSOx5u XZvoHG8eODcK4SKRctALf+NY9Mld1Kb+X9zuCTvUiP6WQvp5g/ZfNkPUDPS7la6A 3+3pCAwQx9Y++8ZDbI6bx3wnUCq0=
- In-reply-to: <BA018510-2415-404B-B85E-CB514EE46CA1@yahoo.ca>
On 6 March 2012 20:04, Vaugha Brewchuk wrote:
> I recently spent a considerable amount of time porting gcc-3.2.3 to NEXTSTEP 3.3 on m68k NeXT hardware. With some tweaks I was able to finish all three stages of c, objc, c++ and f77 and all the binaries successfully compare. I do, however, have a problem with correctly configuring libstdc++ and consequently c++ binaries do not link. I spent some time reading through the gcc, collect2 and libstdc++ documentation, but so far I was not able to find an obvious solution. Below are the error messages that I receive when compiling abi_check.cc:
> /bin/ld: Undefined symbols:
> access(char const*, int)
> strxfrm(char*, char const*, unsigned long)
> write(int, void const*, unsigned long)
How are you compiling abi_check.cc? By running 'make check' or some other way?
strdup and write are not part of libstdc++, so if they're not being
found then something is going wrong.
[Linux C Programming]
[The DWARVES Debugging Tools]