Re: TLIB search algorithm

Thomas Chenot <tom.chenot-6tN4nzCoH/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Shawn Silverman wrote:

> Where on the filesystem does System.loadLibrary() search for a .tlib?  
> Does it only search the current directory? 

There is no real search algorithm.

The filesystem version opens the file with this code:
  File libraryFile = new File(libname);

If the file is not found then the .tini or .tlib is checked to see if it 
contains the tlib.

>
>
> Thanks,
>     -Shawn
>


-- 
Thomas Chenot


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.