Saturday, August 25, 2012

gcc not found in mac terminal

After upgrading to OSX 10.8 Mountain Lion, gcc compiler package was lost and gcc command seems missing. 
When entering 'gcc -v' command in terminal, it displayed gcc command not found. 

To install gcc back, Command line tools in Xcode should be installed.

Open Xcode, go to preferences... Command Line Tools is in Downloads section. 

If Command Line Tools is not installed, just install it or update it.

gcc compiler installed or not can be checked by entering 'gcc -v' or simply 'gcc' command.

1 comment:

  1. Slots Empire - Hotel & Casino - JT Hub
    Enjoy the action and excitement at Slot Empire 오산 출장마사지 - 전주 출장샵 Hotel & Casino in Carson City, 부천 출장안마 Nevada. We 영주 출장안마 have over 100 different types 의왕 출장마사지 of Casino games,

    ReplyDelete