Subj : Re: Error in linking .cpp with Borland 4.52 To : borland.public.cpp.borlandcpp From : "Ed Mulroy [TeamB]" Date : Tue Jul 22 2003 10:07 pm The error told you part of what is wrong. The linker was not told to use the compiler's runtime library or the compiler's startup code. Instead of this tlink /m /v /s /c test.obj main.obj, my_main.exe, my_main.map try this: tlink /m/v/s/c c0l test main,my_main,,cl Where the '0' in c0l is a zero, not the letter 'o'. .. Ed > James Kim wrote in message > news:3F1DCC15.914D263F@hhea.hitachi.com... > > After compiling .cpp files with > "bcc -c -v -ml -1 test.cpp" > "bcc -c -v -ml -1 main.cpp" > where test.cpp contains nothing but an empty constructor > and main.cpp is main() function with no contents > > the following linking error occurs on > "tlink /m /v /s /c test.obj main.obj, my_main.exe, my_main.map" > Error: Undefined symbol operator new(unsigned int) in module > test.cpp .