[Python-Dev] How to configure with icc on Mac? (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Sun Jan 4 14:44:30 CET 2009


CC=icc ./configure --prefix=$HOME/tmp/icc-python

That failed computing the size of sizet because it tries to incorrectly link with -lgccs.

Can you provide the relevant section of config.log? What is the precise command that configure is invoking, and what is the precise error message that icc reports?

That failed because of a bug in configure.in:

case $withval in no) CC=cc withoutgcc=yes;; yes) CC=gcc withoutgcc=no;; *) CC=$withval withoutgcc=$withval;; It ignores the CC value on the command line.

I don't think it is a bug. --without-gcc overrides the CC environment variable, rather than ignoring it.

Regards, Martin



More information about the Python-Dev mailing list