Hi,

I have been trying to build sparc-rtems4.7 on the head using newlib's head for a few days now. I have finally narrowed the behavior down.

If I configure for sparc I am configuring for sparc-rtems4.7 with c and c++, it builds fine. The build process uses xgcc for newlib as one would expect. If I add ada to the --enable-languages then newlib fails to build because it picks a non-existent compile (sparc-rtems4.7-cc) to build with.

Host: Fedora Core 3.  The GCC is the default

gcc (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2)

Procedure:
+ build binutlis 2.16.1 for sparc-rtems4.7
+ co gcc head from svn
+ co newlib head from cvs
+ mv newlib under gcc
+ configure for C/C++ and make
  ../gcc-head-test/configure --target=sparc-rtems4.7 \
    --enable-threads=rtems --prefix=/home/joel/gcc-41-test/ \
    --with-gnu-as   --with-gnu-ld --with-newlib --verbose \
    --with-system-zlib --disable-nls \
    --enable-version-specific-runtime-libs --enable-languages=c,c++
  make

Builds completes.

+ configure for C/C++/Ada and make
  ../gcc-head-test/configure --target=sparc-rtems4.7 \
    --enable-threads=rtems --prefix=/home/joel/gcc-41-test/ \
    --with-gnu-as   --with-gnu-ld --with-newlib --verbose \
    --with-system-zlib --disable-nls \
    --enable-version-specific-runtime-libs --enable-languages=c,c++,ada
  make

Build fails when newlib attempts to compile with sparc-rtems4.7-cc.

Help is really appreciated. I wanted to provide some feedback on the Ada status.

--
Joel Sherrill, Ph.D.             Director of Research & Development
[EMAIL PROTECTED]                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (256) 722-9985

Reply via email to