[OpenAFS] configure:gcc - compilation:cc
Horst Birthelmer
horst@riback.net
Thu, 17 Jun 2004 23:12:45 +0200
On Thursday, June 17, 2004, at 06:26 PM, Hans-Gunther Borrmann wrote:
> On Thursday 17 June 2004 17:51, Derrick J Brashear wrote:
>> On Thu, 17 Jun 2004, Hans-Gunther Borrmann wrote:
>>> checking for AIX... yes
>>
>> This test doesn't mean what you think
>
> So I tried "CC=cc" and discovered the first problem if configure uses
> gcc
> instead of cc. It does not recognize "--enable-tivoli-tsm". "CC=cc ./
> configure ..." solves that problem.
>
> [root@sv13:openafs-1.3.64]# gcc -v
> Reading specs from
> /usr/local/lib/gcc-lib/powerpc-ibm-aix5.1.0.0/3.3.2/specs
> Configured with: ../gcc-3.3.2/configure --disable-nls
> Thread model: aix
> gcc version 3.3.2
>
You will not be able to compile OpeAFS with gcc on an AIX machine.
At least 1.2.10 wasn't. I had a lot of trouble linking the kernel
module, so I compiled it using xlc and everything went fine.
I never retried that since (it's been quite some time now ...)
Horst