Using g++ to compile hello?

Christian Stueble stueble at amaunet.cs.uni-dortmund.de
Sat Nov 20 03:07:22 CET 1999


Hi!

Is it possible to compile the test program ´hello´ using the
g++ compiler. I get an error message

1)
main.cpp:37: undefined reference to `__throw'
...if I link main.o and crt0.o with the ld linker, and

2)
crt0.o(.text+0x0): multiple definition of `_start'
/usr/lib/crt1.o(.text+0x0): first defined here
...if I try to link the files with g++ -o xxxx.

Can somebody help me?

Chris
-- 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 Christian Stueble............stueble at ls6.cs.uni-dortmund.de
 PubKey[BF7104F5].......fp=8678C5D3CAD9CD8C F1DDB8EC202F116A

 To be or not to be is true...   (apocrypha of George Boole)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-              



More information about the l4-hackers mailing list