[Buildroot] segfault when running a simple c program on env build with buildroot
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Feb 9 15:11:50 UTC 2012
Le Thu, 09 Feb 2012 16:48:30 +0200,
Eial Czerwacki <eial at scalemp.com> a écrit :
> sh-4.1# gcc -o a test.c
You're using the native gcc on the target, while Buildroot is mostly
designed for cross-compilation. Our native gcc on the target mechanism
isn't used/tested a lot, so I would really recommend using the
cross-compiler on the build machine to build your applications.
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list