Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Re: looking into SWT 3.0 M8 for native compilation with GCJ

Dear all,

The following GTK PI native files compile cleanly out of the box:

callback.c
atk.c
atk_structs.c 
atk_custom.c

The following ones are fraught with errors -- using exactly the same CCFLAGS:

os.c
os_custom.c
os_structs.c

I'm using the following CCFLAGS:

gcc -c   `pkg-config --cflags atk pango gtk+-2.0` -DLINUX -DGTK -fpic -fPIC
-export-dynamic -O -Wall -DSWT_VERSION=3.044 -I/opt/blackdown-jdk-1.4.1/include
-I/opt/blackdown-jdk-1.4.1/include/linux  -o <<file>>.o <<file>>.c

Could anybody confirm that he has managed to compile os.c, os_custom.c, os_structs.c
properly. If so, what CCFLAGS he has used?


Thanks
Erik Poupaert


Back to the top