<pre>Hi, iolib developers<br><br>I'm not sure why need a (gcc-cpu-flags) function to detect a gcc compile<br>flag (-m32/-m64) and use this to compile C files.<br><br>First, use (cffi:foreign-type-size :int) to guess is wrong at least on
<br>amd64 Linux: (cffi:foreign-type-size :int) return 4 on amd64 Linux, so<br>you guess wrong to 32-bit.<br><br>Second, if you guess wrong, a 64-bit Lisp process will can not load a<br>32-bit library.<br><br>If I disable this (gcc-cpu-flags), gcc with no -m32/-m64 can always do
<br>the right thing on both 32 and 64-bit platform, and the Lisp process can<br>load this library. (I'm just doing this on Debian GNU/Linux amd64 and<br>LispWorks 5.0.2 Enterprise Edition for AMD64 Linux.) Am I right?
<br><br>Thanks.<br></pre>Chun Tian (binghe)<br><br>