[Buildroot] How to build application code once rootfs is produced

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Sep 27 21:46:08 UTC 2011

Le Mon, 26 Sep 2011 04:58:26 -0500,
morris moore <txmmoore at gmail.com> a écrit :

> mmoore at mmoore:~/beagle/buildroot-2011.08/output/host/usr$
> arm-unknown-linux-uclibcgnueabi/bin/cc t.c
> cc: error trying to exec 'cc1': execvp: No such file or directory

Don't use that binary, it's internal to the toolchain. I would rather

$ export PATH=/home/mmoore/beagle/buildroot-2011.08/output/host/usr/bin/:$PATH
$ arm-unknown-linux-uclibcgnueabi -o foobar foobar.c


Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.

More information about the buildroot mailing list