Changes between Version 3 and Version 4 of TBR/UserManual/RTEMS_Development_Hosts


Ignore:
Timestamp:
Jun 24, 2007, 5:59:55 PM (14 years ago)
Author:
Stass
Comment:

add freebsd information

Legend:

Unmodified
Added
Removed
Modified
  • TBR/UserManual/RTEMS_Development_Hosts

    v3 v4  
    2929
    3030That's it.  You should be able to configure and build RTEMS at the point.  If targeting a simulator BSP included with GDB (sparc/sis, powerpc/psim, or mips/jm43904), you should be able to generate and run target executables in a matter of minutes.  Configuring qemu so that it will boot an RTEMS application for the i386/pc386 takes a bit longer but is still quite straightfoward. Normally it takes longer to download the tools via ftp than to build RTEMS.
     31= The FreeBSD Operating System =
     32
     33FreeBSD's ports collection contains up-to-date version of gnu-tools, which is suitable for rtems development. There's even preconfigured ports/packages for the most popular architectures, namely:
     34 *  arm
     35 *  i386
     36 *  m68k
     37 *  mips
     38 *  powerpc
     39 *  sh
     40 *  sparc.
     41
     42They either can be installed as pre-build packages, if available for your platform, or build via ports, e.g.:
     43 cd /usr/ports/devel/sparc-rtems-gcc && make install
     44 cd /usr/ports/devel/sparc-rtems-gdb && make install
     45
     46You can also specify default cpu optimization and FPU type for gcc, e.g.:
     47 cd /usr/ports/devel/powerpc-rtems-gcc && make WITH_CPU=860 WITH_FLOAT_TYPE=soft
     48
     49If you want to build rtems toolchain for architecture not available as slave port, you can build it directly using cross-binutils/cross-gcc/cross-gcc ports. For example, to build gcc toolchain for the cris microprocessor, issue the following:
     50 cd /usr/ports/devel/cross-gcc && make TGTARCH=cris TGTABI=rtems WITH_RTEMS_PATCHES=yes