On 06/12/2016 12:39 PM, Pascal wrote: > What about gnatmake? > Can you modify Makefile to force gnatmake instead gprbuild as a workaround? > (suppress or comment the second line of Makefile, the one begining with > GPRCHECK) I modified gnoga/Makefile so that it begins
PREFIX=$(shell echo $(dir $(shell which gnatls)) | sed "s:/cygdrive/\\(.\\):\\1\\::" ).. #GPRCHECK=$(shell gprbuild --version) TARGET=$(shell gcc -dumpmachine) ATOMIC_ACCESS=GCC-long-offsets #if using GNAT GPL prior to 2014 or earlier on a 32bit host (Windows or Linux) #you need to change this to: # #ATOMIC_ACCESS=GCC-built-ins #ifeq ($(strip $(findstring GPRBUILD, $(GPRCHECK))),GPRBUILD) # BUILDER=gprbuild -vP2 --target=${TARGET} # CLEANER=gprclean --target=${TARGET} #else BUILDER=gnatmake CLEANER=gnatclean #endif This gets me further, but gprbuild is still invoked later on: cd deps/zanyblue && make -C src BUILD=Debug setup library zbmcompile.app make[1]: Entering directory `/home/jrcarter/Code/gnoga/deps/zanyblue/src' mkdir -p ../include/zanyblue cp -p ../src/root/zanyblue.ads ../include/zanyblue/zanyblue.ads ... cp -p ../src/utils/zanyblue-utils.adb ../include/zanyblue/zanyblue-utils.adb gprbuild -p -XOS=unix -XTYPE=static -XBUILD=Debug -XV_MAJOR=1 -XV_MINOR=3 -XV_PATCH=0 -XV_STATUS=Beta -aP../lib/gnat -aP../src -P zblib.gpr object directory "/home/jrcarter/Code/gnoga/deps/zanyblue/src/./obj" created library directory "/home/jrcarter/Code/gnoga/deps/zanyblue/src/../lib/zanyblue" created for project zblib zblib.gpr:38:09: warning: no compiler specified for language "Ada", ignoring all its sources zblib.gpr:55:28: warning: libraries are not supported on this platform gprbuild: no sources to compile make -C zbmcompile make[2]: Entering directory `/home/jrcarter/Code/gnoga/deps/zanyblue/src/zbmcompile' gprbuild -p -XOS=unix -XTYPE=static -XBUILD=Debug -XV_MAJOR=1 -XV_MINOR=3 -XV_PATCH=0 -XV_STATUS=Beta -aP../../lib/gnat -aP../../src -P zbmcompile exec directory "/home/jrcarter/Code/gnoga/deps/zanyblue/src/zbmcompile/../../bin" created for project zbmcompile zbmcompile.gpr:40:09: warning: no compiler specified for language "Ada", ignoring all its sources zanyblue.gpr:39:17: no languages defined for this project zanyblue.gpr:44:29: warning: libraries are not supported on this platform gprbuild: "zbmcompile" processing failed make[2]: *** [all] Error 4 make[2]: Leaving directory `/home/jrcarter/Code/gnoga/deps/zanyblue/src/zbmcompile' make[1]: *** [zbmcompile.app] Error 2 make[1]: Leaving directory `/home/jrcarter/Code/gnoga/deps/zanyblue/src' make: *** [zanyblue] Error 2 -- Jeff Carter "What I wouldn't give for a large sock with horse manure in it." Annie Hall 42 ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ Gnoga-list mailing list Gnoga-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnoga-list