FreeBSD-9, linux_base-f10: Compiling hello_world.c using the Linuxulator
Andre Albsmeier
Andre.Albsmeier at siemens.com
Thu Jun 20 06:49:11 UTC 2013
On Wed, 19-Jun-2013 at 20:21:13 +0200, Chagin Dmitry wrote:
> On Wed, Jun 19, 2013 at 12:02:33PM +0200, Andre Albsmeier wrote:
> > I need to compile small linux binary ("hello world" like).
> > I want to do this on one of my FreeBSD-9 machines, preferably
> > using the linux emulation. The result should run on linux
> > machines and under the linuxulator on FreeBSD-9.
> >
> > I am using linux_base-f10 as linux base but this doesn't include
> > any development tools. Is there a quick How-To of what is needed
> > to bring in the neccessary toolchain or is there even a port
> > available?
> >
> > I checked the ports tree and Alexander's blogs but didn't find
> > anything like that. Or do I just install the rpms?
> >
>
> install emulators/linux_dist-gentoo-stage3
> chroot /usr/local/gentoo-stage3 /bin/bash
Will try that, thanks!
-Andre
>
>
> --
> Have fun!
> chd
--
A Windows server can be run by an idiot, and usually is.
More information about the freebsd-emulation
mailing list