Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-swt-dev] building native libraries for Linux/PPC

>1)  Building libswt*.so:
>I've had to copy over the files

Please look in the updated FAQ:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/faq.html#howbuilddll

The location of the swtsrc.zip changed between 1.0 and 2.0.  The old FAQ
only had the 1.0 information in it.

If you use Eclipse as your IDE,  when you compile the Java source, the bin
directory created to hold the java classes also contains all the c source
arranged exactly as required to build the library (see
org.eclipse.swt/bin/library).  All you have to do is run the build script
in the bin/library directory.

Do not run make directly but rather use the build script as on some
platforms environment variables are set up in the build script.

I will update the FAQ entry to describe how to build the libraries from CVS
without eclipse.

>4. Building platform launcher
See:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-swt-home/faq.html#buildeclipseexe

Note that if you use the build.csh script rather than calling the make file
directly, the environment is already set up correctly.




Back to the top