This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]