All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] arch/i386/Kconfig.cpu considered harmful
@ 2006-05-03 14:42 Jeff Dike
  2006-05-03 16:28 ` [uml-devel] " Blaisorblade
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Dike @ 2006-05-03 14:42 UTC (permalink / raw)
  To: Blaisorblade; +Cc: user-mode-linux-devel

Do we really need to pull that into the UML Kconfig?  We need some of
the things it defines, like X86_CMPXCHG, but people keep discovering
that menu and trying to set it to match the host, causing compilation
problems when that pulls in headers that UML doesn't have.

I think I would like to dump Kconfig.cpu and define for ourselves the
symbols that we need.

				Jeff


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [uml-devel] Re: arch/i386/Kconfig.cpu considered harmful
  2006-05-03 14:42 [uml-devel] arch/i386/Kconfig.cpu considered harmful Jeff Dike
@ 2006-05-03 16:28 ` Blaisorblade
  0 siblings, 0 replies; 2+ messages in thread
From: Blaisorblade @ 2006-05-03 16:28 UTC (permalink / raw)
  To: Jeff Dike; +Cc: user-mode-linux-devel

On Wednesday 03 May 2006 16:42, Jeff Dike wrote:
> Do we really need to pull that into the UML Kconfig?  We need some of
> the things it defines, like X86_CMPXCHG, but people keep discovering
> that menu and trying to set it to match the host, causing compilation
> problems when that pulls in headers that UML doesn't have.

Yes, I didn't fix these problems. I've been fairly lazy, I must admit this.

> I think I would like to dump Kconfig.cpu and define for ourselves the
> symbols that we need.

How do you let the user choose the CPU he wants to optimize for? That was the 
first purpose of what I did - optimizing for 386 isn't exactly the best thing 
to do (and we've done this, till the menu was introduced).

We can restrict the choices in the menu, for now, with a dependency on ! UML 
for the ones which don't work (i.e. the ones using 3DNow in string 
operations, IIRC). M686, Athlon and likely Pentium 4 work at least.
-- 
Inform me of my mistakes, so I can keep imitating Homer Simpson's "Doh!".
Paolo Giarrusso, aka Blaisorblade (Skype ID "PaoloGiarrusso", ICQ 215621894)
http://www.user-mode-linux.org/~blaisorblade
Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-03 16:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-03 14:42 [uml-devel] arch/i386/Kconfig.cpu considered harmful Jeff Dike
2006-05-03 16:28 ` [uml-devel] " Blaisorblade

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.