Monday, November 1, 2010

Re: [nslu2-linux] Re: Cross-compile toolchain

 

For the moment, I'd just be happy to get a cross compile environment for regular C++ binaries. I probably would need to port/build a few drivers onto the slug later on though so having kernel module build capability would be rather handy.

Thanks for everyone's response on this. Really great to see this group still has a lot of life in it even though the device is long EOL'd.

-H

--- On Mon, 1/11/10, clerew5 <clerew5@yahoo.com> wrote:

From: clerew5 <clerew5@yahoo.com>
Subject: [nslu2-linux] Re: Cross-compile toolchain
To: nslu2-linux@yahoogroups.com
Date: Monday, 1 November, 2010, 4:22 PM

 



--- In nslu2-linux@yahoogroups.com, Harsh <harshbaste@...> wrote:
>
> Thanks a bunch for the direction! Probably saved me a lot of pain in the process.
>
> I'll try and give it a go with the latest snapshot and tweak the OE build to see how it goes.
>

It is not clear to me whether you need the cross-compiler in order to compile slugos itself (or maybe additional kernel modules), or whether you just want to compile applications to run on Slugos 5.3. If it's the former, then Mike is the expert and you do what he says. But if it is the latter, then you really do not need to get involved with all the OE stuff at all.

Even the machinery for cross compiling Optware is more complex than it needs to be IMHO.

I have constructed a cross-compiler which will compile for both slugos 4.8 and slugos 5.3, including both big and little endian versions of each, depending on just how you call it, and making use of the library and include files already available with the respective distributions, without making any versions of its own. It is still a bit hairy (I had to cheat the gcc Makefiles in a few places, which is why it is not ready for publication yet).


__._,_.___
Recent Activity:
MARKETPLACE

Hobbies & Activities Zone: Find others who share your passions! Explore new interests.


Get great advice about dogs and cats. Visit the Dog & Cat Answers Center.


Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

No comments:

Post a Comment