Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Cocoa SWT Java 6 64 bit ?

Has anyone tried to compile the org.eclipse.swt/bin/library source as 64 bit on OS X 10.5 ?

I tried to change the arch settings in build.sh, and get this:

./build.sh
cc -c -xobjective-c -Wall -arch x86_64 -m64 -DSWT_VERSION=3437 - DUSE_ASSEMBLER -DCOCOA -I /System/Library/Frameworks/JavaVM.framework/ Versions/1.6.0/Headers -I /System/Library/Frameworks/Cocoa.framework/ Headers swt.c cc -c -xobjective-c -Wall -arch x86_64 -m64 -DSWT_VERSION=3437 - DUSE_ASSEMBLER -DCOCOA -I /System/Library/Frameworks/JavaVM.framework/ Versions/1.6.0/Headers -I /System/Library/Frameworks/Cocoa.framework/ Headers c.c
c.c: In function ‘Java_org_eclipse_swt_internal_C_free’:
c.c:35: warning: cast to pointer from integer of different size
c.c: In function ‘Java_org_eclipse_swt_internal_C_getenv’:
c.c:48: warning: cast from pointer to integer of different size
c.c: In function ‘Java_org_eclipse_swt_internal_C_malloc’:
c.c:62: warning: cast from pointer to integer of different size
c.c: In function ‘Java_org_eclipse_swt_internal_C_memmove__III’:
c.c:73: warning: cast to pointer from integer of different size
c.c:73: warning: cast to pointer from integer of different size
c.c: In function ‘Java_org_eclipse_swt_internal_C_memmove__I_3BI’:
... [warnings deleted]....

cc -c -xobjective-c -Wall -arch x86_64 -m64 -DSWT_VERSION=3437 - DUSE_ASSEMBLER -DCOCOA -I /System/Library/Frameworks/JavaVM.framework/ Versions/1.6.0/Headers -I /System/Library/Frameworks/Cocoa.framework/ Headers c_stats.c cc -c -xobjective-c -Wall -arch x86_64 -m64 -DSWT_VERSION=3437 - DUSE_ASSEMBLER -DCOCOA -I /System/Library/Frameworks/JavaVM.framework/ Versions/1.6.0/Headers -I /System/Library/Frameworks/Cocoa.framework/ Headers callback.c
callback.c:437: error: initializer element is not constant
callback.c:437: error: (near initialization for ‘fnx_array[0][0]’)
callback.c:437: error: initializer element is not constant
callback.c:437: error: (near initialization for ‘fnx_array[0][1]’)
...

Admittedly, I have not done much digging here. For that I apologize.

Advise ? Direction?

Thanks.
-str




Back to the top