On Tue, May 11, 2010 at 9:15 PM, Sa?l Ibarra Corretg? <saul at ag-projects.com> wrote: > Hi, > > While trying to compile PJSIP with a compiler different than the default > (/usr/bin/gcc-4.0 instead of /usr/bin/gcc) I noticed that setting the CC > environment variable has no real effect on the compilation. > > After diving a while, I think the problem is in build/cc-gcc-mak file. This > exports the CC variable, thus overriding whatever the user has set. > That's correct. This has been fixed in the iphone branch, which we'll merge into trunk shortly. With that, many more environment variables will be honored, including AR, RANLIB, CXX, etc. Cheers Benny