OR32 Newlib Committed to Opencores.org
Rosimildo da Silva
rdasilva at connecttel.com
Sat Sep 9 18:20:45 UTC 2000
Joel Sherrill wrote:
>
> I just committed the current RTEMS patch which includes
> or32 configuration support to the newlib repository
> at opencores.org. This means that anyone should be able
> to check out binutils, gcc, and newlib and build
> an or32-rtems toolset.
>
> NOTE: I just built C. The last time I tried C++, the
> compiler died.
>
> I can post detailed configure/build instructions but this
> much should get folks started:
>
> checkout binutils, gcc, and newlib from opencores.org
> mkdir b-binutils
> cd b-binutils
> ../binutils/configure --target=or32-rtems \
> --prefix=/opt/or32-rtems
> make all install
>
> cd ..
> cd gcc
> ln -s ..../newlib/newlib gcc/newlib
> mkdir b-gcc
> cd b-gcc
> ../gcc/configure --target=or32-rtems \
> --with-gnu-as --with-gnu-ld --with-newlib --verbose \
> --enable-threads --prefix=/opt/or32-rtems \
> --enable-languages="c"
> make all install
>
> That puts the tools in /opt/or32-rtems.
>
> NOTE: There may be some timestamp issues checking gcc
> out of cvs. Please look at the script contrib/egcs_update
> for a way to solve this.
>
> --
> 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
I have trouble compiling BINUTILS under CygWin 1.1.2:
rm -rf libiberty.a
ar rc libiberty.a \
argv.o basename.o choose-temp.o concat.o cplus-dem.o fdmatch.o
fnmatch.o getop
t.o getopt1.o getruntime.o hex.o floatformat.o objalloc.o obstack.o
pexecute.o s
paces.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o xstrdup.o
xstrerror.o
asprintf.o insque.o sigsetmask.o vasprintf.o random.o
: No such file or directory
make[2]: *** [libiberty.a] Error 1
make[2]: Leaving directory `/build/or32/binutils/libiberty'
make[1]: *** [libiberty.a] Error 2
make[1]: Leaving directory `/build/or32/binutils/libiberty'
make: *** [all-libiberty] Error 2
bash-2.04$
--
Rosimildo da Silva rdasilva at connectel.com
ConnectTel, Inc. Austin, TX -- USA
Phone : 512-338-1111 Fax : 512-918-0449
Mobile: 512-632-7579
Company Page: http://www.connecttel.com
Home Page: http://members.xoom.com/rosimildo/
More information about the users
mailing list