On 14/06/09 12:14, David Chisnall wrote:
> Hi Everyone,
>
> At some point, hopefully before 0.5, I would like us to start
> requiring clang for Étoilé. Currently, adopting clang gives us:
>
> - Declared properties.
> - Fast enumeration.
> - Blocks.
> - Sender-dependent dispatch (for Object Planes support).
> - Link-time optimisations.
> - A much less well-tested compiler.
>
> All of these, except the last one are positive. The only way we can
> fix the last one is by testing it, so can everyone try compiling
> Étoilé for your favourite platform with a recent svn build of clang?
Am I doing something wrong here. (This is with an up-to-date llvm, clang
and gnustep-* from svn as of this morning).
$ . /usr/local/GNUstep/System/Library/Makefiles/GNUstep.sh
$ make CC=clang messages=yes
(...)
clang UKRunner.m -c \
-MMD -MP -DGNUSTEP -DGNUSTEP_BASE_LIBRARY=1 -DGNU_GUI_LIBRARY=1
-DGNU_RUNTIME=1 -DGNUSTEP_BASE_LIBRARY=1 -D_REENTRANT -fPIC -g -Wall
-DDEBUG -fno-omit-frame-pointer -DGSWARN -DGSDIAGNOSE -Wno-import -g
-fno-strict-aliasing -fgnu-runtime -Wno-import -std=c99
-fconstant-string-class=NSConstantString -I./derived_src -I.
-I/home/andy/GNUstep/Library/Headers
-I/usr/local/GNUstep/Local/Library/Headers
-I/usr/local/GNUstep/System/Library/Headers \
-o obj/UKRunner.m.o
warning: unknown warning option: -Wno-import
warning: unknown warning option: -Wno-import
In file included from UKRunner.m:27:
In file included from ./UKRunner.h:25:
/usr/local/GNUstep/Local/Library/Headers/Foundation/Foundation.h:31:9:
fatal error: 'objc/objc.h' file not found
#import <objc/objc.h>
^
1 diagnostic generated.
make[5]: *** [obj/UKRunner.m.o] Error 1
Andrew
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss