Re: [jnc-users] SWT compile issue
Status: Beta
Brought to you by:
soapy
From: Marco T. <mt...@gm...> - 2007-03-31 10:12:10
|
Jer A wrote: > thanks for all your help. > > I am running win xp, sp2 - so it is for windows Well, not necessarily. You could also want to crosscompile for Linux ;-) > jnc 1.1.1, gcc-122233-win,swt-M20070212-1330-win32-win32-x86 Ok, you didn't tell me if you want... - a complete compilation or one for needed references only. I did a complete compilation (took 17 minutes on my laptop) - an optimized compilation or one with debug info. So I did an optimized compilation. Here you go: http://mtsystems.ch/tmp/swt-win.jar.o Please note: - You need to check the box for swt.jar. Otherwise swt.jar will be compiled because there's no cached archive for swt.jar which is for compilation with needed references only. - You can't exclude AWT/Swing swing because the SWT-AWT bridge from swt needs it. - When everything works as you with, you can drastically reduce the size of the final binary by compiling swt.jar so that only needed references are pulled in and by excluding AWT/Swing. Marco > -Jer > >> From: Marco Trudel <mt...@gm...> >> To: Jer A <jer...@ho...>, "A mailing list for general >> questions and discussions." <jav...@li...> >> Subject: Re: [jnc-users] SWT compile issue >> Date: Sat, 31 Mar 2007 10:50:41 +0200 >> >> Please always reply to all, otherwise we loose the mailinglist... >> >> Jer A wrote: >>> Marco, >>> Can you send me your compiled cached swt jar. >> >> Well, you only told me that you use the current swt-3.2.2. You didn't >> tell me if you compile for Windows or Linux and if you want a complete >> compilation of swt.jar or one which only uses references. Also I need >> to know about optimization or debugging info. >> So there are 16 possibilities and each will be about 10mb. Not to >> think about each time you update swt or downgrade because of bugs in >> the current version. >> So I really would prefer if you could compile it yourself. Anyway, I >> could compile one to get you started... >> >> >>> I never got around to finishing compiling....I have an old school >>> Athlon 1400, 400-something ram. It's been taking hours.... >> >> Yeah, ~400mb Ram might be a little less. But still it should do... Did >> you try to increase the swap (might be called "virtual RAM" on >> Windows)? One or two gb should do ;-) >> >> >>> I just downloaded the current release of swt, >>> swt-3.2.2-win32-win32-x86.zip. >>> >>> I would like to give SWT a try, as swing is slow. >> >> You don't need to compile your application to native just to give SWT >> a try. Just run it in a usual JVM... >> >> >>> Where would I put [your] cached swt...what folder? >> >> The same as your swt.jar. >> >> >>> Thanks in advance for all your help, and prompt response. >> >> You're welcome... >> >> >> Marco > > _________________________________________________________________ > Your Space. Your Friends. Your Stories. Share your world with Windows > Live Spaces. http://spaces.live.com/?mkt=en-ca > |