[syslinux] syslinux compilation using mingw in windows

Geert Stappers stappers at stappers.nl
Thu Mar 6 04:15:46 PST 2008


Op 05-03-2008 om 09:18 schreef poorani:
> 
> $ make
> Makefile:266: .depend: No such file or directory
> rm -f .depend
> for csrc in gethostip.c ; do gcc  -MM $csrc >> .depend ; done
> for nsrc in copybs.asm extlinux.asm isolinux-debug.asm isolinux.asm ldlinux.asm pxelinux.asm ; do nasm -DDEPEND  -o `echo $nsrc | sed -e 's/\.asm/\.bin/'` -M $nsrc >> .depend ; done
> nasm: error: no input file specified
> type `nasm -h' for help
> nasm: error: no input file specified
> type `nasm -h' for help
> nasm: error: no input file specified
> type `nasm -h' for help
> nasm: error: no input file specified
> type `nasm -h' for help
> nasm: error: no input file specified
> type `nasm -h' for help
> nasm: error: no input file specified
> type `nasm -h' for help
> make: *** [.depend] Error 1
> 

I think Microsoft Windows can not handle the `echo $nsrc  | sed -e 's/\.asm/\.bin/'`
in
   for nsrc in copybs.asm extlinux.asm isolinux-debug.asm isolinux.asm ldlinux.asm pxelinux.asm
      do
        nasm -DDEPEND  -o `echo $nsrc | sed -e 's/\.asm/\.bin/'` -M $nsrc >> .depend
      done


See if 
   for nsrc in copybs extlinux isolinux-debug isolinux ldlinux pxelinux
      do
        nasm -DDEPEND  -o $nsrc.bin -M $nsrc.asm >> .depend
      done
does work in the Windows environment.



Cheers
Geert Stappers




More information about the Syslinux mailing list