[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Compiled RTEMS!
- Date: Fri, 6 Mar 1998 20:16:06 -0500
- From: erik.ivanenko at utoronto.ca (erik.ivanenko)
- Subject: Compiled RTEMS!
Thanks for the input, I have managed to compile rtems-980219!
The INSTRUCTIONS simply do not work. I am using:
binutils-2.8.1
egcs-980214 ( Thanks Geoffrey ! )
native gcc-2.7.1
gmake-3.74
newlib-1.8.0
patches:
newlib-1.8.0-diff.980120
binutils-2.8.1-rtems-diff-971221
one-tree build of egcs:
one-egcs.sh
Changed Makefile to NOT build doc, info, libf2c, examples.
Changed Makefile to NOT install-info, install-man
did :
rm -rf gcc/f2c gcc/objc /* should also rm -rf libf2c */
./one-egcs.sh
mkdir build
cd build
../src/configure --target=i386-rtems --with-targets=all --with-gnu-as
--with-gnu-ld --prefix=/home/cross/tools
Then in /usr/local/bin, made symbolic links to all
/home/cross/tools/bin/i386-rtems-<prog_name> with
i386-rtems-<prog_name>
( Being extra safe.. one could simple copy, or --prefix=/usr/local I
suppose)
then,
gmake CC=gcc CFLAGS="-O2 -g" all install
cd gcc
rm -f xlimits.h *.a
gmake CC=gcc CFLAGS="-O2 -g" libgcc.a all install
The INSTRUCTIONS for building rtems however.....
in rtems-980219,
rm config.cache
./configure --target=i386-rtems --disable-posix --enable-ka9q
--enable-gcc28 --enable-rtemsbsp=i386ex --prefix=/home/cross/tools
--srcdir=/home/cross/rtems-980219 --exec-prefix=/home/cross/tools
--disable-tests --program-prefix=i386-rtems-
make all
make install
And no errors.
On Monday, I'll run some tests ( I hope !) I have to add my new
bsp. ( And update i386ex to use the 2.8 extensions. The 2.8
extensions are one reason for the switch. Being current is another )
Thanks !
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vcard.vcf
Type: text/x-vcard
Size: 291 bytes
Desc: Card for Erik Ivanenko
Url : http://rtems.rtems.org/pipermail/rtems-users/attachments/19980306/266528a7/attachment.vcf