Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Mar 2005 20:17:06 +0000
From:      Chuck Robey <chuckr@chuckr.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        Eric Anderson <anderson@centtech.com>
Subject:   Re: building Linux
Message-ID:  <423DDA42.2020509@chuckr.org>
In-Reply-To: <20050320201236.GA92870@ip.net.ua>
References:  <423DD1C8.7060703@chuckr.org> <423DD3A3.2070500@centtech.com> <423DD5E1.3040301@chuckr.org> <20050320200339.GB92740@ip.net.ua> <423DD831.5060809@chuckr.org> <20050320201236.GA92870@ip.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Ruslan Ermilov wrote:
> On Sun, Mar 20, 2005 at 08:08:17PM +0000, Chuck Robey wrote:
> 
>>Ruslan Ermilov wrote:
>>
>>>On Sun, Mar 20, 2005 at 07:58:25PM +0000, Chuck Robey wrote:
>>>
>>>
>>>>Eric Anderson wrote:
>>>>
>>>>
>>>>>Chuck Robey wrote:
>>>>>
>>>>>
>>>>>
>>>>>>I can't seem top get linux compatibiilty working.
>>>>>>
>>>>>>I tried doing a kldload linux, it told me there wasn't any linux.ko.  
>>>>>>I figured that I need a new kernel, so I just compiled one, but that 
>>>>>>didn't make me a linux.ko.  OK, I went into NOTES and searched for 
>>>>>>LINUX, found several, and some with made me wonder if there was a x86 
>>>>>>dependency (my system is a dual amd64).  What config options do I need 
>>>>>>for Linux compatibility?
>>>>>
>>>>>
>>>>>Check here first:
>>>>>http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/linuxemu.html
>>>>>
>>>>>If you still have questions, feel free to send another note..  I think 
>>>>>it will answer all your questions.  In short, you need to install the 
>>>>>linux compatibility port.
>>>>
>>>>I'll take another look at it, but I already did, and it complained about 
>>>>not having Linux in the kernel.  I think you need Linux in the kernel 
>>>>before you consider addign in the Linux binaries.
>>>>
>>>
>>>We don't have Linux/amd64 compatibility yet.  What we have is
>>>Linux/i386 compatibility for amd64 but it's buggy compared to
>>>its i386 version.
>>>
>>
>>You know where this all started?  I wanted to run a Java, and I need a 
>>jdk14 to build either a jdk14 OR a jdk15.  The Java list sent me off to 
>>get a Linux JDK, that got me off to get Linux compatibility.  Now you're 
>>telling me I can't run Linux apps?  I think the folks on the Java list 
>>seem to be disagreeing with you, at the minimum.
>>
>>It's beginning to become funny.
>>
> 
> I'm pretty sure you can build a native JDK using Linux/i386 JDK,
> on amd64.  (See COMPAT_LINUX32 in sys/amd64/conf/NOTES.)

Yes, but (and please do correct me if I'm wrong!) don't I need that 
Linux-compatibiilty to run the i386/Linux jdk?  I have that particular 
jdk all downloaded and ready to run, but it's not being recognized as a 
runnable image on the system yet.


> 
> Cheers,



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