tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] Linker errors.


From: Karel Gardas
Subject: [Tinycc-devel] Linker errors.
Date: Fri, 22 Aug 2003 15:12:05 +0200 (CEST)

Hello,

I'm experimenting with tcc-0.9.19 as an Comeau C++ compiler C backend. The
main problem is that TCC refuse to link code, which is perfectly ok when
using gcc2.95.4. The error messages look:

thinkpad:/tmp$ como -o hello hello.o
/opt/dinkum_unabridged_library_4.02/lib/libcomo_native_standard.a: 'type 
identifier for std::exception' defined twice
/opt/dinkum_unabridged_library_4.02/lib/libcomo_native_standard.a: 'type 
identifier for std::bad_exception' defined twice
/opt/dinkum_unabridged_library_4.02/lib/libcomo_native_standard.a: 'type 
identifier for std::bad_alloc' defined twice
/opt/dinkum_unabridged_library_4.02/lib/libcomo_native_standard.a: 'type 
identifier for std::logic_error' defined twice
/opt/dinkum_unabridged_library_4.02/lib/libcomo_native_standard.a: 'type 
identifier for std::domain_error' defined twice
/opt/dinkum_unabridged_library_4.02/lib/libcomo_native_standard.a: 'type 
identifier for std::invalid_argument' defined twice
/opt/dinkum_unabridged_library_4.02/lib/libcomo_native_standard.a: 'type 
identifier for std::length_error' defined twice
/opt/dinkum_unabridged_library_4.02/lib/libcomo_native_standard.a: 'type 
identifier for std::out_of_range' defined twice
/opt/dinkum_unabridged_library_4.02/lib/libcomo_native_standard.a: 'type 
identifier for std::runtime_error' defined twice
/opt/dinkum_unabridged_library_4.02/lib/libcomo_native_standard.a: 'type 
identifier for std::overflow_error' defined twice
.....

BTW: hello.o is compiled by como/tcc. When I switch to gcc for linking
everything is ok and resulting binary runs well.

Any idea what's going wrong?

Thanks,

Karel
--
Karel Gardas                  address@hidden
ObjectSecurity Ltd.           http://www.objectsecurity.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]