Linux binaries on FreeBSD
Does Maya for Linux run on FreeBSD via the compatibility layer? Also, does a recent version of Matlab for Linux run on FreeBSD via the compatibility layer? The Handbook only mentions Matlab 6.3, which is very old and dated. Sabeeh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Generating Linux binaries under FreeBSD
On Mon, 20 Jun 2005 09:27:10 -0600 Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote: On Jun 20, 2005, at 9:15 AM, Alejandro Pulver wrote: Hello, Is there a way to compile a C program, but generating a Linux binary instead of a FreeBSD one? I don't know if this works but assuming you have the linux compatibility layer running % chroot /compat/linux/ /bin/bash % gcc That should use the linux gcc You may not need to do the chroot first. Just run a linux shell so % /compat/linux/bin/bash bash-2.0x# gcc may also get you there I've done similar things before Try it out Chad Hello, Thank you for your reply. It is what I expected (to use the Linux emulation to run the compiler). But is there a FreeBSD port of it (I do not think that)? Can I use the Linux packaging tools (for example rpm with linux-base-rh*, and dpkg with linux-base-debian)? How? Thanks and Best Regards, Ale ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Generating Linux binaries under FreeBSD
Hello, Is there a way to compile a C program, but generating a Linux binary instead of a FreeBSD one? Thanks and Best Regards, Ale ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Generating Linux binaries under FreeBSD
On Jun 20, 2005, at 9:15 AM, Alejandro Pulver wrote: Hello, Is there a way to compile a C program, but generating a Linux binary instead of a FreeBSD one? I don't know if this works but assuming you have the linux compatibility layer running % chroot /compat/linux/ /bin/bash % gcc That should use the linux gcc You may not need to do the chroot first. Just run a linux shell so % /compat/linux/bin/bash bash-2.0x# gcc may also get you there I've done similar things before Try it out Chad Thanks and Best Regards, Ale ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Building Linux binaries under FreeBSD/Linux layer
I know this is probably going to be an odd question, but is there a way to create true linux shell within FreeBSD, capable of running linux gcc and creating a linux binary? I want to play with Midori Linux, which involves compiling a lot of Linux source, for Linux. Dual booting is out of the question (my FreeBSD box runs the home automation system). I suspect it *could* be done with a carefully configured shell, and a bunch of Linux RPM's installed to support gcc and the assorted libraries. Is this possible, and if so, has pulled a stunt like this? If not, how well does VMware run under FreeBSD, and can you ssh into the virtual machine once it's up? Thanks, Seth Henry To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Building Linux binaries under FreeBSD/Linux layer
Yes, it can be done. It is done by a couple of the ports, and as such there is a pre-ported way of doing it. /usr/ports/devel/linux_devtools and linux_devtools-7 (depending which version of the linux_base you have). After that its mostly automatic. You may need to do things like get kernel-source, or other bits depending on what you are doing. On Wed, 2003-01-22 at 13:22, J. Seth Henry wrote: I know this is probably going to be an odd question, but is there a way to create true linux shell within FreeBSD, capable of running linux gcc and creating a linux binary? I want to play with Midori Linux, which involves compiling a lot of Linux source, for Linux. Dual booting is out of the question (my FreeBSD box runs the home automation system). I suspect it *could* be done with a carefully configured shell, and a bunch of Linux RPM's installed to support gcc and the assorted libraries. Is this possible, and if so, has pulled a stunt like this? If not, how well does VMware run under FreeBSD, and can you ssh into the virtual machine once it's up? Thanks, Seth Henry -- David E. Cross To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message