From: Michael G. <mg...@te...> - 2005-03-21 19:20:52
|
> My answers: > Yes, I compiled like this: > gcc test.cpp -lalleg Use g++ test.cpp -lalleg and it should work. > But usually, all of my programs went just fine, let alone if I used new a= nd > delete, as I said. You sure ?!? Whenever I link c++ with gcc I get unresolved external references. Using g++ always cures that. > Where's the difference between g++ and gcc? Among other things the invoked linker. Not finding new/delete is one of the symptoms when compiling c++-Code with gcc instead of g++. Best, Michael =2D-=20 Vote against SPAM - see http://www.politik-digital.de/spam/ Michael Gerdau email: mg...@te... GPG-keys available on request or at public keyserver |