🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
2 messages
2 total messages Started by Ortwin Rose Mon, 05 Oct 1992 20:23
g++ and glibc
#311
Author: Ortwin Rose
Date: Mon, 05 Oct 1992 20:23
13 lines
978 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!

Any help appreciated!

Regards

-- O. Rose
   University of Karlsruhe
   Institute of Telematics
Re: g++ and glibc
#313
Author: bothner
Date: Tue, 06 Oct 1992 08:10
20 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads