This is the mail archive of the java@gcc.gnu.org mailing list for the Java 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]

Re: Errors when compiling libswt.a under winxp


Mohan Embar wrote:

...
Oops. Sorry about that. build.bat has been replaced by
the top-level Makefile. Please look at the HelloSWT target in
thisiscool-gcc/examples/Makefile. You can see that for image
loading, you need to explicitly link with a couple of .o files.

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/






Thank you very much for you help.

I have copied the files from the folder C:\thisiscool-gcc\swt\win32\lib to C:\thisiscool-gcc\examples\HelloSWT
and the HelloSWT generated by the following command


gcj -fjni --main=HelloSWT --classpath=swt.jar -s -o HelloSWT.exe HelloSWT.java SWTMessages.o SWTImageLoaders.o -L. -lswt

work fine!

But it is remained me a suspended in issue, why the compilation of the library libswt.a fails?





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