Hi, here is complete new matrix:
_is64 > for 64bit = yes for 32bit = no _bld_arch > for 64bit = amd64 or sparcv9 for 32bit = x86 or sparc _platform_suffix > for 64bit = /amd64 or /sparcv9 for 32bit is empty These variables are usuful for shell scripts like configure.sh. Variable _platform_suffix is for patches in configure scripts. Please don't use in future _libsuffix it is obsolete by _platform_suffix and will be removed i near future (I have to migrate a few patches) These variables are _not_ related with some CPU features stuff. These are not useful for detection of mmx, sse, cmov features or something like that. Luc On Sun, Jul 20, 2008 at 8:23 PM, Lukas Oboril <oboril.lukas at gmail.com>wrote: > Adriaan, > > I'll try tune up a bit. > > Thank you for comments > > Luc > > > On Sun, Jul 20, 2008 at 3:34 PM, Adriaan de Groot <groot at kde.org> wrote: > >> On Sunday 20 July 2008 14:01, Lukas Oboril wrote: >> > We can use $_arch in configure.sh and so on ... that variable is filled >> up >> > with valid contain now. >> > >> > For 32bit on both platorm $_arch="" is null (at this time in dude). I >> > think that should be worth to do something like this: on 32bit x86 > >> > $_arch="x86" on 32bit sparc > $_arch="sparc" (I have it my local copy >> and >> > after few test I'll push it to dude) >> >> It'd be really nice to have an always-available flag for 64-bitness (safer >> than for i in $CFLAGS ; do echo $i ; done | grep -- -m64); with the >> current >> setup, test ! -z "$_arch" indicates 64-bitness while your proposed changes >> make that more complicated. Or should we consistently be using >> test ! -z "$_libsuffix" as a 64-bit test? >> >> [ade] >> _______________________________________________ >> kde-discuss mailing list >> kde-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/kde-discuss >> > > > > -- > Lukas 'Luc' Oboril > IRC nickname: luc^ at freenode > > > When dealing with people, let us remember we are not dealing with creatures > of logic. We are dealing with creatures of emotions, creatures bristling > with prejudices and motivated by pride and vanity. Dale Carnegie > -- Lukas 'Luc' Oboril IRC nickname: luc^ at freenode When dealing with people, let us remember we are not dealing with creatures of logic. We are dealing with creatures of emotions, creatures bristling with prejudices and motivated by pride and vanity. Dale Carnegie -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/kde-discuss/attachments/20080721/b7f2b0fb/attachment.html>
