[BRLTTY] Compiling a statically linked binary

Dave Mielke dave at mielke.cc
Fri Oct 31 11:39:33 EDT 2014


[quoted lines by S. Massy on 2014/10/31 at 11:29 -0400]

>It might still be appropriate to flash a warning message on the display
>and/or in the logs when no bindings are available.

That's a good idea - thanks.

What are your thoughts regarding adding a bunch of code to support built-in key 
tables versus a full installation on a USB stick?

One of the problems with built-in key tables is that one driver may require 
more than one key table, i.e. a different key table for each model that the 
driver supports. It'd probably become very error prone to have the user, rather 
than the driver, decide which of them to use.

A general approach might be to compress the whole tables directory into an 
archive, and then to include that archive within the statically linked 
executable. That'd make the executable be rather large, though, so run-time 
memory, rather than USB stick space, would be consumed.

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


More information about the BRLTTY mailing list