psl-cygwin.sh 596 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #! /bin/bash -v
  2. # For Cygwin I must use the Windows version of main.s and dmain.s because
  3. # Cygwin uses the Microsoft register and calling conventions.
  4. rm -f bpsl
  5. gcc -ggdb -O0 \
  6. -Wa,--defsym,__CYGWIN__=1 \
  7. -no-pie \
  8. -DLINUX \
  9. -DBPSSIZE=20500000 \
  10. bps.c \
  11. bpsheap.c \
  12. echo.c \
  13. file-status.c \
  14. float.c \
  15. os-hooks.c \
  16. pslextras.c \
  17. pslsocket.c \
  18. pwd-fn.c \
  19. sigs.c \
  20. unix-io.c \
  21. creloc.c \
  22. formlink2.c \
  23. pslstubs.c \
  24. win-main.s \
  25. win-dmain.s \
  26. acn.s \
  27. acn1.c \
  28. -lm -ldl -lpthread \
  29. -o bpsl
  30. ./try-bpsl.sh
  31. # end of script