lm32 port and gcc 4.3

Michael Walle michael at walle.cc
Sun Feb 22 16:42:40 UTC 2009


Am Sunday 22 February 2009 15:59:44 schrieb Ralf Corsepius:
> c) Try to back-port lm32-gcc patches to gcc-4.3.3
> Problem: So far no functional patch. The gcc-4.4.0 patch is incompatble
> to gcc-4.4.0
I have no idea if it helps, but i ported that lm32 patch posted on the gcc 
mailinglist together with the rtems gcc 4.3.3 patch to gcc-4.3.3 vanilla.

I attached the diff. I have no clue about the internals of the gcc, so i just 
ported it and hoped it works ;)

Well it did - at least for the hello world example in rtems. I sucessfully 
tried it on a lm32.

I've built the toolchain with the newlib symlink and
../gcc-4.3.3/configure --prefix=/home/mw/opt/lm32 --target=lm32-rtems4.10 
  --enable-languages=c,c++ --with-newlib --enable-sjlj-exceptions
  --disable-nls --enable-threads --disable-libstdcxx-pch --disable-libssp
  --with-gnu-as --with-gnu-ld --verbose --disable-shared --without-headers


-- 
  Michael

---
Don't cry because it is over, smile because it happened.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-4.3.3.patch.gz
Type: application/x-gzip
Size: 27644 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20090222/b718570a/attachment-0001.bin>


More information about the users mailing list