I’m tring to put blender on a dreamcast, see my thread here.
I am using [this article](http://www.linuxdevices.com/articles/AT7875554667.html) on how to put linux on dreamcast .
Farther down the page, were it has this script
# tar xzf glibc-2.2.4.tar.gz
# patch -p0 < glibc-2.2.4-sh-linux.diff
# mkdir -p build-glibc && cd build-glibc
# mkdir -p ${PREFIX}/${TARGET}/include
# cp -r ../kernel/include/linux \
${PREFIX}/${TARGET}/include
# cp -r ../kernel/include/asm-sh \
${PREFIX}/${TARGET}/include/asm
# CC=sh4-linux-gcc ../glibc-2.2.4/configure \
--host=$TARGET --prefix=$PREFIX \
--disable-debug --disable-profile \
--disable-sanity-checks \
--with-headers=${PREFIX}/${TARGET}/include
# make
# touch iconv/iconv_prog login/pt_chown
# make install_root=${PREFIX}/${TARGET} \
prefix="" install
# echo "GROUP ( libc.so.6 libc_nonshared.a )" \
> ${PREFIX}/${TARGET}/lib/libc.so
# cd ..
I can't get the following to work.
# CC=sh4-linux-gcc ../glibc-2.2.4/configure \
--host=$TARGET --prefix=$PREFIX \
--disable-debug --disable-profile \
--disable-sanity-checks \
--with-headers=${PREFIX}/${TARGET}/include
Here are the last few lines that come up when running the script.
[root@localhost build-glibc]# CC=sh4-linux-gcc ../glibc-2.2.4/configure \
loading cache ./config.cache
checking host system type... config.sub: missing argument
Try `config.sub --help' for more information.
*** The GNU C library is currently not available for this platform.
*** So far nobody cared to port it and if there is no volunteer it
*** might never happen. So, if you have interest to see glibc on
*** this platform visit
*** http://www.gnu.org/software/libc/porting.html
*** and join the group of porters
What I'm asking is if I really need Glibc for the linux dreamcast (which I probibly do) and how I could make this work. I also have Linux Red Hat 9 (not installed) and a extra hard drive. Would Glibc work on Red Hat 9?
Any help is appreciated, thank you.