Article View: gnu.g++.lib.bug
Article #313Re: g++ and glibc
From: bothner
Date: Tue, 06 Oct 1992 08:10
Date: Tue, 06 Oct 1992 08:10
20 lines
1229 bytes
1229 bytes
> Has anybody managed to get a 'pure' GNU-based system (i.e. > using glibc-1.05 for all C-functions, and libg++-2.1 for > other stuff)? I've tried to combine both, but its really > a nasty thing, since both libs contain at least partially > the same functions with different prototypes! If the libc header files contan 'extern "C"' declarations as needed, you can hack libg++/configure.in so that the generated host_makefile_frag contains: HAVE_CPLUS_EXTERN = 1 WRAP_C_INCLUDES = That way, you won't use the include files in libg++/g++-include. In your C header files do *not* contain the needed 'extern "C"' declarations, you can use a shell-script to "fix" them. libg++-2.3 will hopefully have some support for this. --Per Bothner Cygnus Support bothner@cygnus.com
Technical Details
Message-ID:
<9210062210.AA03679@cygnus.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!bothnerReferences:
<ROSE.92Oct5162335@t524i5.telematik.informatik.uni-karlsruhe.de>Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!cygnus.com!bothner From: bothner@cygnus.com Subject: Re: g++ and glibc Message-ID: <9210062210.AA03679@cygnus.com> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet References: <ROSE.92Oct5162335@t524i5.telematik.informatik.uni-karlsruhe.de> Distribution: gnu Date: Tue, 6 Oct 1992 08:10:08 GMT Approved: bug-lib-g++@prep.ai.mit.edu Lines: 21