Hi,

I spent some time this afternoon to investigate the current situation
for a GCC/GLibC toolchain supporting the latest Coldfire generations
mcf547x and mcf548x. It's the first non-crippeled version of the
Coldfire M68k architecture including MMU and FPU, which is usable for a
real linux kernel (or whatever). 

The latest GCC release 4.2.1 doesn't include some very hot changes for
these CPU cores yet. They seem to be scheduled for release with the
up-coming GCC 4.3.

Basically this means, that I can use 4.2.1 as basement and apply about
63 patches to get the latest coldfire changes into the GCC sources, or
wait for GCC 4.3 to be released - but that will happen about end this
year I fear.

GLibC Ports 2.6.1 seems to support these latest GCC improvements
already. 

Anyway with GCC 4.2.1 the OSELAS build process terminates at
'glibc-crt.compile' - for some reason the stage 1 GCC isn't not found
and glibc-ports can't determine the m68k target CPU. I'm not sure, if
this is caused by extremly long path names or other reasons, yet (see
below). $(CC) seems to be undefined in line 16 and bash tries to execute
'-E'.

More on this issue the next days. Any suggestions, comments or
contributions are welcomed.

Carsten

-----------

...

-------------------------
target: glibc-crt.prepare
-------------------------

cd
/home/cschlote/src/pengutronics/OSELAS.Toolchain-wc/build-target/glibc-2
.6.1-crt && eval \
 
PATH=/opt/OSELAS.Toolchain-1.1.0/m68k-mcfv4e-linux-gnu/gcc-4.2.1-glibc-2
.6.1-kernel-2.6.20.7/bin:/opt/OSELAS.Toolchain-1.1.0/m68k-mcfv4e-linux-g
nu/gcc-4.2.1-glibc-2.6.1-kernel-2.6.20.7/usr/bin:/opt/OSELAS.Toolchain-1
.1.0/m68k-mcfv4e-linux-gnu/gcc-4.2.1-glibc-2.6.1-kernel-2.6.20.7/gcc-fir
st/bin:$PATH BUILD_CC=gcc libc_cv_forced_unwind=yes
libc_cv_c_cleanup=yes "" \
 
""/opt/"OSELAS.Toolchain-1.1.0""/""m68k-mcfv4e-linux-gnu"/gcc-"4.2.1"-gl
ibc-"2.6.1"-kernel-"2.6.20.7"""/src/target/glibc-2.6.1/configure
--prefix=/usr --build=i686-pc-linux-gnu --host="m68k-mcfv4e-linux-gnu"
--target="m68k-mcfv4e-linux-gnu" --with-fp --enable-add-ons=ports,nptl
--with-headers=/opt/OSELAS.Toolchain-1.1.0/m68k-mcfv4e-linux-gnu/gcc-4.2
.1-glibc-2.6.1-kernel-2.6.20.7/sysroot-m68k-mcfv4e-linux-gnu/usr/include
--enable-kernel="2.6.16" --without-cvs --disable-sanity-checks
--enable-debug --without-gd --with-__thread --enable-shared --with-tls
checking build system type... i686-pc-linux-gnu
checking host system type... m68k-mcfv4e-linux-gnu
checking add-on ports for preconfigure fragments... am33 arm hppa m68k
/opt/OSELAS.Toolchain-1.1.0/m68k-mcfv4e-linux-gnu/gcc-4.2.1-glibc-2.6.1-
kernel-2.6.20.7/src/target/glibc-2.6.1/ports/sysdeps/m68k/preconfigure:
line 16: -E: command not found
Cannot determine m68k processor variant
make: ***
[/home/cschlote/src/pengutronics/OSELAS.Toolchain-wc/state/glibc-crt.pre
pare] Fehler 1

----------

$
/opt/OSELAS.Toolchain-1.1.0/m68k-mcfv4e-linux-gnu/gcc-4.2.1-glibc-2.6.1-
kernel-2.6.20.7/gcc-first/bin/m68k-mcfv4e-linux-gnu-gcc -v
Using built-in specs.
Target: m68k-mcfv4e-linux-gnu
Configured with:
/opt/OSELAS.Toolchain-1.1.0/m68k-mcfv4e-linux-gnu/gcc-4.2.1-glibc-2.6.1-
kernel-2.6.20.7/src/cross/gcc-4.2.1/configure --host=i686-host-linux-gnu
--target=m68k-mcfv4e-linux-gnu
--prefix=/opt/OSELAS.Toolchain-1.1.0/m68k-mcfv4e-linux-gnu/gcc-4.2.1-gli
bc-2.6.1-kernel-2.6.20.7/gcc-first
--with-sysroot=/opt/OSELAS.Toolchain-1.1.0/m68k-mcfv4e-linux-gnu/gcc-4.2
.1-glibc-2.6.1-kernel-2.6.20.7/sysroot-m68k-mcfv4e-linux-gnu
--disable-nls --disable-multilib --enable-symvers=gnu
--enable-__cxa_atexit --disable-shared --disable-threads
--enable-languages=c
Thread model: single
gcc version 4.2.1


____________
Virus checked by G DATA AntiVirusKit
Version: AVKA 17.387 from 17.08.2007

-- 
ptxdist mailing list
[email protected]

Reply via email to