Not that I knew. Depending on the configuration used and the build system, customization CXXFLAGS, CFLAGSand LDFLAGSenvironment variables for inclusion -arch i386may help. However, some configuration and assembly systems are complex, and may not be enough to set these variables.
Another option is to provide g++(and friends if necessary) a bash script at the PATHlocation that precedes /usr/binand invokes the actual command using the -arch i386arguments passed to the script along with the command line.
, , arch(1) . , script arch -i386 /usr/bin/g++. ARCHPREFERENCE - g++:/usr/bin/g++:i386,x86_64 arch /usr/bin/g++. , arch /usr/bin/g++.
user557219