[BRLTTY] building brlapi for Android (ARM processor)

Dave Mielke dave at mielke.cc
Tue Apr 6 00:41:40 EDT 2010


[quoted lines by Shiri Azenkot on 2010/04/05 at 18:15 -0700]

>I would like to use the NDK and write makefiles to build a library, 
>libbrlapi.so, that I can call on from an application. 

Strictly speaking, you shouldn't need to use a different set of make files. You 
can, of course, but that just makes life hard for yourself should we ever 
change things around too much.

Has the Android NDK been designed so that you just need to invoke the right C 
cross compiler and linker? Hopefully it's that simple. If it is then brltty's 
make files should be able to accommodate your needs.

What's the N in NDK stand for?

Are you allowed to give us a copy of the NDK so that we can directly work on 
being able to support building with it or is it something that only official 
Android developers are allwoed to have?

>I've been looking through the Brltty files and I'm not sure how all the pieces 
>fit together (the drivers, the braille tables, the API). 

If you're only concerned with building libbrlapi at this point then you needn't 
worry about the drivers and tables.

>How many libraries should I create 

For a BrlAPI client you only need to build one library, i.e. libbrlapi. It only 
contains one object file, i.e. brlapi_client.

>and which files do they depend on? 

The dependency lists are automatically generated. Go into the top-level 
directory of the source tree and run the script ./autogen (with no parameters). 
You'll then have two views of the dependencies. One is a full view of all of 
them in the file absdeps.mk in the top-level directory. The other is that the 
file reldeps.mk within each subdirectory contains the dependency lists for the 
objects within that subdirectory.

>The University of Washington

Is KUOW still around?

-- 
Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
Phone: 1-613-726-0014 | Ottawa, Ontario   | 2011 May 21 is the Day of Judgement.
EMail: dave at mielke.cc | Canada  K2A 1H7   | 2011 Oct 21 is the End of the World.
http://FamilyRadio.com/                   | http://Mielke.cc/bible/


More information about the BRLTTY mailing list