[fpc-pascal] No Hello World after updating Xcode to 2.1

Andrew Haines AndrewD207 at aol.com
Tue Sep 20 13:58:56 CEST 2005


Lance Boyle wrote:

>
>
> if [ $BUILD_STYLE = Development ]; then
>    echo \"Build Style = Development\"
>    /usr/local/bin/ppcppc $INPUT_FILE_NAME -Ci -Co -g -gl -O1 -vr - 
> FEbuild/$PROJECT_NAME.build/$TARGET_NAME.build -o$PRODUCT_NAME
> else
>    echo \"Build Style = Deployment\"
>    /usr/local/bin/ppcppc $INPUT_FILE_NAME -O3 -vr -Xs -k-prebind - 
> FEbuild/$PROJECT_NAME.build/$TARGET_NAME.build -o$PRODUCT_NAME
>    strip build/$PROJECT_NAME.build/$TARGET_NAME.build/$PRODUCT_NAME
> fi
> mkdir -p build/$BUILD_STYLE/$PRODUCT_NAME.app/Contents/MacOS
> mv -f build/$PROJECT_NAME.build/$PRODUCT_NAME build/$BUILD_STYLE/ 
> $PRODUCT_NAME
> "

try

if [ $BUILD_STYLE = Development ]; then
   echo \"Build Style = Development\"
   /usr/local/bin/ppcppc $INPUT_FILE_NAME -Ci -Co -g -gl -O1 -vr - 
FEbuild/$PROJECT_NAME.build/ -o$PRODUCT_NAME
else

or change

the mv command to:

mv -f build/$PROJECT_NAME.build/$TARGET_NAME.build/$PRODUCT_NAME 
build/$BUILD_STYLE/$PRODUCT_NAME

Andrew



More information about the fpc-pascal mailing list