From owner-freebsd-hackers Wed Mar 27 12:18:32 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.webmonster.de (datasink.webmonster.de [194.162.162.209]) by hub.freebsd.org (Postfix) with SMTP id ABDEF37B400 for ; Wed, 27 Mar 2002 12:18:24 -0800 (PST) Received: (qmail 45972 invoked by uid 1000); 27 Mar 2002 20:18:45 -0000 Date: Wed, 27 Mar 2002 21:18:45 +0100 From: "Karsten W. Rohrbach" To: Julian Elischer Cc: =?iso-8859-1?Q?Thomas_W=FCrfl?= , freebsd-hackers@freebsd.org Subject: Re: problems with wine Message-ID: <20020327211845.H43825@mail.webmonster.de> Mail-Followup-To: "Karsten W. Rohrbach" , Julian Elischer , =?iso-8859-1?Q?Thomas_W=FCrfl?= , freebsd-hackers@freebsd.org References: <20020327203941.F43825@mail.webmonster.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="X1xGqyAVbSpAWs5A" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from julian@elischer.org on Wed, Mar 27, 2002 at 11:43:50AM -0800 X-Arbitrary-Number-Of-The-Day: 42 X-URL: http://www.webmonster.de/ X-Disclaimer: My opinions do not necessarily represent those of my employer X-Work-URL: http://www.ngenn.net/ X-Work-Address: nGENn GmbH, Schloss Kransberg, D-61250 Usingen-Kransberg, Germany X-Work-Phone: +49-6081-682-304 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 --X1xGqyAVbSpAWs5A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Julian Elischer(julian@elischer.org)@2002.03.27 11:43:50 +0000: [...my dumbass workaround deleted...] > He said he was running native.. >=20 > the cpu type is in=20 > `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 --=20 > "Her figure described a set of parabolas that could cause cardiac arrest > in a yak." --Woody Allen KR433/KR11-RIPE -- WebMonster Community Founder -- nGENn GmbH Senior Techie http://www.webmonster.de/ -- ftp://ftp.webmonster.de/ -- http://www.ngenn.n= et/ GnuPG 0x2964BF46 2001-03-15 42F9 9FFF 50D4 2F38 DBEE DF22 3340 4F4E 2964 B= F46 My mail is GnuPG signed -- Unsigned ones are bogus -- http://www.gnupg.org/ Please do not remove my address from To: and Cc: fields in mailing lists. 1= 0x --X1xGqyAVbSpAWs5A Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8oiklM0BPTilkv0YRAqWpAJ9bxZiYCmLTlUBQnDxW2jSdh3AEIgCgkiHy TZ7eUG0guFgRfOykeQlyA6g= =CrLQ -----END PGP SIGNATURE----- --X1xGqyAVbSpAWs5A-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message