NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Jesse Glick Posted via mailing list.
|
Posted: Fri Oct 17, 2008 9:03 pm Post subject: Re: Architecture (32Bit<-->64Bit) dependent module dependencies |
|
|
Oliver Rettig wrote:
| Quote: | I have understand the folder convention to save the different libs:
lib/i386/linux/...
lib/i386/windows/...
lib/amd64/windows/...
lib/amd64/linux/...
System.getProperty ("os.name").toLowerCase ()
System.getProperty ("os.arch")
|
This is a fine convention if it works for you.
| Quote: | "When the system is looking for a particular library it scans the deepest
directories first and then the shallow ones (lib/i386/linux, lib/i386, lib)."
But I think this is not done.
|
Not by the NB module system, no. The responsibility is on the caller of
System.loadLibrary to select the desired architecture.
| Quote: | If it is my own code I can follow this convention in my
implementation. But I want to use e.g. java3d binary distribution.
|
Then you will need to patch java3d to call System.loadLibrary with a
more specific filename. |
|
| Back to top |
|
 |
Jesse Glick Posted via mailing list.
|
Posted: Tue Oct 21, 2008 2:09 am Post subject: Re: Architecture (32Bit<-->64Bit) dependent module dependencies |
|
|
Oliver Rettig wrote:
| Quote: | are there also tokens for different architectures? 32Bit<-->64Bit?
|
No, which is why using OS tokens is not going to help you any. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|