So its the hard float tool chain that I need to use, for userland programs its the emulated float version thats used at least for the angstrom version I am playing with.
Thats looks a lot easier than I thought. Thanks On Thursday, January 2, 2014 12:20:53 AM UTC-6, John Syne wrote: > > > From: Carl-Fredrik Sundström <[email protected] <javascript:>> > Reply-To: <[email protected] <javascript:>> > Date: Wednesday, January 1, 2014 at 9:15 PM > To: <[email protected] <javascript:>> > Subject: [beagleboard] Cross compiling linux for BBB > > > > I want to get started in kernel development for the BBB and I can't find > where to start, I have done work before developing Linux drivers for > network interface cards and TV tuner cards. Is there a document that > describes how to setup a cross compilation environment for lets say an > ubuntu workstation or any other mainstream distribution and step by step > how to build a bin file for flashing ? > > I have looked at and can't find something like that > > http://www.openembedded.org/wiki/Main_Page > > http://www.angstrom-distribution.org > > According to thread linked below the BBB will be going towards debian, is > there a tutorial on how to cross compile debian ? > > > https://groups.google.com/forum/#!category-topic/beagleboard/beaglebone-black/WYrk-JUAkbM > > For me this is the number one stumbling block, I haven't tried compiling > just a kernel on the beagle itself, I assume thats not how you do it? > > host> sudo apt-get install arm-linux-gnueabihf-gcc > # if you use make, you want to setup these env variables > host> export CROSS_COMPILE=arm-linux-gnueabihf- > host> export ARCH=arm > # To compile > host> arm-linux-gnueabihf-gcc test.c –o test > # Copy file to BBB, set execute permission and run. > > Regards, > John > > > > > > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:>. > For more options, visit https://groups.google.com/groups/opt_out. > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
