[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gentoo failing to build on powerpc, a bit mysteriously



On Sat, 2002-08-24 at 17:40, Josip Rodin wrote:
> On Sat, Aug 24, 2002 at 05:27:44PM +0200, Michel Dänzer wrote:
> > but it turns out __linux simply isn't defined in src/mntent_wrap.c, so
> > those functions don't get defined. Dunno what a better test for a Linux
> > build would be (__linux is also used in a couple other gentoo files).
> 
> I would think that the process of determining if __linux is defined would be
> the same on all architectures running Linux... how come it's not so on
> PowerPC? Is the code broken or is the PowerPC gcc/whatever different?

I think both. :) The code assumes __linux is defined on Linux which
obviously isn't always the case. grep -r __linux /usr/include seems to
indicate it should test for __linux__ instead.


-- 
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member   /  CS student, Free Software enthusiast



Reply to: