This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcj darwin problem
- From: Brian McKay <brianmckay at sbcglobal dot net>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 30 Apr 2004 15:27:40 -0700
- Subject: gcj darwin problem
when i try to compile a simple java program this is what i get:
[Brian-McKays-Computer:~/desktop] brianmck% gcj ColorSampler.java
/usr/bin/ld: warning multiple definitions of symbol _sqrt
/usr/local/lib/gcc/powerpc-apple-darwin7.3.0/3.4.0/../../../
libgcj.dylib(libgcj.5.0.0.dylib-master.o) definition of _sqrt
/usr/lib/libm.dylib(sqrt970.o) definition of _sqrt
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
[Brian-McKays-Computer:~/desktop] brianmck%
What does all this mean if i compile with the -C parameter (bytecode)
it compiles?