Tuesday, March 8, 2011

Re: [nslu2-linux] Unslung > Cross-compile Toolchain for Unslung

 

Just don't forget to patch gcc/collect.c to build with newer gcc: replace

redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT,);
with
redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, 777);
2011/3/8 Alex Potapenko <opotapenko@gmail.com>
Or, even better, compile it from source.

2011/3/8 Alex Potapenko <opotapenko@gmail.com>

Hi,

It's a bit ugly, but you can download and install hardy's gcc-3.3-base, cpp-3.3 and gcc-3.3 manually from packages.ubuntu.com:
http://packages.ubuntu.com/search?suite=hardy&searchon=names&keywords=gcc-3.3-base
http://packages.ubuntu.com/search?suite=hardy&searchon=names&keywords=cpp-3.3
http://packages.ubuntu.com/search?suite=hardy&searchon=names&keywords=gcc-3.3

That's what I did when I needed gcc-3.4

2011/3/8 gilgil3 <gil_tsang@yahoo.com>

 

Hi there -

I have been trying to setup a cross compile toolchain but no luck with Ubuntu 10.10 - the main issue is that the Wiki suggests gcc 3.3 but it's way too way for the news Linux dist. I even setup another VM with Ubuntu 7.10 but apt-get fails miserably because the packages 7.10 looks for just aren't available anymore!

http://www.nslu2-linux.org/wiki/Optware/AddAPackageToOptware

Any folks with any luck out there? Appreciate any pointers,

Gilbert




--
Best regards,
Alex Potapenko



--
Best regards,
Alex Potapenko



--
Best regards,
Alex Potapenko

__._,_.___
Recent Activity:
.

__,_._,___

No comments:

Post a Comment