Re: configure/make not finding malloc.h
Re: configure/make not finding malloc.h
- Subject: Re: configure/make not finding malloc.h
- From: "Al Byers" <email@hidden>
- Date: Tue, 31 Jul 2007 22:08:42 -0600
On 7/31/07, Peter O'Gorman <email@hidden> wrote:
On Tue, 2007-07-31 at 18:56 -0700, Chris Espinosa wrote:
>
>
> > gcc -DHAVE_CONFIG_H -I. -I. -I.
> > -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -c `test -f
> > vector.c
|| echo './'`vector.c
> >
> it's including the current working directory in the header search path
> three times. One would think that it would be wanting to -I something
> useful. gcc ought to be looking in /usr/include/sys by default, so
> finding the malloc.h in the 10.4u SDK at that subpath, but you never
> know.
>
The only problem is that there is no /usr/include/malloc.h :)
But there is /usr/include/malloc/malloc.h, won't it find that?
change the source code to use stdlib.h instead of the obsolete malloc.h
and you'll get a little further.
Just a simple placement of <stdlib.h> for <malloc.h>?
Thanks,
-Al
Peter
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden