All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Koenig <list@phasorlab.de>
To: Thomas Sullivan <metafunk@gmail.com>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: ICC driver compiler fails - alsa-driver-1.0.11
Date: Mon, 15 May 2006 12:59:39 +0200	[thread overview]
Message-ID: <871wuvy2n8.fsf@zebra.localdomain> (raw)
In-Reply-To: ac06b020605150125g589a5e0code9fdfb01c94a656@mail.gmail.com

"Thomas Sullivan" <metafunk@gmail.com> writes:
>> Could you please post the contents of
>> /lib/modules/2.6.16.16-genuine> intel/source/include/linux/compile.h ?
>> Especially the makro LINUX_COMPILER
>
> /lib/modules/2.6.16.16-genuineintel/source/include/linux/compile.h:
>
> #define LINUX_COMPILER "gcc version 3.4.6"
>
> Well, evidently ICC must be acting in some sort of compatibility mode when
> compiling the kernel. I wouldn't have thought it would be the default. Ah
> well, thanks for looking anyway.

Hmm, are you really sure that you did compile the kernel with icc?
What was the exact commandline you compiled the kernel?
I'm just asking, because recently I noticed, that doing a
CC=my-gcc make
for the kernel tree does not work as expected, because the 
Variable definitions in the Makefile have precedence over the 
environment Variables. If you want to override Makefile variables
you should use
make CC=my-gcc
or explicitly instruct make to give environment variables precedence
with the -e option.

> PS Oh yeah, how come it's safer to pass CC & CXX as parameters than
> otherwise? I would have thought it was pretty much equivalent

I can't remember exactly where I've read this, but there might be some
problems with passing variables by environment to configure.
In the autoconf manual is just a short note:

"Variables not defined in a site shell script can be set in the
environment passed to `configure'.  However, some packages may run
configure again during the build, and the customized values of these
variables may be lost.  In order to avoid this problem, you should set
them in the `configure' command line, using `VAR=value'.  For example:

     ./configure CC=/usr/local2/bin/gcc

will cause the specified gcc to be used as the C compiler (unless it is
overridden in the site shell script)."

Matthias

PS: I added alsa-devel again to CC (and posting from my subscription address)


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

  parent reply	other threads:[~2006-05-15 10:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-14 14:07 ICC driver compiler fails - alsa-driver-1.0.11 Thomas Sullivan
2006-05-14 17:11 ` Matthias Koenig
     [not found]   ` <ac06b020605150125g589a5e0code9fdfb01c94a656@mail.gmail.com>
2006-05-15 10:59     ` Matthias Koenig [this message]
2006-05-15  8:44 ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871wuvy2n8.fsf@zebra.localdomain \
    --to=list@phasorlab.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=metafunk@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.