On Thu, Feb 14, 2008 at 12:32 AM, Joel Stanley <[EMAIL PROTECTED]>
wrote:

>
> First, I had to change the 10.5 SDK reference in the Makefile from
> SDK=/Developer/SDKs/MacOSX10.5u.sdk to SDK=/Developer/SDKs/MacOSX10.5.sdk.


So, it turns out this is the correct thing to do.  There's no such thing as
a 'non-fat' SDK under Leopard, and a 10.5u SDK won't exist (all binaries are
universal from here on out).

macterm.c: In function 'mac_term_init':
> macterm.c:12641: warning: pointer targets in passing argument 2 of
> 'strncpy' differ in signedness
> lipo: can't figure out the architecture type of:
> /var/folders/GP/GPcdXIPFFSOXhGwWi6+U6++++TM/-Tmp-//ccSAzJyH.out
> make[3]: *** [macterm.o] Error 1
> make[2]: *** [bootstrap-build] Error 2
> make[1]: *** [bootstrap] Error 2
> make: *** [compile] Error 2


So this only seems to be happening for macterm.c (although I don't know
why), and lipo is being invoked automatically by gcc if multiple arches (in
this case ppc, i386) are supplied.  If I just supply the i386 arch switch,
I'll get an object file, but I don't want to have to resort to that.  The
trick now is to find out why the temporary file is bad and/or doesn't exist
at time of lipo invocation.

Is anyone else seeing these errors?

Joel

-- 
"Make sense who may. I switch off." -- Beckett

--~--~---------~--~----~------------~-------~--~----~
Carbon Emacs User Group
http://groups.google.com/group/carbon-emacs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to