[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: problems with wine
From:       Thomas =?iso-8859-1?q?W=FCrfl?= <ThomasWuerfl () gmx ! de>
Date:       2002-03-27 21:14:20
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic