[R-SIG-Mac] vecLib and building R from source

Kjell Konis konis at stats.ox.ac.uk
Fri Sep 2 01:13:42 CEST 2005


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



More information about the R-SIG-Mac mailing list