c++ - Compiling using g++, yet still get undefined references to operator new -



c++ - Compiling using g++, yet still get undefined references to operator new -

i'm compiling using g++, yet when goes compile files in depend file that's in same directory makefile, a

undefined reference `operator new(unsigned int)'

thanks.

edit:

you're right.

how utilize g++ linker instead of ld in context of makefile. been searching couldn't figure out.

the tags of question suggest using ld linking. don’t that; utilize g++ instead. cause c++stdlib static library linked.

c++ g++ ld

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -