[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbeos
Subject:    [haiku] Re: building cross tools
From:       Ryan Leavengood <leavengood () gmail ! com>
Date:       2012-08-07 22:46:10
Message-ID: CABeTnVPs+MYqh5=e=51fM4Rr2G23RNuorH7x4+heUFceOdygng () mail ! gmail ! com
[Download RAW message or body]

On Tue, Aug 7, 2012 at 6:40 PM, Thomas Stover <cts@thomasstover.com> wrote:
>
> I tried some more today to build a hello world C program. First I tried
> it inside the anyboot image running on qemu, which worked fine. Back
> with the cross compiler, I finished compilation with
>
> -I ./headers/posix/ -I ./headers/os/
>
> but I still can't link. Based on error output I copied these files into
> my working directory: crti.o  crtn.o   init_term_dyn.o  start_dyn.o
> When I specified the full path to these files it fails, but having them
> in the same directory seems ok. Anyway the last error seems to be
>
> ./haiku/generated.x86gcc4/cross-tools/lib/gcc/i586-pc-haiku/4.6.2/../../../../i586-pc-haiku/bin/ld:
> cannot find -lroot
>
> Any ideas?

You need libroot.so.

At one point I had a script which set up the cross compiler where it
was usable outside the Haiku build system (when I was porting WebKit
in 2007), but I don't have it on this machine and it may have been
lost in my various computer upgrades.

-- 
Regards,
Ryan

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic