[Python-Dev] How to configure with icc on Mac?
"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 size_t because it tries to incorrectly link
> with -lgcc_s.
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
> without_gcc=yes;;
> yes) CC=gcc
> without_gcc=no;;
> *) CC=$withval
> without_gcc=$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