🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #926

Re: libg++2.2, glibc1.05, gcc2.2.2 cross development glitches

#926
From: bothner
Date: Wed, 14 Oct 1992 11:06
19 lines
1205 bytes
> I had to dummy up a nm that gen-params would find
> that was the right nm; there should be some mechanism so that I
> can override nm when I invoke make (viz, ``gmake NM=nm68k'', say).

Well, there is, sort of:

	CONFIG_NM=my_nm make

> 5) The defintion of `socket', `listen', `socketpair'
> and other functions differs between the two libraries ...

If glibc header files include the necessary 'extern "C"'
declaration, you can kludge up libg++/configure.in to
not use the files in libg++/g++-include at all.
Look for: HAVE_CPLUS_EXTERN = 1

If you don't have 'extern "C"'in the header, hopefully gcc-2.3 will
come with a script that generates these for you.
	--Per
Technical Details
Message-ID: <9210150106.AA09252@rtl.cygnus.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!bothner
References: <9210142354.AA15152@tera.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!ogicse!uwm.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cygnus.com!bothner
From: bothner@cygnus.com
Newsgroups: gnu.utils.bug
Subject: Re: libg++2.2, glibc1.05, gcc2.2.2 cross development glitches
Message-ID: <9210150106.AA09252@rtl.cygnus.com>
Date: 14 Oct 92 11:06:44 GMT
Article-I.D.: rtl.9210150106.AA09252
References: <9210142354.AA15152@tera.com>
Sender: gnulists@ai.mit.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 19
Approved: bug-gnu-utils@prep.ai.mit.edu