Getting Started with RTEMS for C/C++ Users
NOTE: See Bug in Patch Utility.
/source/egcs-1.1b/libf2c /source/egcs-1.1b/gcc/objc /source/egcs-1.1b/gcc/f
NOTE: See Bug in Patch Utility.
/source/egcs-1.1b/configure --verbose --target=m68k-rtems \
--prefix=/gcc-m68k --with-gnu-as --with-gnu-ld \
--with-newlib
Replace m68k-rtems with the target configuration
of your choice. See Running the bit Script for a
list of the targets available.
make cross
You must do a make cross (not a simple make)
to insure that the different packages are built in the correct
order. Making the compiler can take several hours even on
fairly fast machines, beware.
make -k install
make -k install
With any luck, at this point you having a working cross-compiler. So as Geoffroy said:
That's it! Celebrate!
Getting Started with RTEMS for C/C++ Users
Copyright © 1988-1998 OAR Corporation