View previous topic :: View next topic |
Author |
Message |
keinfarbton
Joined: 03 Dec 2005 Posts: 224 Location: Stuttgart - Germany
|
Posted: Fri Apr 13, 2007 4:54 am Post subject: News: precompiled lib |
|
|
The repository now has a deploy directory, that will hold a the ports ready to use.
First one is swt-3.2.1-linux-gtk.
It has all needed headers and a precompiled lib. This speeds up compiling a lot.
For dejavu, this is currently not possible, because of bugs in DMD while header generation. I filed a bug report.
For SWT windows and mac i hope for contributors, creating those libs and build process. |
|
Back to top |
|
|
keinfarbton
Joined: 03 Dec 2005 Posts: 224 Location: Stuttgart - Germany
|
Posted: Fri Apr 13, 2007 8:19 am Post subject: |
|
|
AFB is working really hard on getting SWT running at Mac OSX. Thanks for you effort, that is awesome.
Hopefully GDC catches up soon to DMD 1.012 to get everything compiled. |
|
Back to top |
|
|
afb
Joined: 26 Jan 2005 Posts: 137 Location: Sweden
|
Posted: Fri Apr 13, 2007 9:04 am Post subject: |
|
|
Preliminary build stuff is in the SVN. You need Tango trunk,
and a patched gdmd (see Issue #1137) and lots of luck
We also have a stubborn Internal Compiler Error in Shell.d,
for now only workaroundable by commenting offenders out... |
|
Back to top |
|
|
keinfarbton
Joined: 03 Dec 2005 Posts: 224 Location: Stuttgart - Germany
|
Posted: Sun Apr 15, 2007 7:13 pm Post subject: |
|
|
The precompiled lib does now exist for Linux and Windows.
I managed to get it running on my windows box. Hm i hate developing on windows
For building a example on windows, make a checkout, goto the example directory and call
Code: | rebuild -rfpaint_win32_rebuild.rf |
The compile and link take now less then 10 seconds. |
|
Back to top |
|
|
afb
Joined: 26 Jan 2005 Posts: 137 Location: Sweden
|
Posted: Mon Apr 16, 2007 3:50 am Post subject: |
|
|
The Internal Compiler Error on Mac OS X is fixed (see Ticket #17,
but there are other problems causing it to crash on startup...
So downloading precompiled Mac binaries is not very urgent ?
Compilation time is down from 30 minutes to just 2 minutes. |
|
Back to top |
|
|
afb
Joined: 26 Jan 2005 Posts: 137 Location: Sweden
|
Posted: Mon Apr 16, 2007 7:56 am Post subject: |
|
|
Also, the Mac library is a tad on the large side:
30M swt-3.2.1-linux-gtk/lib/libtioport-swt-3.2.1-linux-gtk.a
62M swt-3.2.1-macosx/lib/libtioport-swt-3.2.1-macosx.a
23M swt-3.2.1-win32/lib/tioport-swt-3.2.1-win32.lib
Mostly due to the dual arch, but 20M is symbols...
Are you sure you want all the binaries in the SVN ? |
|
Back to top |
|
|
keinfarbton
Joined: 03 Dec 2005 Posts: 224 Location: Stuttgart - Germany
|
Posted: Mon Apr 16, 2007 10:05 am Post subject: |
|
|
Hehe, yesterday as i did a minor edit in the windows version and had to upload several MB, i also thought that.
What are the alternatives? |
|
Back to top |
|
|
afb
Joined: 26 Jan 2005 Posts: 137 Location: Sweden
|
Posted: Mon Apr 16, 2007 3:18 pm Post subject: |
|
|
keinfarbton wrote: | What are the alternatives? |
Source code in repository, binaries outside (like SourceForge/BerliOS does) |
|
Back to top |
|
|
keinfarbton
Joined: 03 Dec 2005 Posts: 224 Location: Stuttgart - Germany
|
Posted: Mon Apr 16, 2007 3:27 pm Post subject: |
|
|
actually it turned out to be a problem anyway. If the user has another verison of tango, it can compile and link, but the app does get access violations. Probably its best to deploy it in a way, the use can build an own lib.
Probably a dsss.conf? |
|
Back to top |
|
|
|