a
a The -n switch is not actually a part of Build. Instead, Build passes it to make(1).
-O ?§10.1.10 on page 352 Specify the path of the object directory.
-Q ?§10.1.11 on page 352 Set prefix for the object directory.
-S ?§10.1.12 on page 353 Skip system-specific configuration.
-v ?§10.1.13 on page 353 Specify build-variant.
This is the Title of the Book, eMatter Edition
Copyright ?© 2007 O??™Reilly & Associates, Inc. All rights reserved.
10.1 The Build Script | 349
effect. The m4 build file is used to create a new Makefile, and the Makefile is what actually
builds the program.
Note that the fresh Makefile target is a synonym for this switch. That is, you can also do this:
% make fresh
10.1.3 -E
Pass environment variables to Build Build switch
The -E switch is used to specify environment variables that should be passed to Build and
make(1). This switch is useful on IRIX systems, for example, which can store pointers in
either 32- or 64-bit sizes. To build a 32-bit sendmail, for example, you might run Build in
the sendmail directory like this:
% ./Build -E ABI=-n32
and use the subsystem compiler compiler_dev.sw32.lib.
Inside the Build script are a few environment variables that can be used to tune how Build
runs. But before using any, be aware that their use might not be recorded in the resulting
Makefile. If that is the case, reconstruction of the command line used will not be possible.
Pages:
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632