Ok so what do we want exactly? Something that returns i386 for all compatible 
architecture? and if possible in bash to be able to use it easily in the 
Makefile?

Le lundi 10 juillet 2006 04:59, Erich Focht a écrit :
> On Monday 10 July 2006 05:14, Geoffroy VALLEE wrote:
> > Hi all,
> >
> > Quick question: why do we use "uname -i" to detect the architecture in
> > the top-level Makefile? it does not work on my Debian machine (the option
> > -i is not supported by the uname version installed with sarge), only
> > "uname -m" works.
> > The man page for uname on FC5 says:
> >        -m, --machine
> >               print the machine hardware name
> >        -i, --hardware-platform
> >               print the hardware platform or "unknown"
> >
> > So "uname -i" may not give the correct information but uname -m must work
> > in all cases.
> >
> > Can we use "uname -m" instead of "uname -i"?
>
> The reason why we use "uname -i" is that it provides the machine platform
> name and not the machine hardware name. That means "uname -i" will provide
> you the common platform name for all compatible processors.
>
> The fact that debian uses an uname version without this feature makes me
> loose even more the trust in its development model. But well, that's my
> personal opinion.
>
> "uname -i" is used in several places throughout OSCAR, so if we need to
> replace it because of Debian, we'll have to change it everywhere. We will
> need to write an "uname -i" equivalent function out of "uname -m", which
> knows itself about the compatibility list.
>
> Regards,
> Erich

-- 
Geoff


-------------------------------------------------------------------------
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
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to