[Toybox] Can not cross compile on Mac OS X (Mavericks)
Raphael Cohn
raphael.cohn at stormmq.com
Thu Jan 7 03:42:45 PST 2016
Originally raised as GitHub issue #17
- make menuconfig works
- make fails because a sed expression isn't understood by Mac OS X (and
hence BSD) sed It may be possible to have a different expression. If you
can give me a little insight into what the expression is trying to do, I
can have a go at sorting this out.
I'm really keen to get a minimal toybox working on other POSIX platforms,
because it provides an excellent baseline for a consistent, secure and
sensible set of tools to enable cross compilation toolchains. Oh, and not
using autocruft gets it an extra star...
More details:-
maclaptop:toybox raph$ make
scripts/make.sh
Generate headers from toys/*/*.c...
Make generated/config.h from .config.
generated/flags.h sed: 2: "s/" *"//g;/^#/d;t clear ...": undefined
label 'clear;:clear;s/"/"/p;t;s/\( [AB] \).*/\1 " "/p'
sed: 1: "s/ A / /;t pair;h;s/\([ ...": undefined label 'pair;h;s/\([^
]*\).*/\1 " "/;x;b single;:pair;h;n;:single;s/[^ ]* B //;H;g;s/\n/
/;p'
clang: error: unable to execute command: Broken pipe: 13
clang: error: clang frontend command failed due to signal (use -v to
see invocation)
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://developer.apple.com/bugreporter/ and include the crash
backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: Error generating preprocessed source(s) -
ignoring input from stdin.
clang: note: diagnostic msg: Error generating preprocessed source(s) -
no preprocessable inputs.
sed: 2: "s/" *"//g;/^#/d;t clear ...": undefined label
'clear;:clear;s/"/"/p;t;s/\( [AB] \).*/\1 " "/p'
clang: error: unable to execute command: Broken pipe: 13
clang: error: clang frontend command failed due to signal (use -v to
see invocation)
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin13.4.0
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to
http://developer.apple.com/bugreporter/ and include the crash
backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: Error generating preprocessed source(s) -
ignoring input from stdin.
clang: note: diagnostic msg: Error generating preprocessed source(s) -
no preprocessable inputs.
Makefile:19: recipe for target 'toybox' failed
make: *** [toybox] Error 1
Raph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20160107/75b8063a/attachment-0001.htm>
More information about the Toybox
mailing list