0

I had installed arm toolchain to build some projects. The issue is, that during my installation I had modified the 'make' from the command line tools to use the arm-gcc compiler instead of gcc.

I now want it to use gcc again. Does anyone know how I can accomplish this? Where exactly is the place where make is defined on Mac OSX?

asked May 20, 2014 at 3:34

1 Answer 1

1

You can always overwrite it in the Makefile of the project you are building:

CC=gcc

you may need the fully qualified name.

answered May 20, 2014 at 5:08
Sign up to request clarification or add additional context in comments.

2 Comments

yeah, I guess thats the way to go unfortunately, I shouldn't have installed using 'sudo' unfortunately, and I can't seem to find the bash script I used anymore... :(
You can also try to modify /etc/make.conf...that sets the default system-wide options for make.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.