[opensuse-buildservice] Java devel macros for all platforms??
Congratulations on an excellent piece of work. My project was so simple to set up - I just copied my last successful (build.net) spec file into the project and the associated tar.bz2 file, and added the platforms I was interested in. The rest was automatic. But the least documented aspect (and thus the most difficult to get right) of the system is how to write the spec file so it works on all target platforms/systems/architectures. My project (openxdas) requires java - either 1.4.2 or 1.5 - but I'm having a hard time trying to decide which macros to use that will expand into something that works on every platform - I'd even be happy with an ifdef, if I could determine what to put inside of it. I understand that this issue is probably more related to Java than anything else. The interesting thing is that openxdas is mostly straight C - it has a server/daemon part (in C) with a client library (both in C and in Java). The Java client library is being compiled with gcj. The autotools scripts seem to work very well, but I can't find a combination of macros that will get my project to build on more than one or two systems. Any ideas where I might look for examples that work? John ----- John Calcote (jcalcote@novell.com) Sr. Software Engineer Novell, Inc. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, 25 Apr 2007, John Calcote wrote:
My project (openxdas) requires java - either 1.4.2 or 1.5 - but I'm having a hard time trying to decide which macros to use that will expand into something that works on every platform - I'd even be happy with an
You mean this? http://en.opensuse.org/Build_Service/cross_distribution_package_how_to Ciao -- http://www.dstoecker.eu/ (PGP key available) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (2)
-
Dirk Stoecker
-
John Calcote