Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Building swt libraries on Linux PPC


Look the PR 34980 (http://bugs.eclipse.org/bugs/show_bug.cgi?id=34980)
The reporter of this PR has Gentoo Linux with Gnome 2.2 (gtk2.2) on a Macintosh PowerPc, try talk to him (I don't know if he is in this mailing list) he may help you better.

Felipe



Richard Bounds <richard@xxxxxxxxxxxxxxxxxxx>
Sent by: platform-swt-dev-admin@xxxxxxxxxxx

03/25/2003 04:27 PM
Please respond to platform-swt-dev

       
        To:        platform-swt-dev@xxxxxxxxxxx
        cc:        
        Subject:        [platform-swt-dev] Building swt libraries on Linux PPC



I'm trying to get Eclipse up and running on Gentoo Linux on an iBook2. I'm
having a bit of trouble as the instructions in the swt FAQ don't quite seem
to exactly match what I'm seeing (I've downloaded
eclipse-SDK-RC3a-linux-gtk.zip).

So far I've unzipped the package and changed dir. to
$ECLIPSE_HOME/plugins/org.eclipse.linux.gtk.source_2.1.0/src/org.eclipse.swt.gtk_2.1.0/ws/gtk,
then unzipped both swtsrc.zip and swt-pisrc.zip. I then edited make_gtk.mak,
and changed IVE_HOME to point to the root of my jdk, JAVA_JNI =
$(IVE_HOME)/include, and GTKLIBS = 'pkg-config --libs $(GTKTARGET)'.

Running build.sh then seems to fail with:
richard@penfold gtk $ ./build.sh
Converting files from DOS to UNIX format:
   callback.c
   callback.h
   gnome.c
   structs.c
   structs.h
   swt.c
   swt.h
ld -x -shared \
   `pkg-config --libs gtk+-2.0` \
   -o libswt-pi-gtk-2133.so swt.o structs.o
ld: unrecognized option '-Wl,--export-dynamic'
ld: use the --help option for usage information
make: *** [libswt-pi-gtk-2133.so] Error 1

I don't have enough (any) native linux dev knowledge to know what to try next.
Perhaps someone could tell me where I'm going wrong?

thanks,

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



Back to the top