NetBSD-Users archive

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

Re: NetBSD cross tools



On Tue, Nov 15, 2011 at 07:51:50AM -0500, Greg Troxel wrote:
> 
>   I've built NetBSD using 'build.sh -m sparc64 ... build' command and now
>   want to compile applications for sparc64 using cross-tools sitting on my
>   x86_64. Typescript is below.  As far as I can see SYSROOT is not set in
>   crosscompiler by default and linking fails due to this. Is this normal
>   behaviour? Is there a way to specify SYSROOT using environment variable?
> 
> Yes, I think this is normal for NetBSD cross tools.   Some people at BBN
> have done something similar and we used wrapper scripts that insert
> sysroot options.

Usually I use the make(1) wrapper built by 'build.sh tools' or, if I
need special options set, I create a special wrapper with 'build.sh -w
mywrapper'.

Dave

-- 
David Young
dyoung%pobox.com@localhost    Urbana, IL    (217) 721-9981


Home | Main Index | Thread Index | Old Index