[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Woody: What's the proper name of the C++ lib?



Hi!

What's the right lib name to pass to the -l linker flag for compiling C++
progs on Debian 3.0 (Woody)? I tried to use "-lstdc++-libc6.2-2", but that
didn't work. Simply using "-lstdc++" leads to a very strange linker error 
(hope it's not really a linker bug, but only the wrong library name):

/usr/bin/ld: BFD 2.12.90.0.1 20020307 Debian/GNU Linux internal error,
aborting
at ../../bfd/elf32-i386.c line 1887 in elf_i386_relocate_section

/usr/bin/ld: Please report this bug.

collect2: ld returned 1 exit status

Thanks in advance for any help!

Greetings,

	Holger




Reply to: