logo       

[linux-sh:03170] Re: HP 620LX (SH-7709) Problems: msg#00005

linux.ports.sh.general

Subject: [linux-sh:03170] Re: HP 620LX (SH-7709) Problems

Kaz Kojima wrote:
gcc-3.3.x and glibc-2.3.2 would be ok for the userland programs,
though it might be not so appropriate for building kernel.
At least, -fno-zero-initialized-in-bss option is required when
compiling kernel with gcc-3.3.x. Almost folks are using locally
patched gcc-3.2.x for the kernel work yet, I think.
If you can use RPMs, you can get (S)RPMS of such toolchain from
http://www.sh-linux.org/rpm-index-2003/index.html
for expample. I keep a patch for gcc-3.2.2
http://dodo.nurs.or.jp/~kkojima/gnu-on-sh/gcc-3.2.2-tmp.diff.gz
which may be slightly imcomplete but enough for kernel.

For what it's worth, I successfully compiled and
booted an sh4 kernel with (IIRC) gcc-3.3.1 and crosstool
(that was before gcc-3.3.2 came out).
Kaz helped me figure out the compiler options and patches needed,
and I carry the patches forward in newer versions of http://kegel.com/crosstool.

(I have to give back my sh4 hardware today, so I won't be doing
any more SH testing unless someone sends me a Linux-capable SH system...)
- Dan

--
US citizens: if you're considering voting for Bush, look at these first:
http://www.misleader.org/
http://www.cbc.ca/news/background/arar/
http://www.house.gov/reform/min/politicsandscience/



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise