[Toybox] compiling toybox

Isaac Dunham ibid.ag at gmail.com
Mon Jun 9 22:27:12 PDT 2014


On Mon, Jun 09, 2014 at 08:35:35PM -0400, stephen Turner wrote:
> Im using a current arch linux which I will get you the versions for
> tomorrow when I have access to the system again. I had problems compiling

OK, GCC 4.8.?/4.9, latest bash, latest GNU sed, etc...

The problem would seem to be that somehow, some of the help messages got
truncated.
And I'm not sure what's causing this, though a malfunction in
config2help.c seems likely; since it doesn't happen here, it's not
specifically the result of how toybox is written.
So _please_ check whether scripts/ matches upstream.

> it with glibc so I decided to try a musl cross compile. Grabbed the current
> stable 1.1.4? I will double check that, and compiled and installed. After
> which I use the musl-gcc wrapper.  Are you using the wrapper or the -I
> commands to redirect to the musl libraries?

Currently, I'm using a native musl system.
I used to build with 
make CC=/path/to/musl-gcc CFLAGS="-Os -static"
or sometimes:
make HOSTCC=/path/to/musl-gcc CC=/path/to/musl-gcc CFLAGS="-Os -static"
(which needs ncurses if you want menuconfig).

HTH,
Isaac Dunham

 1402378032.0


More information about the Toybox mailing list