GCC build problem

Joel Sherrill joel.sherrill at OARcorp.com
Mon Jan 12 17:53:10 UTC 2004


Duncan Smith wrote:
> Background info
> ============
> -       I am attempting to build gcc-3.2.1 as this is the latest version
> available from the RTEMS ftp site with a corresponding RTEMS diff file. I am
> using newlib-1.10 with its corresponding diff file for the same reason.

What about /pub/rtems/releases/4.6.0pre5/tools?  I see lots of diffs
newer than what you are refering to:

./rtems-4.6-binutils-2.13.2.1-1/source/binutils-2.13.2.1-rtems-20030901.diff
./rtems-4.6-gcc3.2.3newlib1.11.0-1/source/gcc-3.2.3-rtems-20030826.diff
./rtems-4.6-gcc3.2.3newlib1.11.0-1/source/newlib-1.11.0-rtems-20030605.diff
./rtems-4.6-gdb-5.2-1/source/gdb-5.2-rtems-base-20030211.diff
./rtems-4.6-gdb-5.2-1/source/gdb-5.2-rtems-cg-20030211.diff
./rtems-4.6-gdb-5.2-1/source/gdb-5.2-rtems-rdbg-20030211.diff


> -       The intended build, installation and target platform is
> sparc-sun-solaris2.5.1 and this is apparently recognised by the configure
> script. The present intended application is to use gcc with RTEMS to compile
> for posix.
> 
> -       I have followed the installation instructions supplied with gcc to
> deduce the appropriate configure options and consequently omitted any
> --target= option for a native build. (NB I have also tried
> --target=sparc-rtems though this leads to other build failure problems).
> 
> -       I have not already installed binutils as I am using the gcc v2.8 to
> build v3.2.1. Gcc 2.8 is already installed natively on the host machine.

You have to have a sparc-rtems binutils along with gcc+newlib.  Just
because you are on a sparc machine does not mean that you can use
the native binutils.

In fact, newer binaries for this entire toolchain are on
ftp.rtems.com.

> #############################################################
> 
> The information contained in this email and any subsequent
> correspondence is private and is intended solely for the 
> intended recipient(s). For those other than the intended
> recipient(s) any disclosure, copying, distribution, or any 
> action taken or omitted to be taken in reliance on such 
> information is prohibited and may be unlawful.
> 
> #############################################################

You really shouldn't post to public lists with this disclaimer.

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




More information about the users mailing list