Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT Cocoa for 64bit ?

I tried this, and get:

cc -c -xobjective-c -Wall -arch x86_64 -arch i386 -arch ppc - DSWT_VERSION=3448 -DUSE_ASSEMBLER -DCOCOA -I /System/Library/ Frameworks/JavaVM.framework/Headers -I /System/Library/Frameworks/ Cocoa.framework/Headers callback.c <built-in>:0: warning: Mac OS X version 10.5 or later is needed for use of the new objc abi
callback.c:436: error: initializer element is not constant
callback.c:436: error: (near initialization for ‘fnx_array[0][0]’)
callback.c:436: error: initializer element is not constant
...

This is what I got last April when I tried to build these.
Steve said he was putting it on the list.

I'm going to try to get into this over the next week or so.
If anyone has any hints... let me know
Thanks




On Jul 1, 2008, at 3:47 PM, Alex Blewitt wrote:

If you build with -arch x86 -arch x86_64, you should get an intel fat
binary that can run in either 64 or 32-bit mode. However, I don't know
if all the libraries that SWT depends on are 64 bit yet, so there may
be compile/link errors. Better still, stick -arch ppc and -arch ppc64
on there, and you'll build for everything :-)

You can use lipo -info libswt-... to find out what it contains now:

apple[tmp] lipo -info libswt-carbon-3436.jnilib
Architectures in the fat file: libswt-carbon-3436.jnilib are: i386 ppc

(this is from an old build of Eclipse)

Alex

On Tue, Jul 1, 2008 at 5:55 PM, String Larson <string01@xxxxxxxxx> wrote:

I was going to try to run Andy's NatTable release on OSX.
I see the libswt-* files are still 32 bit universal binaries.

Has anyone converted those to 64bit ?

I was looking at the FAQ for converting GTK Linux 32 to 64 for hints but
could not find parallels for Cocoa.

Thanks.
-str

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



Back to the top