Message-ID: <DF7A7FD4-976B-45AF-9AE3-FE6C51100C23@stats.ox.ac.uk>
Date: 2005-09-01T23:13:42Z
From: Kjell Konis
Subject: vecLib and building R from source
In-Reply-To: <2BDFE21D-1A96-4BB3-A295-F8D15EEE652C@r-project.org>
On 31 Aug 2005, at 20:33, Simon Urbanek wrote:
>
> On Aug 31, 2005, at 9:54 PM, Kjell Konis wrote:
>
>> On 31 Aug 2005, at 18:21, Simon Urbanek wrote:
>>
>> Here is my environment:
>> CPPFLAGS="-I/Volumes/muffin/DarwinPorts/include"
>> LDFLAGS="-L/Volumes/muffin/DarwinPorts/lib"
>> F77=g77-dp-3.4
>> CC=gcc-dp-3.4
>>
>
> What is that?!? That's not an Apple compiler and it's broken as you
> can see from the config.log:
It's the GNU C compiler version 3.3.4.
> configure:32439: gcc-dp-3.4 -o conftest -g -O2 -I/Volumes/muffin/
> DarwinPorts/include -L/Volumes/muffin/DarwinPorts/lib conftest.c -
> framework vecLib -lg2c -lgcc_s -lSystemStubs -lSystem -lcc_dynamic
> -lm >&5
> gcc-dp-3.4: vecLib: No such file or directory
> cc1: error: unrecognized command line option "-framework"
This just means it doesn't support -framework. This is actually the
answer to my original question. Apparently -framework is supported
in stock gcc 4.x.
> You should definitely use Apple's compiler, stock GNU gcc is NOT
> the same as Apple, because there are many features that Apple folks
> have added. You should check out the Apple branch from GNU.
It might not be such a good idea to be too dependent on Apple's gcc.
There are compilers from IBM and Intel that people may at some time
be interested in using.
Kjell