[BRLTTY] Compiling a statically linked binary

S. Massy lists at wolfdream.ca
Fri Oct 31 11:29:04 EDT 2014


On Thu, Oct 30, 2014 at 11:41:48PM -0400, Dave Mielke wrote:
> [quoted lines by S. Massy on 2014/10/30 at 14:37 -0400]
> 
> >A further observation on compiling and using a statically linked binary
> >of BRLTTY is that keybindings default tables no longer seem to be built
> >into the driver(s). 
> 
> The key tables never were built in. The bindings were only ever (for some 
> drivers they still are) built in when hard-coded.
> 
> >Hence, one can't just copy the binary and run ./brltty. I've found it most 
> >expedient to copy the whole data directory and specify its location via the 
> >"-T" switch. It might be a good idea to have a configure option to include a 
> >default binding table in the same way it can be done with text and attributes 
> >tables.
> 
> Yes, this is a weakness. I've wondered about this very issue myself from time 
> to time. So far, I usually end up concluding that it's probably better and 
> simpler to put a full brltty installation on a USB stick which can then be 
> plugged into any system as needed.
It might still be appropriate to flash a warning message on the display
and/or in the logs when no bindings are available.
Cheers,
S.M.
-- 
Sebastien Massy
Montreal, Canada
Website: http://www.wolfdream.ca
Twitter: http://www.twitter.com/SMassy1
LinkedIn: http://ca.linkedin.com/pub/sebastien-massy/47/5a5/81a
Google+: https://plus.google.com/113474861330993124986/posts


More information about the BRLTTY mailing list