Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] How to build application code once rootfs is produced
@ 2011-09-26  9:58 morris moore
  2011-09-27 21:46 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: morris moore @ 2011-09-26  9:58 UTC (permalink / raw)
  To: buildroot

How to build application code once rootfs is produced.

I get an error

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

Thanks Morris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110926/aaf2f0ac/attachment.html>

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] How to build application code once rootfs is produced
  2011-09-26  9:58 [Buildroot] How to build application code once rootfs is produced morris moore
@ 2011-09-27 21:46 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2011-09-27 21:46 UTC (permalink / raw)
  To: buildroot

Le Mon, 26 Sep 2011 04:58:26 -0500,
morris moore <txmmoore@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
recommend:

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

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-09-27 21:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-26  9:58 [Buildroot] How to build application code once rootfs is produced morris moore
2011-09-27 21:46 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox