[haiku-development] Re: [PATCH] Attempts to build haiku on linux/ppc

  • From: "Salvatore Benedetto" <emitrax@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 27 May 2008 12:11:53 +0000

2008/5/27 Konstantinos Margaritis <markos@xxxxxxxx>:
> Hi,
>
> First post on the list, hello everyone!

Hi there!

>
> Ok, I wanted to try the ppc port of haiku and I got the latest svn and
> folllowed the instructions online, built the compiler/binutils/etc
> and started the build. Build failed immediately on the host tools, in
> particular bfs_shell.

Yes. There is actually an open ticket for that as someone else already
encounter that problem. It might help you having a look at the following

//www.freelists.org/archives/openbeos/03-2008/msg00045.html
http://dev.haiku-os.org/ticket/1952

> I found that __swap_*() functions were not being declared anywhere but
> were used in bfs_endian.h. I did a little testing around, I found a
> simple fix (I hardly think it's the right way, but I'd gladly prepare
> a proper patch with some pointer in the right direction). I attach
> the diff between current svn and my version -which compiles on ppc. I
> got some more failures afterwards, but I was told they was due to
> some changes in the Device Manager, so I'll try again later.

Yes, device manager is a moving target right now, and build might
be broken. Just have some patience :)

As for the patch, I'm not the right person to give direction on this. Sorry.

>
> Thanks
>
> Konstantinos
>
> PS. I'm doing PowerPC/Cell coding for a living (in particular
> AltiVec/SPU optimizations, incl. a library with altivec optimized
> libc replacement functions, 3d, math stuff, etc) and I'd gladly help
> in the ppc port of Haiku, it will take me some time to understand its
> internals though :/
> PS2. I was a very early BeOS user (my 603@180Mhz with BeOS was the
> fastest system I ever used, still beats many XP/Vista PCs out there,
> imho :). Thanks to Haiku I can have that experience again, thanks
> guys!
>

Welcome on board! Hope you'll stick around.

Regards,
-- 
Salvatore Benedetto (a.k.a. emitrax)
Student of Computer Engineer
University of Pisa
www.haiku-os.it

Other related posts: