Subject: Re: crosscompiling a Linux binary on NetBSD
To: Brook Milligan <brook@biology.nmsu.edu>
From: Brian de Alwis <bsd@cs.ubc.ca>
List: netbsd-help
Date: 08/27/2007 14:18:11
An alternative is to install wip/suse100_devel.  The toolset is in
/usr/pkg/emul/linux/usr/bin/.  There's also wip/suse100_gdb, which
kinda works.

Brian.

On 2007.08.27 12:19:55 -0600, Brook Milligan wrote:
> I need to compile a program on my NetBSD boxes that will link against
> a Linux library, which is only available in binary form.  I am
> guessing that I need to compile the entire program (i.e., my own part
> of the code) as a Linux binary, but would welcome information on how
> to do otherwise.
> 
> In order to build a Linux binary on a NetBSD box, I presume I need to
> arrange for gcc to cross-compile somehow.  Does anyone have clear
> pointers for how to accomplish that successfully?
> 
> Thanks for your help.
> 
> Cheers,
> Brook

-- 
  Brian de Alwis | Software Practices Lab | UBC | http://www.cs.ubc.ca/~bsd/
      "Amusement to an observing mind is study." - Benjamin Disraeli