[Dorset] Cross development [was Re: Which distro would you install?]

2010-09-24 Thread Tim Allen

Hi Bob

On 24/09/10 08:38, Bob Dunlop wrote:

For hardcore embedded systems programming there's really no choice, Gentoo
all the way.  No other system lets you set up an entire cross development
tool chain and library for a custom target with a single command.  I've
currently got six cross development environments installed on my work machine
and a further three at home.  Deleting them is likewise a single command so
I only keep the current working set.


That's interesting. I'm now at the end of week two setting up a 
gcc/Newlib toolchain for m68k (on Debian). Most of the pain has been in 
figuring out how to avoid Newlib's I/O and reentrancy overhead, for very 
memory-constrained targets, but the initial build sequence wasn't 
straightforward either. How would I do this with Gentoo?


Cheers

Tim

--
Next meeting:  Bournemouth? TBD, Wednesday 2010-10-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://bit.ly/4sACa


Re: [Dorset] Cross development [was Re: Which distro would you install?]

2010-09-24 Thread Bob Dunlop
Hi,

On Fri, Sep 24 at 09:22, Tim Allen wrote:
...
 That's interesting. I'm now at the end of week two setting up a 
 gcc/Newlib toolchain for m68k (on Debian). Most of the pain has been in 
 figuring out how to avoid Newlib's I/O and reentrancy overhead, for very 
 memory-constrained targets, but the initial build sequence wasn't 
 straightforward either. How would I do this with Gentoo?

Well in theory it's simply:

  crossdev --stable --target m68k-elf--newlib

or similar.  Unfortunatly I've just tried it and it barfs while trying to
build newlib.  I've not used m68k in 10 years and have never used newlib,
can you give me a valid Gcc target tuple to use and I'll try it again.


-- 
Bob Dunlop

--
Next meeting:  Bournemouth? TBD, Wednesday 2010-10-06 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://bit.ly/4sACa