[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: swt on Mac/Intel

Okay, it works. I'm honestly stunned at how easy it was to set up, once I had everything together.

I downloaded swt-3.1-carbon-macosx-ppc.zip from http://eclipse.org/downloads/index.php (it's almost all the way down at the bottom of the page) to our x86-based Mac. I then did the following:

mkdir swt
cp swt-3.1-carbon-macosx-ppc.zip swt
unzip swt-3.1-carbon-macosx-ppc.zip
unzip src.zip
chmod +x ./build.sh
./build.sh

Everything compiled without a hitch.

This produced new copies of libswt-carbon-3138.jnilib, libswt-pi-carbon-3138.jnilib, and libswt-webkit-carbon-3138.jnilib. A bit shocked, I ran

"file libswt-carbon-3138.jnilib"

and got back

"libswt-carbon-3138.jnilib: Mach-O bundle i386"

Then I downloaded eclipse-SDK-3.1-macosx-carbon.tar.gz from the same site as above to the Intel based mac and unzipped everything and copied the eclipse folder to /Applications.

I tried starting the IDE without doing anything to the setup first, just to be pendantic. It failed to start.

I then copied the new libswt-carbon-3138.jnilib, libswt-pi-carbon-3138.jnilib, and libswt-webkit-carbon-3138.jnilib libraries into /Applications/eclipse/configuration/org.eclipse.osgi/bundles/63/1/.cp.

Once this was done, I tried running the IDE. This time it came up without a hitch!

The only thing that hasn't worked so far is the password dialog box for CVS. I wasn't able to entry my password (it looked like the text control wasn't getting focus, for some reason). Once I ran ssh-keygen and copied my public key out to our CVS box I was able to use the new Eclipse install to check out, edit, and build or code without issue.

VERY NICE.

-Daniel

On 2005-07-10 15:03:13 -0700, Bob Foster <bob@xxxxxxxxxx> said:

Guy from Apple told me at last EclipseCon they were looking to hire someone to do a cocoa port. I just sent him an email ping on the subject. I don't know either, but it would be wasted effort to start on it if Apple plans to do it. Besides, there were problems the last time a cocoa port was tried (by the person who did the original carbon port) that maybe can only be resolved by Apple.

Bob

Daniel Pasco wrote:
I have no earthly idea if Apple is working on it.


On 2005-07-10 12:57:33 -0700, Bob Foster <bob@xxxxxxxxxx> said:

Is there anything to do except recompiling and testing?

The carbon port, not the cocoa port, of course; that's a bfd. Are you sure Apple isn't working on the latter?


Bob

Daniel Pasco wrote:

Hello,
I'm interested in doing this port, or at least using it if nothing else. Is anyone else interested in collaborating on it?

-Daniel
On 2005-06-08 03:14:49 -0700, Nicolas YOUNA <nyouna@xxxxxxxxxxxxxxxxxx> said:

hello,

because swt for mac is developped on carbon and since apple decided to migrate to Intel processors, i am wondering if swt will be recompiled for Intel processors or ported to cocoa framework?


PPC -> Intel for cocoa applications or frameworks are quasi imediate
PPC -> Intel for carbon applications or frameworks are much longer...