First, I start with the problem of detecting include / library, as this is slightly different from the usual installation / use of crosstools-ng.
, crosstools-ng gcc- : arm-vendor-linux-gnueabihf. . , Raspian libs :/lib/arm-linux-gnueabihf. , pkg-config . crosstools-ng , , . crosstool-ng, , . , GCC. - crosstools-ng.
, Raspberry Pi/Raspian gcc 4.9.1 crosstools-ng:
git clone git://crosstool-ng.org/crosstool-ng
-, :
diff --git a/scripts/config.guess b/scripts/config.guess
index dbfb978..9a35943 100755
--- a/scripts/config.guess
+++ b/scripts/config.guess
@@ -176,7 +176,7 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
sh3el) machine=shl-unknown ;;
sh3eb) machine=sh-unknown ;;
sh5el) machine=sh5le-unknown ;;
- *) machine=${UNAME_MACHINE_ARCH}-unknown ;;
+ *) machine=${UNAME_MACHINE_ARCH} ;;
esac
diff --git a/scripts/config.sub b/scripts/config.sub
index 6d2e94c..f92db2b 100755
--- a/scripts/config.sub
+++ b/scripts/config.sub
@@ -317,7 +317,7 @@ case $basic_machine in
| we32k \
| x86 | xc16x | xstormy16 | xtensa \
| z8k | z80)
- basic_machine=$basic_machine-unknown
+ basic_machine=$basic_machine
;;
c54x)
basic_machine=tic54x-unknown
- configure/make/make.
- crosstools-ng . ct-ng menuconfig.
, , :
http://pastebin.com/MhQKnhpN
. ct-ng build
. {HOME}/x-tools3, . , "-" " ". .
/ , Qt5 Pi.