From owner-freebsd-hackers Wed Mar 27 13:14:39 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout08.sul.t-online.com (mailout08.sul.t-online.com [194.25.134.20]) by hub.freebsd.org (Postfix) with ESMTP id 6D47137B400 for ; Wed, 27 Mar 2002 13:14:25 -0800 (PST) Received: from fwd10.sul.t-online.de by mailout08.sul.t-online.com with smtp id 16qKkS-0003u5-01; Wed, 27 Mar 2002 22:14:24 +0100 Received: from there (320071886283-0001@[217.235.117.169]) by fmrl10.sul.t-online.com with smtp id 16qKkP-0zWHOSC; Wed, 27 Mar 2002 22:14:21 +0100 Content-Type: text/plain; charset="iso-8859-1" From: Thomas =?iso-8859-1?q?W=FCrfl?= To: "Karsten W. Rohrbach" Subject: Re: problems with wine Date: Wed, 27 Mar 2002 22:14:20 +0100 X-Mailer: KMail [version 1.3.2] References: <20020327203941.F43825@mail.webmonster.de> <20020327211845.H43825@mail.webmonster.de> In-Reply-To: <20020327211845.H43825@mail.webmonster.de> Cc: freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-ID: <16qKkP-0zWHOSC@fmrl10.sul.t-online.com> X-Sender: 320071886283-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Am Mittwoch, 27. März 2002 21:18 schrieben Sie: > Julian Elischer(julian@elischer.org)@2002.03.27 11:43:50 +0000: > [...my dumbass workaround deleted...] > > > He said he was running native.. > > > > the cpu type is in > > `sysctl hw` > > The code shuold be altered on FreeBSD to look there. > > oops, you're prefectly right. i skipped the "(native)" when reading the > original mail. anyway, wine needs to be patched then, since hw.machine > gives the platform which is "i386" in case of x86, correct? btw, is this > intended behaviour? i thought hw.machine_arch would be for that purpose. > > hw.machine_arch is set up in kern/kern_mib.c to "i386" on pc hardware > hw.machine is set up in i386/i386/identcpu.c to "i386" anytime (on > 4.3-stable, my currently active stable source i have immediate access > to) wouldn't it make sense to set the SYSCTL_STRING on hw.machine to a > gcc compatible (-mcpu or -march) value? this would make us happier in > the future when gcc does not generate broken code in several scenarios > anymore. does this make sense? > > /k Afaik 'hw.machine' is system architecture (i386=IA32). But in 'sysctl hw' is no _cpu_type_ like in linux-proc/cpuinfo. I'll have a look at the linuxulator source... ;-) Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message