Changes between Version 6 and Version 7 of Building/RTEMS


Ignore:
Timestamp:
Mar 12, 2015, 3:14:24 PM (5 years ago)
Author:
Gedare Bloom
Comment:

Replace build advice with pointer to RSB.

Legend:

Unmodified
Added
Removed
Modified
  • Building/RTEMS

    v6 v7  
    77
    88The primary source of information about building and configuring RTEMS is '''always''' the '''''Getting Started''''' manual for the RTEMS version you are using (see http://www.rtems.com/onlinedocs.html.  This section contains answers to some frequently asked questions.
    9 = Required Tools =
    109
    11 
    12  * Which tools are required to build RTEMS?
    13  * Do I need autoconf and automake to build RTEMS?
    14  * Do I need a native gcc on my host?
    15  * Can I use a non-gcc cross-toolchain?
    16  * Where to get autoconf automake ld gcc etc.?
    17  * [wiki:Building/RPM_Packages Building the Tool RPM packages]
    18 = Issues when building RTEMS =
    19 
    20 
    21  * When running ./configure weird thing start to happen
    22  * When running bootstrap weird thing start to happen
    23  * configure xxx cannot create executables
    24  * Why can I not build RTEMS inside of the source tree?
    25  * Which environment variables to set?
    26  * Compiler /Assembler /Linker report errors
    27  * How to set up $PATH?
    28  * Can I build RTEMS Canadian Cross?
    29  * Building RTEMS is slow
    30  * Building my pre-4.5.x BSPs does not work anymore
    31 
    32 Get rest from build45.t in FAQ and continue.
    33 = Issue relating to Debuging and Building =
    34 
    35 
    36  * Does building with `make VARIANT=DEBUG' cause RTEMS_DEBUG to get defined?
    37 No.
    38 
    39  * How do I cause RTEMS_DEBUG to get defined
    40 In newer snapshots it's --enable-rtems-debug.
    41 In older versions you had to define it inside the target-opts
    42 section in your BSP's <BSP>.cfg.
    43 
    44  * What exactly does VARIANT=debug do?
    45 Builds with less optimisation
    46 
    47  * What does RTEMS_DEBUG do?
    48 Enables debug checks inside the RTEMS kernel, including
    49 memory heap walking.
    50 
    51  * What do errors referring to GMP and MPFR mean?
    52 This usually indicates that the GCC port you are using to '''build''' the RTEMS gcc is missing the libraries GMP and MPFR.
    53 You must obtain and build GMP and MPFR.  Then, use the (for example) --with-mpfr-lib=''path_to_mpfr'' option when running configure.
    54 = Building Under Cygwin =
    55 
    56 
    57 [wiki:Building/UnderCygwin BuildingUnderCygwin] documents obtaining the latest pre-4.7 release (RTEMS-4.6.99.3 snapshot), installing an appropriate tool set, building RTEMS, and installing Insight/GDB.  This procedure was tested using a Xilinx ml403 development board, which contains a Virtex-4 FX12 device with its embedded PowerPC.
     10The recommended approach to building tools is to use the [wiki:TBR/UserManual/RTEMS_Source_Builder RTEMS Source Builder].