Ralf S. Engelschall wrote:
On Tue, Oct 10, 2006, Doug Summers wrote:

Is there a way to determine this with %l_platform? When building GCC I
need to add --disable-multilib on AIX 5.x machines using the 32-bit kernel.

No, %l_platform internally is based on "shtool platform" and this has no
knowledge about difference bit-sizes of an OS like AIX. So you have to
first check for AIX via l_platform and then do an AIX specific check for
32-bit yourself.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

OK - how do I determine this with 'shtool platform'? I tried using 'shtool platform -t' but it complains about needing a type? Can you give me a hint?
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to