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


Hello,

>Ok, before rebuild libswt I've compiled your HelloSWT example with your 
>libswt.a as
>
>gcj  --classpath=./swt.jar --main=HelloSWT HelloSWT.java -L. -lswt
>
>also I have copied swt.jar, swt-win32-2133.dll and libswt.a under 
>HelloSWT directory.
>When I execute the program it crash and the standard error output show
>
>Exception in thread "main" org.eclipse.swt.SWTException: Unsupported or 
>unrecognized format

Please study build.bat in the HelloSWT samples directory.

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




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