Sorry I missed a question. There are a couple ways to view cross compiling versus compiling native. In the end though it is up to you whether one way or another is better.
For example, it might be quicker to cross compile the dependencies for Node.js, etc. But setting up the environment for such may be more pain that it is worth. Myself, I chose to compile natively in this instance, even though the compile took around an hour. Mostly due to my own lack of knowledge on a few different aspects of this process. One thing you will probably never want to compile natively is the kernel. But again, that would be your call. Anyway, the really cool thing about my own setup is that I run my rootfs from an NFS share. One of the cooler things this enables me to do is setup Samba on my support system( instead of the BBB ) to share directories / file out on. Then I edit source code via my text editor of choice on my own desktop ( Win 7 x64 enterprise ) . After whcih i can compile natively on the BBB, or cross compile on my support system. I even have the Linaro binaries for Windows to cross compile from my desktop when I feel like it. Now someone like Robert would probably say something like " Just spend ~$200 on a quad core dev board with 2GB RAM, with SATA, and compile natively . . " Which i have to admit sounds pretty cool but . . .I can not justify the costs personally just yet. On Sat, May 10, 2014 at 12:39 AM, William Hermans <[email protected]> wrote: > I can not disagree more with John on this last point. If you need a > support system for Debian, use Debian as the support system. Also, stay > away from using X, and Window managers if you can help it. > > Cross compiling from Windows does work, I've had this working since early > on, but for most ( some ? ) people this is probably less than optimal. > Definitely if you're using OSX as your desktop. > > > On Fri, May 9, 2014 at 9:51 PM, John Syn <[email protected]> wrote: > >> >> From: Brian Lloyd <[email protected]> >> Reply-To: <[email protected]> >> Date: Friday, May 9, 2014 at 6:51 PM >> To: <[email protected]> >> Subject: Re: [beagleboard] path of least resistance to Debian >> >> On Fri, May 9, 2014 at 5:42 PM, William Hermans <[email protected]>wrote: >> >>> #1 Personally I would run from a uSD card to make sure it is what you >>> want. Plus it doesnt hurt to run from the sd card, unless you do not have a >>> uSD card + sd card adapter, and do not care to spend money on this. >>> >> >> I have a 16GB uSD card to run from. Just wondering what the pros and cons >> are. Seems that the cons are worry that the eMMC will reach its write >> limit. I don't think that will be an issue for my application as I intend >> to use the BBB as an embedded system. (See below.) >> >> >>> >>> #2 I'll defer to someone else, as I am not a MAC person. >>> >> >> Mac is just FreeBSD once you are in the shell (for the most part). There >> are worse places to be. ;-) >> >> There are some incompatibilities with OSX, but if you use “MacPort” or >> “HomeBrew” or “Fink” to get the GNU tool versions. Since the GNU version >> are the same as Debian or Ubuntu, the same instructions will work on Mac. >> >> >> >>> >>> #3 NO idea where you got this impression. All the instructions I've seen >>> are *NIX based, and I *DO* personally run Windows for my own desktop >>> environment. >>> >> >> I couldn't find any instructions other than for doing it from Windows >> until I was pointed to the Adafruit site. >> >> >>> >>> #4 You would have to boot up via uSD to write out the eMMC I believe. >>> >> >> I now have Debian running from the uSD card and it is working just >> peachy. Attempts to copy the eMMC version to the eMMC didn't work but I >> only want that as a backup to the uSD. Eventually I will probably want to >> run from eMMC when I close everything up and shove it into a rack. >> >> >>> >>> You may want to consider dedicating a machine, or perhaps use virtualbox >>> to have a Debian wheezy i386 support system. This really depends on how >>> serious you are. As an example, I compile my own kernel based on Robert >>> Nelsons instructions, and build a custom rootfs also based on his bare >>> rootfs stuff. Which I mount rootfs over our network ( to prevent me from >>> ruining flash media while I experiment / tweak various things ). >>> >> >> Thank you. I may go that route. I have a couple of machines I plan to >> dedicate to Linux (one is already running ubuntu -- not sure that is going >> to stay that way). Is there a good cross-development environment or is it >> just as easy to build on the BBB itself? >> >> The only issue preventing me from using OSX for all my BBB development is >> Linaro does not have a cross compiler for OSX. Also >> OpenEmbedded/Angstrom/Yocto do not work on OSX. Since running Robert >> Nelson’s scripts depend on Linaro, you cannot use his build scripts either. >> For now I use an Ubuntu 14.04 box. You might want to consider Parallels and >> install Ubuntu x64 which works great. >> >> Regards, >> John >> >> >> The project right now is turning the BBB into a GPS-disciplined NTP >> server. The plan is to have a local UTC display (I think Nixies would be >> cool for that classic retro look but 7-segment LED displays would be OK too >> and easier to drive) and eventually use it to discipline my Rubidium >> reference as well. >> >> -- >> Brian Lloyd, WB6RQN/J79BPL >> 706 Flightline Drive >> Spring Branch, TX 78070 >> [email protected] >> +1.916.877.5067 >> >> -- >> 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/d/optout. >> >> -- >> 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/d/optout. >> > > -- 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/d/optout.
