Changeset 537449c in rtems for doc/FAQ/build45.t
- Timestamp:
- Jan 22, 2003, 1:47:32 PM (18 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 62b24fe
- Parents:
- 8a86d78
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/FAQ/build45.t
r8a86d78 r537449c 58 58 @subsection Do I need gcc-2.9x for cross compilation? 59 59 60 [FIXME: Partially obsolete] 61 60 62 Not necessarily, but gcc-2.9x is highly recommended, because most development 61 63 has taken place using gcc-2.9x and previous versions of gcc are not actively 62 64 supported in RTEMS anymore (@ref{Can I use a non-gcc cross-toolchain?}). 63 65 64 @subsection Where to get autoconf automake ld gcc etc. 66 @subsection Where to get autoconf automake ld gcc etc.? 65 67 66 68 The sources of all gnutools are available at any 67 @uref{ GNU,ftp://ftp.gnu.org} mirror.69 @uref{ftp://ftp.gnu.org,GNU} mirror. 68 70 Native Linux binaries should come with any Linux distribution. 69 71 Native Cygwin binaries should be available at Cygnus. … … 71 73 GNU-Toolchain binaries (gcc, binutils etc.) for Linux and patches required 72 74 to build them from source are available from 73 @uref{ OAR Corporation,ftp://ftp.oarcorp.com}.75 @uref{ftp://ftp.oarcorp.com,OAR Corporation}. 74 76 75 77 … … 90 92 @end example 91 93 94 @subsection When running bootstrap weird thing start to happen 95 96 Many possibile causes: Most likely one of these: 97 @itemize @bullet 98 @item You are trying to build RTEMS with insufficient or incompatible 99 versions of autoconf and automake. 100 @item The autotools can't be found because your $PATH might not be set up 101 correctly (Cf. @ref{How to set up $PATH?}) 102 @item You have used configure-script options which interfer with RTEMS 103 configuration (Cf. @ref{configure --program-[prefix|suffix|transform-name]}) 104 @item You have tripped over a bug in RTEMS ;) 105 @end itemize 106 107 @subsection configure xxx cannot create executables 108 109 While running a configure script, you see a message like this: 110 @example 111 checking for m68k-rtems-gcc... (cached) m68k-rtems-gcc 112 checking for C compiler default output... configure: error: C compiler cannot create executables 113 configure: error: /bin/sh '../../../../rtems-ss-@value{VERSION}/c/make/configure' 114 failed for c/make 115 @end example 116 This kind of error message typically indicates a broken toolchain, broken 117 toolchain installation or broken user environment. 118 119 Examinating the @code{config.long} corresponding to the the failing 120 configure script should provide further information of what 121 actually goes wrong (In the example above: @code{<target>/c/<BSP>/make/config.log}) 122 92 123 @subsection Why can I not build RTEMS inside of the source tree? 93 94 124 95 125 The build-directory hierarchy is setup dynamically at configuration time. … … 131 161 132 162 RTEMS >= 4.6.0 configuration is prepared for building RTEMS Canadian Cross, 133 however building RTEMS Canadian Cross is known to be in it 's infancy, so163 however building RTEMS Canadian Cross is known to be in its infancy, so 134 164 your mileage may vary (See @code{README.cdn-X} in the toplevel directory of 135 165 RTEMS's source tree for details.) … … 152 182 @subsection make debug_install / make profile_install 153 183 184 [FIXME:Partially obsolete] 185 154 186 These make targets are not supported anymore. Instead, use: 155 187 … … 160 192 161 193 @subsection make debug / make profile 194 195 [FIXME:Partially obsolete] 162 196 163 197 These make targets are not supported anymore. … … 185 219 186 220 @subsection Editing auto* generated files 187 188 221 189 222 RTEMS uses automake, therefore @b{never}, @b{ever}, @b{ever} … … 232 265 @subsection How to merge pre-RTEMS-4.5.0 BSPs into RTEMS-4.5.0? 233 266 234 The simple answer is that between 4.0 and now, RTEMS has moved to automake 267 [FIXME:Partially obsolete] 268 269 The simple answer is that between 4.0 and 4.5.0, RTEMS has moved to automake 235 270 and greater compliance with GNU conventions. 236 271 In 4.0, there was a single configure script at the top of the tree. 237 272 Now RTEMS is configured more like other GNU tools -- as a collection of 238 273 configurable entities. 239 240 274 241 275 Each BSP now has its own configure script. … … 264 298 It is also known to work in individual cases, but your mileage may vary. 265 299 300 @subsection What is the cpukit? 301 302 [FIXME:To be extended] 303 304 One major change having been introduced to RTEMS-4.6.0 is the cpukit, 305 located below the directory @code{cpukit/} in RTEMS's toplevel directory. 306 266 307 @subsection Multilib vs. RTEMS CPU-variants 267 308 … … 352 393 and underlying tools installed (Cf. @ref{Required Tools}). 353 394 395 @subsection configure --program-[prefix|suffix|transform-name] 396 397 These are generic configure script options automatically added by autoconf. 398 RTEMS configuration does not support these, worse, they interfer with 399 RTEMS's configuration -- i.e. @b{do not use them}. 400 354 401 @subsection configure.ac vs. configure.in 355 402 … … 359 406 RTEMS > 4.5.0 applies autoconf >= 2.50, therefore all former RTEMS's 360 407 @code{configure.in}'s have been renamed into @code{configure.ac} and 361 adapted to autoconf >= 2.50 demands. 408 have been adapted to autoconf >= 2.50 demands. 409 410 @subsection Reporting bugs 411 412 Several possibilities (In decreasing preference): 413 @itemize @bullet 414 @item File a bug report at @uref{http://www.oarcorp.com/cgi-bin/gnatweb.pl,OAR's GNAT} 415 @item Send an email to @uref{mailto:rtems-bugs@@OARcorp.com,rtems-bugs@@OARcorp.com} 416 @item Report your problem to one of the RTEMS mailing lists 417 (Cf. @ref{Are there any mailing lists?}). 418 @end itemize
Note: See TracChangeset
for help on using the changeset viewer.