Le mardi 01 décembre 2009 à 11:38 +0100, Stefano Zacchiroli a écrit :
> [ Getting Sylvestre in the loop, he's quite some experience on
>   JVM portability issues due to Scilab ]
> 
> On Tue, Dec 01, 2009 at 09:10:03AM +0000, Matthew Johnson wrote:
> > how does this look?
> > http://mjj29.matthew.ath.cx/debian-upload/javatools/java-vars.mk
> 
> Looks good to me (even though I haven't tested it, etc.). Maybe
> Sylvestre can compare your arch script with what they use in Scilab?
I don't have the chance to have access to dpkg-architecture from Scilab. 
Therefor, 
my work is based on uname -s but I checked from what I have and I agree
with you.

> That said, my only remark is that, given we are going to ship this
> snippet in a package anyhow, it would probably be better to externalize
> the arch detection logic in a separate executable (to be put under
> /usr/share/some/thing/) and to invoke such script from the Makefile
> snippet.  That way, we gain the ability for others which do not use a
> Makefile to detect the Java arch string (e.g.: I'm thinking at
> ./configure scripts here).
This is also sometimes needed by the startup scripts which need to know where 
the libjava.so & libjvm.so
are on the system for their LD_LIBRARY_PATH.

Sylvestre





-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to