Hi,
I am on Debian/PPC and have a setup where all my core gnustep is
compiled with GCC and works fine.
I need to build an application with clang. I thus installed clang from
debian, which gave me ver. 3.5
Do you think it is feasible to just build an application against the
existing gnustep by issuing:
make CC=clang
It doesn't work for me, getting strange low-level assembler errors:
Compiling file AppController.m ...
/tmp/AppController-7981cc.s: Assembler messages:
/tmp/AppController-7981cc.s:17504: Error: Missing symbol name in
directive
/tmp/AppController-7981cc.s:17504: Error: unrecognized symbol type
".objc_sel_nameisEqualToString"
/tmp/AppController-7981cc.s:17504: Error: junk at end of line, first
unrecognized character is `:'
<...> the above repeated dozens of times and ending with:
/tmp/AppController-7981cc.s:18629: Error: unexpected `"' in expression
/tmp/AppController-7981cc.s:18635: Error: unexpected `"' in expression
/tmp/AppController-7981cc.s:18637: Error: unexpected `"' in expression
/tmp/AppController-7981cc.s:18639: Error: unexpected `"' in expression
clang: error: assembler command failed with exit code 1 (use -v to see
invocation)
Is it a problem given mixing compiler of the application vs.
framework? I hope not and that mixing can be done.
Clang doesn't work on ppc properly? or some sort of binutils
incompatibility?
I'm puzzled
Riccardo