Oops, the first patch I sent out was short a couple of changes that added
files like arc.m, associate.m and a garbage collection source. Attached is a
complete patch.

Also, it looks like the file blocks_runtime.m is compiled by the other
Makefiles, but Clang doesn't like it for some reason:

Linking bitcode...
llvm-ld: error: Cannot link file 'blocks_runtime.bc': Linking globals named
'block_getType_np': symbol multiply defined!

I have no idea why there would be multiply defined symbols---everything
seems to be declared appropriately.

-Charlie

On Mon, Aug 8, 2011 at 6:27 AM, David Chisnall <thera...@sucs.org> wrote:

> Thanks!
>
> Makefile.clang was work-in-progress - I completely forgot that I'd
> committed it, so thanks for finishing it.  The generated library seems a lot
> smaller with link-time optimisation - it'll be interesting to see if it's
> any faster...
>
> David
>
> On 8 Aug 2011, at 14:15, Fred Kiefer wrote:
>
> > Hi David,
> >
> > you really need to subscribe to this mailing list too.
> >
> > Fred
> >
> > -------- Original-Nachricht --------
> > Betreff: Patch to fix Makefile.clang in libobjc2
> > Datum: Sun, 7 Aug 2011 00:18:49 -0700
> > Von: Charlie Sharpsteen <ch...@sharpsteen.net>
> > An: bug-gnustep@gnu.org
> >
> > Hello,
> >
> > Downloaded libobjc2-1.5.1 and tried compiling it using
> Makefile.clang---it
> > failed. Attached is a patch that makes some updates that should allow
> > Makefile.clang to compile libobjc2.
> >
> > Hope it helps.
> >
> > -Charlie
> >
> > <0001-Update-Makefile.clang.patch><Nachrichtenteil als Anhang.txt>
>
>
> -- Sent from my Apple II
>
>

Attachment: 0001-Update-Makefile.clang.patch
Description: Binary data

_______________________________________________
Bug-gnustep mailing list
Bug-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to