diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-07-27 12:39:19 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-07-27 12:39:19 +0000 |
commit | f2897e1139d00e6b1187d2b6f86c6783651ec602 (patch) | |
tree | 30ea53e427022664b9bfd9f0c45b5325b01a5b0d | |
parent | 5f2c5e60692934708e60dcfcd60e62c293265533 (diff) | |
download | px4-nuttx-f2897e1139d00e6b1187d2b6f86c6783651ec602.tar.gz px4-nuttx-f2897e1139d00e6b1187d2b6f86c6783651ec602.tar.bz2 px4-nuttx-f2897e1139d00e6b1187d2b6f86c6783651ec602.zip |
Add instructions for 32-bit sim build
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2814 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r-- | nuttx/Documentation/NXGraphicsSubsystem.html | 3 | ||||
-rw-r--r-- | nuttx/TODO | 10 |
2 files changed, 10 insertions, 3 deletions
diff --git a/nuttx/Documentation/NXGraphicsSubsystem.html b/nuttx/Documentation/NXGraphicsSubsystem.html index 382ca06dc..55bf92f18 100644 --- a/nuttx/Documentation/NXGraphicsSubsystem.html +++ b/nuttx/Documentation/NXGraphicsSubsystem.html @@ -12,7 +12,7 @@ <h1><big><font color="#3c34ec"> <i>NX Graphics Subsystem</i> </font></big></h1> - <p>Last Updated: April 23, 2010</p> + <p>Last Updated: July 27, 2010</p> </td> </tr> </table> @@ -2746,6 +2746,7 @@ make <li> The sim target itself is broken under 64-bit Linux. This is because the sim target is based upon some assembly language setjmp/longjmp logic that only works on 32-bit systems. + <p><small><b>NOTE</b>: There is a workaround in this case; you can build for 32-bit execution on a 64-bit machine by adding <code>-m3</code> to the <code>CFLAGS</code> and <code>-m32 -m elf_i38</code> to the <code>LDFLAGS</code>.</small></p> </li> </ul> </p> diff --git a/nuttx/TODO b/nuttx/TODO index b50d22549..849a21586 100644 --- a/nuttx/TODO +++ b/nuttx/TODO @@ -1,4 +1,4 @@ -NuttX TODO List (Last updated July 19, 2010) +NuttX TODO List (Last updated July 27, 2010) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ (5) Task/Scheduler (sched/) @@ -582,7 +582,13 @@ o Linux/Cywgin simulation (arch/sim) to pointers on a 64-bit host. 2) up_setjmp.S does not build Status: Open - Priority: Medium and increasing (as 32-bit hosts gradually disappear) + Priority: Medium and increasing (as 32-bit hosts gradually disappear). NOTE + is it possible to work-around this limitation by building the sim + target for 32-bit operation on a 64-bit platform. Simply modify the + Make.defs file in the appropriate places so that: + + ARCHCPUFLAGS = -m32 -fno-builtin + LDFLAGS += -m32 -m elf_i386 o ARM (arch/arm/) ^^^^^^^^^^^^^^^ |