Getting Started with RTEMS for C/C++ Users
NOTE: See Bug in Patch Utility.
/source/gcc-2.95.3/libf2c /source/gcc-2.95.3/gcc/objc /source/gcc-2.95.3/gcc/f
NOTE: See Bug in Patch Utility.
/source/gcc-2.95.3/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 Using 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
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-2000 OAR Corporation