Re: Trunk: cross-compile problems on Mac

2010-03-14 Thread Pavel Sanda
BH wrote: > > to close the circle, if you try to find defintion of __PTRDIFF_TYPE__ you > > will find ptrdiff_t, right? > > That's right: > > #ifndef __PTRDIFF_TYPE__ > #define __PTRDIFF_TYPE__ long int > #endif > typedef __PTRDIFF_TYPE__ ptrdiff_t; so no, thats definition of ptrdiff_t to be in

Re: Trunk: cross-compile problems on Mac

2010-03-14 Thread BH
> to close the circle, if you try to find defintion of __PTRDIFF_TYPE__ you > will find ptrdiff_t, right? That's right: #ifndef __PTRDIFF_TYPE__ #define __PTRDIFF_TYPE__ long int #endif typedef __PTRDIFF_TYPE__ ptrdiff_t; BH

Re: Trunk: cross-compile problems on Mac

2010-03-14 Thread Pavel Sanda
BH wrote: > On Sun, Mar 14, 2010 at 9:53 AM, Pavel Sanda wrote: > > BH wrote: > > not sure, but probably in > >> #include <_types.h> > > > > one can find definition of __darwin_ptrdiff_t . > > can you show it? > > I'm not sure if this is what you're looking for. I have multiple > _types.h in vari

Re: Trunk: cross-compile problems on Mac

2010-03-14 Thread BH
On Sun, Mar 14, 2010 at 9:53 AM, Pavel Sanda wrote: > BH wrote: > not sure, but probably in >> #include <_types.h> > > one can find definition of __darwin_ptrdiff_t . > can you show it? I'm not sure if this is what you're looking for. I have multiple _types.h in various places, but they all have

Re: Trunk: cross-compile problems on Mac

2010-03-14 Thread Pavel Sanda
BH wrote: not sure, but probably in > #include <_types.h> one can find definition of __darwin_ptrdiff_t . can you show it? pavel

Re: Trunk: cross-compile problems on Mac

2010-03-14 Thread BH
On Sun, Mar 14, 2010 at 6:58 AM, Pavel Sanda wrote: > BH wrote: >> In file included from bindtextdom.c:23: >> /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stddef.h:74: error: two or >> more data types in declaration specifiers >> make[2]: *** [bindtextdom.o] Error 1 >> make[1]: *** [all-recursive]

Re: Trunk: cross-compile problems on Mac

2010-03-14 Thread Pavel Sanda
BH wrote: > In file included from bindtextdom.c:23: > /Developer/SDKs/MacOSX10.4u.sdk/usr/include/stddef.h:74: error: two or > more data types in declaration specifiers > make[2]: *** [bindtextdom.o] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 can show the neighbourhoo

Trunk: cross-compile problems on Mac

2010-03-13 Thread BH
In preparation for the alpha release, I'm trying to apply the normal build scripts I've used for 1.6 releases to 2.0 so that the resulting binary will run on any Mac, system 10.4 or higher. The difference is that I do the following: BuildSystem=`${LyxSourceDir}/config/config.guess` HostSystemIntel