hi hackers! i'm in progress in writing a c++ program utilizing bsd.prog.mk
i wondered why my programs won't link correctly when i don't add a line LDFLAGS=-lstdc++ no i was trying out gcc30 (whoa, slow!) and it didn't want to link with or without the above line. it seems c++ programs need to be linked via g++ (or c++). after delting the above line and inserting a CC=${CXX} everything works fine, but that's not nice, of course. is there any specific reason why linking is done with ${CC}? there should be a way to tell that one needs ${CXX} for linkage. cheerz simon -- /"\ http://corecode.ath.cx/ \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News
msg33181/pgp00000.pgp
Description: PGP signature