title: Compiling ALP Using NASM On Mac
body: <p>Hey guys i am trying to compile ALP in mac os using nasm. i have earlier compiled my programs on ubuntu using nasm and it worked perfectly. but now i have switched to mac. i have updated my nasm to version - 2.11 which is the latest. now when i m trying to compile my program its giving me errors.
  i m using these commands to compile</p>
  
  <p>nams -f elf/macho filename.asm</p>
  
  <p>ld -o filename filename.o</p>
  
  <p>after that its giving me this error - </p>
  
  <p>seemajains-MacBook-Air:MIL seemajain$ nasm -f macho32 assign1.asm<br>
  seemajains-MacBook-Air:MIL seemajain$ ld -o assign1 assign1.o<br>
  ld: warning: -macosx_version_min not specified, assuming 10.8</p>
  
  <p>Undefined symbols for architecture i386:                                               </p>
  
  <p>"start", referenced from:</p>
  
  <pre><code> implicit entry/start for main executable
   (maybe you meant: _start)
  </code></pre>
  
  <p>ld: symbol(s) not found for inferred architecture i386</p>
  
  <p>can any one pls help me?</p>