mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
Changing NuttX fixed size type names to C99 standard names -- things will be broken for awhile
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2335 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
+15
-10
@@ -29,16 +29,21 @@ Download and Unpack:
|
||||
|
||||
A Note about Header Files:
|
||||
|
||||
NuttX compiles without using the standard header files that are
|
||||
distributed with your toolchain. That is correct behavior in most
|
||||
cases because the header files bundled with your toolchain (such as
|
||||
stdio.h) are probably not correct for use with NuttX. Certain
|
||||
header files, such as setjmp.h, may be needed from your toolchain.
|
||||
In that case, one solution is to copy that file from your toolchain
|
||||
into the NuttX include directory. If you prefer to use the stdint.h
|
||||
and stdbool.h header files from your toolchain, those could be copied
|
||||
too. Using most other header files from your toolchain would probably
|
||||
cause errors.
|
||||
Some toolchains are built with header files extracted from a C-library
|
||||
distribution (such as newlib). For those toolchains, NuttX must be
|
||||
compiled without using the standard header files that are distributed
|
||||
with your toolchain. This prevents including conflicting, incompatible
|
||||
header files (such as stdio.h).
|
||||
|
||||
Certain header files, such as setjmp.h and varargs.h, may still be
|
||||
needed from your toolchain, however. If that is the case, one solution
|
||||
is to copy those header file from your toolchain into the NuttX include
|
||||
directory.
|
||||
|
||||
Also, if you prefer to use the stdint.h and stdbool.h header files from
|
||||
your toolchain, those could be copied into the include/ directory too.
|
||||
Using most other header files from your toolchain would probably cause
|
||||
errors.
|
||||
|
||||
CONFIGURING NUTTX
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
Reference in New Issue
Block a user