[haiku-development] Re: setting up compiler binaries under haiku

  • From: "Adrian Panasiuk" <adek336@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 4 Sep 2008 06:01:46 +0200

Thank you! Just what I wanted.

On Thu, Sep 4, 2008 at 2:00 AM, Urias McCullough <umccullough@xxxxxxxxx>wrote:

> 2008/9/3 Adrian Panasiuk <adek336@xxxxxxxxx>:
> > ty very much !
> >
> > Thanks to the link I now have a /boot/apps/haiku/cross-compiler or
> something
> > like that directory of the tools and that's the only place. I try then to
> > ./configure --cross-tools-prefix /boot/something && jam haiku-image on
> the
> > haiku source tree.
> > The configure script seems to run "gcc -dumpversion" to initialize a
> > variable; as I have not added the cross compiler to $PATH or anything
> like
> > that, it fails.
> > Changing the configure script to run the gcc I do have makes it run.
> > Then jam haiku-image, unfortunately, again tries to use "gcc" as the
> > compiler instead of "/boot/..../i586-haiku-gcc" and it fails.
> > How can this be overcome?
>
> Wait, what are you trying to accomplish?
>
> Building Haiku on Haiku? Even if you're just trying to compile stuff
> on Haiku, the following is the proper/preferred method:
>
> You need to create a Haiku image/install with the "Development"
> optional package which should contain all the tools necessary to
> compile Haiku on Haiku, or whatever for Haiku.
>
> You will probably also want to add the "Subversion" package if you
> want to download the sources directly to Haiku.
>
> It seems you've somehow ended up with the R5 cross-compiler instead.
>
> - Urias
>
>


-- 
Czy ty orzeł, czy ty kawka? -wkrótce zdłabi kaszel, czkawka.
Śmierć szyję zaszyje.

Other related posts: