FreePGI and commandline-only Xcode

Trying to run FreePGI I get the following popup

Free PGI has detected a configuration problem. You must first agree to the Xcode license before using Free PGI. To agree, type sudo xcodebuild -license in any Terminal window and then restart Free PGI.

So following the instructions I get

rMBP~$ sudo xcodebuild -license
Password:
xcode-select: error: tool ‘xcodebuild’ requires Xcode, but active developer directory ‘/Library/Developer/CommandLineTools’ is a command line tools instance

I have never had to install the full Xcode for my other Fortran compilers (intel gcc) that I use only from the terminal/commandline

Hi layzarc,

Free PGI requires Xcode command line tools installed and then Xcode license agreement accepted. Please follow instructions how to get command line tools at http://www.pgroup.com/products/freepgi/getxcode.pdf

Hongyon

I did end up installing the full Xcode (after a long 2GB download!) to get FreePGI to work. The point was that its possible to run the other compilers by just installing the Commandline Tools by themselves and save 5GB of disk space.