Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Feb 2000 21:42:03 +0100
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        freebsd-emulation@freebsd.org
Subject:   How to link a Linux program under FreeBSD ?
Message-ID:  <20000221214203.A72944@internal>

next in thread | raw e-mail | index | archive | help
I have linux_base and linux_devel installed on STABLE-3.4
Now let's assume I have the following object files:

main.o obj1.o obj2.o

How can I link these together so that a Linux binary is produced?
Of course, I also want the Linux statup code and the linux libc...

Will I have to use /compat/linux/usr/bin/ld? What options do
I have to specify so that no FreeBSD code gets linked?

This is because I have to use the Absoft Fortran compiler to produce
the object files. This works well; the problem is how to link these
together to make a linux executable that can be run under Linux or
FreeBSD.

Thanks,

	-Andre


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000221214203.A72944>