#19733: Gnatmake uses Apple's gcc by default ------------------------------+--------------------------------------------- Reporter: jarimatti@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: gnatmake | Port: gnat-gcc ------------------------------+--------------------------------------------- After installation the gnatmake uses Apple's gcc (4.0.1), which does not have Ada. The workaround is to pass parameters via the command line (or via other means). Would it be possible to make the gnatmake use the gnat-gcc compilers out of the box? Or at least output a note when installing that you need to do this? Sample call and output: {{{ % gnatmake hello.adb gcc -c hello.adb i686-apple-darwin8-gcc-4.0.1: hello.adb: Ada compiler not installed on this system gnatmake: "hello.adb" compilation error }}} Sample call with compiler defined: {{{ % gnatmake --GCC=gcc-gnat-4.3 --GNATLINK="gnatlink --GCC=gcc-gnat-4.3" hello.adb gcc-gnat-4.3 -c -gnato -fstack-check -gnatE -gnaty hello.adb gnatbind -x hello.ali gnatlink hello.ali -fstack-check --GCC=gcc-gnat-4.3 }}} -- Ticket URL: <http://trac.macports.org/ticket/19733> MacPorts <http://www.macports.org/> Ports system for Mac OS