Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing cc symlink #99

Open
goldie83 opened this issue Jul 23, 2019 · 2 comments
Open

Missing cc symlink #99

goldie83 opened this issue Jul 23, 2019 · 2 comments

Comments

@goldie83
Copy link

Hi, trying to cross-compile toybox and failing:
No arm-linux-gnueabihf-cc found

Is there a missing symbolic link in tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/ ?

@pelwell
Copy link
Contributor

pelwell commented Jul 23, 2019

I don't think arm-linux-gnueabihf-cc is meant to exist - can you find a toolchain anywhere that includes it?

What configuration steps have you followed when preparing to build toybox?

@goldie83
Copy link
Author

Hi,
and what is with tools/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin/ ? There is a arm-linux-gnueabihf-cc pointing to -gcc.

echo "--------------------------------------"
echo "UPDATING TOOLCHAIN https://github.com/raspberrypi/tools"
echo "--------------------------------------"
cd $HOME/tools
git reset --hard
git fetch

echo ""
echo "--------------------------------------"
echo "UPDATING SOURCES https://github.com/gportay/initramfs.git"
echo "--------------------------------------"
cd $HOME/initramfs
#git clean -xfd
#git submodule foreach --recursive git clean -xfd
git reset --hard
git submodule foreach --recursive git reset --hard
git fetch
git submodule update --remote --recursive

echo ""
echo "--------------------------------------"
echo "SETTING UP PATH TOOLCHAIN PATH"
echo "--------------------------------------"
PATH=$PATH:$HOME/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin

echo ""
echo "--------------------------------------"
echo "CONFIGURE"
echo "--------------------------------------"
cp ../initramfs.config .config
cp ../busybox.config busybox_defconfig
cp ../toybox.config toybox_defconfig

echo ""
echo "--------------------------------------"
echo "BUILD"
echo "--------------------------------------"
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- LDFLAGS=-lrt

configs.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants