g++ help (-lcrt1.o?)

Jamr125474@aol.com Jamr125474@aol.com
Mon Apr 11 01:11:00 GMT 2005

I have a Computer Science class where we learn to program in C++. Our profesor suggests we use Unix systems and the g++ compiler. At home, I use a computer with Mac OSX (a Unix based OS). After testing, I found that I can use the g++ compiler on it, at least until I'm out of errors. Once I've corrected all the errors the compiler finds, I get the message "ld: can't locate file for: -lcrt1.o" I would like to know what this means or at least obtain what it needs to compile my source code.

Thank you,
James Hidahl

More information about the Gcc-help mailing list