Hi David
Thanks for tracking this down so quickly.
I realised that I forgot to mention that I'm using clang (r82855) to
compile it with (I presume that you need clang to compile code that
uses libobjc2?). If I search the headers included with llvm, its not
present. I didn't assume I should use GCC to compile libobjc2, because
as suggested by Matt Rice, and now by yourself, its included with gcc
(on my system at /usr/lib/gcc/i486-linux-gnu/4.3/include/unwind.h).
I've tried with your fix, but because its not included with llvm,
obviously I'm going to have to either use GCC or include this header
somehow.
Cheers
Chris
On 04/10/2009, at 4:57 PM, David Chisnall wrote:
Ah, well spotted. I've fixed that now. Libobjc was originally
intended to be built as part of gcc (modularity is not something
that gcc team are big fans of) and so used "unwind.h" to make sure
it picked up the version of the header provided by GCC, not the one
provided by the system, which is the exact opposite of what we want.
David
On 4 Oct 2009, at 15:52, Matt Rice wrote:
On Sun, Oct 4, 2009 at 7:30 AM, David Chisnall <thera...@sucs.org>
wrote:
Hi Chris,
It's a private GCC header which, unfortunately, varies a little
bit between
platforms. I'm a bit surprised it isn't found for you; it has
been on all
of the platforms that I've tried so far, but in some uleb128 is
defined and
in others it isn't. I plan on removing this dependency soon,
because the
unwind headers just contain copies of the functions from the ABI
specification (which doesn't seem to stop the FSF from slapping a
GPL header
on them).
Yeah, i thought it referred to that unwind.h,
the use of "unwind.h" made me wonder though, why not <unwind.h>?
http://packages.debian.org/lenny/gcc-3.4
http://packages.debian.org/lenny/gcc-4.1
http://packages.debian.org/lenny/gcc-4.2
http://packages.debian.org/lenny/gcc-4.3
all of the 'list of files' links i've followed from those contain
the header.
e.g.
http://packages.debian.org/lenny/sparc/gcc-4.3/filelist
http://packages.debian.org/sid/mips/gcc-4.1/filelist
http://packages.debian.org/squeeze/mipsel/gcc-4.1/filelist
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev
-- Sent from my brain
--------
Christopher Armstrong
carmstr...@fastmail.com.au
_______________________________________________
Gnustep-dev mailing list
Gnustep-dev@gnu.org
http://lists.gnu.org/mailman/listinfo/gnustep-dev