sy2002 / QNICE-FPGA

QNICE-FPGA is a 16-bit computer system for recreational programming built as a fully-fledged System-on-a-Chip in portable VHDL.
http://qnice-fpga.com
Other
70 stars 15 forks source link

emulator/make-vga.bash does not work on Macs with old XCode #78

Closed sy2002 closed 4 years ago

sy2002 commented 4 years ago

Right now, make-vga.bash builds a static build, so that sharing the emulator with others who might not have installed SDL is easier. On Mac, sdl2-config is not returning the right string to build statically, so the bash script contains a workaround. It works on newer XCode revisions, but for example breaks on the machine of @bernd-ulmann who has this version of XCode:

➜  tools git:(develop) ✗ source detect.include; echo $COMPILER; $COMPILER
--version

cc
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
➜  tools git:(develop) ✗ 
sy2002 commented 4 years ago

@MJoergen and @bernd-ulmann Can you please delete your local VGA emulator and re-run emulator/make-vga.bash (and Bernd: I need to torture you to test it on both of your Macs, you know why... :-) )

bernd-ulmann commented 4 years ago

I could only test on my "problematic" Mac at the moment since the Notebook is at Rikka's home, but here, make-vga.bash now works perfect. If it works on your Mac as well, I think the problem is solved. :-)