Re: rockboxdev.sh

2006-05-26 Thread mathew holton
cool, I need to get building rockbox again (re-installed linux and never 
got around to getting a dev enviro. setup). Don't know what to work on 
though...


Daniel Stenberg wrote:

Hi friends

I've written a little shell script called tools/rockboxdev.sh.

When run, it asks you what target architecture you want a compiler 
setup for. Then, it downloads, unpacks, builds and installs binutils 
and the gcc cross-compiler for you.


It should work for SH, arm and m68k and for the SH case it also 
applies the necessary gcc patch.


This should work on all *nix like systems and cygwin (afaik), but I'm 
interested in reports and feedback on details and possible problems.


Enjoy!



Re: rockboxdev.sh

2006-05-26 Thread Daniel Stenberg

On Fri, 26 May 2006, Sander Sweers wrote:

Thanks :) Although gcc does not build for me the script works. I have never 
had =gcc-4.0.x build for m68k-elf so it is not the scripts fault ;)


On what system using what native gcc?


One comment, it fails if $dlwhere does not exists. This should make it
work.

if test ! -d $dlwhere;then
 mkdir $dlwhere
fi


Yeah, I guess it can do that... Thanks.

--
 Daniel Stenberg -- http://www.rockbox.org/ -- http://daniel.haxx.se/


rockboxdev.sh

2006-05-25 Thread Daniel Stenberg

Hi friends

I've written a little shell script called tools/rockboxdev.sh.

When run, it asks you what target architecture you want a compiler setup for. 
Then, it downloads, unpacks, builds and installs binutils and the gcc 
cross-compiler for you.


It should work for SH, arm and m68k and for the SH case it also applies the 
necessary gcc patch.


This should work on all *nix like systems and cygwin (afaik), but I'm 
interested in reports and feedback on details and possible problems.


Enjoy!

--
 Daniel Stenberg -- http://www.rockbox.org/ -- http://daniel.haxx.se/


Re: rockboxdev.sh

2006-05-25 Thread Sander Sweers
On Fri, 2006-05-26 at 01:47 +0200, Daniel Stenberg wrote:
 
 This should work on all *nix like systems and cygwin (afaik), but I'm 
 interested in reports and feedback on details and possible problems.
 
 Enjoy!
 

Thanks :) Although gcc does not build for me the script works. I have
never had =gcc-4.0.x build for m68k-elf so it is not the scripts
fault ;)

One comment, it fails if $dlwhere does not exists. This should make it
work.

if test ! -d $dlwhere;then
  mkdir $dlwhere
fi

Greets
Sander