NextPrevUpTopContentsIndex

building-universal-intermediate-p

Function
Summary

Used in a build script to determine if LispWorks is building an intermediate image when making a universal binary.

Package

hcl

Signature

building-universal-intermediate-p => intermediatep

Arguments

None

Values

intermediatep

A boolean.

Description

The function building-universal-intermediate-p can be used in a build script to determine if it is being executed to build one of the architectures of a universal binary.

The return value intermediatep is nil in most cases. It will be t only when building an intermediate image for the purpose of building a universal binary, either by save-universal-from-script or the Application Builder (see the Common LispWorks User Guide ).

This is useful if there are some configuration that should be done only in a universal binary image but not in a mono-architecture ("thin") image. Whether the intermediate image will be the Intel or the PowerPC part of the universal binary can be determined by checking *features* .

On architectures that do not have universal binaries, this function always returns nil .

See also

save-universal-from-script
save-argument-real-p


LispWorks Reference Manual - 12 Mar 2008

NextPrevUpTopContentsIndex