I'm trying to compile a c++ project on my new mac uing the MacOSX GCC compiler, but I get the following error message:
usr/bin/ld: warning -L: directory name (lib) does not exist
/usr/bin/ld: can't locate file for: -lcrt0.o
collect2: ld returned 1 exit status
From what I can gather by google'ing the error, it's caused by the GCC compiler. Does anyone have a solution? I don't normally program C/C++ (but Java) so I'm not really interested in installing xcode.
usr/bin/ld: warning -L: directory name (lib) does not exist
/usr/bin/ld: can't locate file for: -lcrt0.o
collect2: ld returned 1 exit status
From what I can gather by google'ing the error, it's caused by the GCC compiler. Does anyone have a solution? I don't normally program C/C++ (but Java) so I'm not really interested in installing xcode.