Fix workaround description

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2818 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2010-07-30 12:41:02 +00:00
parent fb3d731457
commit d8e2f1f522

View File

@ -2746,7 +2746,11 @@ 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>
<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_i386</code> to the <code>LDFLAGS</code>.
See the patch file <code>0001-Quick-hacks-to-build-sim-nsh-ostest-on-x86_64-as-32-.patch</code>
that can be found in NuttX <a href="http://tech.groups.yahoo.com/group/nuttx/files">files</a>.
</small></p>
</li>
</ul>
</p>