Build problem with "or32" target tools - further info

Paul Cadaret rtems at usd.com
Fri Jan 2 22:42:08 UTC 2004


Hello,
In regard to the problem I am having building the GNU tools for a 'or32' 
target on Solaris-7 I decided to take another approach and I wanted to 
report the results I have had.

I decided to try the 'RTEMS Download Helper'.  I picked:

    current snapshot
    OpenRisc32
    Solaris/Sparc
    x-Tool Source
    x-C++ Binaries

This generates the following URL:
http://www.rtems.com/cgi-bin/dl-helper?version=snapshot&target=or32&host=solaris&want_toolsrc=on&want_cxx=on

In the 'Tool Source'  section the page shows the following links:
ftp://ftp.rtems.com/pub/rtems/snapshots/c_tools/LATEST-BINUTILS/source/binutils-2.13.2.1.tar.bz2
ftp://ftp.rtems.com/pub/rtems/snapshots/c_tools/LATEST-GCCNEWLIB/source/gcc-3.2.3.tar.bz2
ftp://ftp.rtems.com/pub/rtems/snapshots/c_tools/LATEST-GCCNEWLIB/source/gcc-3.2.3-rtems-20030507a.diff
ftp://ftp.rtems.com/pub/rtems/snapshots/c_tools/LATEST-GCCNEWLIB/source/newlib-1.11.0.tar.gz
ftp://ftp.rtems.com/pub/rtems/snapshots/c_tools/LATEST-GCCNEWLIB/source/newlib-1.11.0-rtems-20030605.diff

The important point here is that it appears that the tools I am supposed 
to use are in the:
LATEST-BINUTILS and LATEST-GCCNEWLIB directories.

I then performed the following:

    - downloaded all of the files,
    - unpacked binutils
    - Configured, built, & installed  binutils for the or32-rtems target
    ;  worked OK
    - unpacked gcc
    - applied gcc patches
    - unpacked newlib
    - applied newlib patches
    - created symlink in gcc source tree to newlib subdir in the
    unpacked & patched newlib source tree
    - ran configure in my gcc build dir
    (.../LATEST-GCCNEWLIB/gcc-3.2.3/build.or32-rtems)

'configure' was invoked as:

    + /bin/sh ../src/configure --prefix=/tools/local.or32-rtems
    --target=or32-rtems --program-prefix=or32-rtems- --with-gnu-as
    --with-gnu-ld --with-newlib --verbose --enable-threads
    --enable-languages=c,c++ --disable-nls

It died the same as before:

    ...
    checking whether times is declared... yes
    checking for struct tms... yes
    checking for clock_t... yes
    checking if mkdir takes one argument... no
    Configuration or32-unknown-rtems not supported       
    <<<================ Note
    Configure in
    /sd/c0t8d0/opt1/web/sites/ftp.rtems.com/tools/LATEST-GCCNEWLIB/gcc-3.2.3/build.or32-rtems/gcc
    failed, exiting.

As with my previous post, any guidance here would be appreciated.

Thanks much.
Paul




More information about the users mailing list