bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trying gnustep-startup-0.9.1 on Darwin/x86


From: Lars Sonchocky-Helldorf
Subject: Trying gnustep-startup-0.9.1 on Darwin/x86
Date: Tue, 22 Feb 2005 13:43:56 +0100

First i have to say: good work!

Finally an easy to use installer for GNUstep.


However I observed some *minor* quirks:

1. That package should be prominently announced on our homepage

2. The Documentation should say that you should type:

sudo ./InstallGNUstep

instead of just:

InstallGNUstep

of course this is important only for the novice user who needs to follow 
instructions literally (but all the others won't use this script anyway, 
don't you?)


3. and this is only important for OpenDarwin users:

the default compiler of OpenDarwin (gcc version 3.3 20030304 (Apple 
Computer, Inc. build 1495)) seems not to be able to build GNUstep since it 
isn't aware of the gnu-objc-runtime. So to install GNUstep on those 
systems you most likely have installed a newer version (some newer 4.0 
snapshot for instance) of gcc somewhere, let's say in /opt/local/bin. It 
is easy to make InstallGNUstep use that Compiler, just a:

export CC=/opt/local/bin/gcc

is enough. This should maybe documented in the readme too.


4. the check for ffcall seems to be broken somehow:


configure:13844: /opt/local/bin/gcc -c -g -O2  -fgnu-runtime 
-I/opt/local/GNUstep/System//Library/Headers conftest.c >&5
cc1: warning: command line option "-fgnu-runtime" is valid for ObjC/ObjC++ 
but not for C
In file included from conftest.c:1:
./config/config.forward.m: In function 'main':
./config/config.forward.m:5: error: '__objc_msg_forward1' undeclared 
(first use in this function)
./config/config.forward.m:5: error: (Each undeclared identifier is 
reported only once
./config/config.forward.m:5: error: for each function it appears in.)
./config/config.forward.m:5: error: 'SEL' undeclared (first use in this 
function)
./config/config.forward.m:5: error: called object 
'IMP(<erroneous-expression>)' is not a function
./config/config.forward.m:5: error: '__objc_msg_forward' undeclared (first 
use in this function)
configure:13850: $? = 1
configure: failed program was:
| #include "./config/config.forward.m"
configure:13873: result: no
configure:13880: checking "FFI library usage"
configure:14004: result: none
configure:14025: error: Incomplete support for ffi functionality.



I think renaming 

conftest.c

 into 

conftest.m

 would do it as the flawless execution of:

localhost:~/GNUstep-Darwin/gnustep-startup-0.9.1 lars$ /opt/local/bin/gcc 
-c -g -O2  -fgnu-runtime -I/opt/local/GNUstep/System//Library/Headers 
../core/base/config/config.forward.m
localhost:~/GNUstep-Darwin/gnustep-startup-0.9.1 lars$

shows it.


regards, Lars





reply via email to

[Prev in Thread] Current Thread [Next in Thread]