title: Compiling LAME for QNX
body: <p>I'm trying to compile LAME to work on a QNX host. I've tried running the following commands.</p>
  
  <pre><code>$ ./configure --host=i386-pc-qnx
  $ make
  </code></pre>
  
  <p>As you can see, it produces a 64-bit ELF file which obviously won't work on 32-bit hardware. (I also tried running it just to make sure.)</p>
  
  <pre><code>$ file lame
  lame: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=, not stripped
  </code></pre>
  
  <p>This <a href="http://lame.sourceforge.net/download.php" rel="nofollow noreferrer">link</a> says LAME can be compiled for QNX, and I get no errors when I run the configure script, so I know <code>i386-pc-qnx</code> is a valid host name.</p>
  
  <p>This is my first time cross-compiling a program, so it's quite possible I'm missing something obvious.</p>
  
  <p>Thanks!</p>