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

Lance Boyle lanceboyle at cwazy.co.uk
Tue Sep 20 06:17:35 CEST 2005


On Sep 16, 2005, at 5:42 AM, Andrew Haines wrote:

> Lance Boyle wrote:
>
>
>> I've just installed Xcode 2.1 and can no longer compile FPC using   
>> 2.0.0. For good measure, I re-installed FPC 2.0.0 and the Xcode   
>> Integration Kit, including the Universal Interfaces. The latter  
>> acted  oddly with a crashing program which tried to open up a  
>> dialog box,  until I mounted the Universal Interfaces disk image  
>> first. (This  sounds familiar to me from an earlier upgrade but I  
>> can't remember  what to do to fix it, and the lists archives don't  
>> seem to want me to  see them.)
>>
>> In any event, I can't even compile a tool. Here's the result of   
>> trying. What's up?
>>
>> Lance
>>
>>
>>
>> Native Build of Target "pascaltooldumpmeUnits" using Build   
>> Configuration "Development"
>>
>>     setenv ZERO_LINK YES
>>     /bin/sh -c "rm -f build/$(PRODUCT_NAME)"
>> /bin/sh: line 1: PRODUCT_NAME: command not found
>> rm: build/: is a directory
>>
>>
> I've also run into this problem.
>
> Here's how I fixed it although it may not be the correct answer.
>
> open xcode and then open /Library/Application Support/Apple/ 
> Developer Tools/Project Templates/Pascal/Pascal Carbon Application/ 
> PascalCarbonApp.xcodeproj
>
> In the treeview Groups & Files, select Targets and then  
> <<ProjectName>> then in the "Action" combobox choose "Get Info"
>
> Under the "Rules" tab change all vars that you can see from $ 
> (SOME_VAR_NAME) to $SOME_VAR_NAME also I had to change the output  
> directories some:
> Here's the lines I had to change for the output path
>
> mkdir -p build/$BUILD_STYLE/$PRODUCT_NAME.app/Contents/MacOS
> mv -f build/$PROJECT_NAME.build/$PRODUCT_NAME build/$BUILD_STYLE/ 
> $PRODUCT_NAME
>
>
> And for my "with output files" section:
>
> build/$PROJECT_NAME.build/$INPUT_FILE_BASE.o
> build/$PROJECT_NAME.app/Contents/MacOS/$PRODUCT_NAME
>
> and that's it.
>
> You'll have to make the same changes to the "Pascal Tool" and  
> "Pascal CGI" directories ProjectTemplate Files (*.xcodeproj)
>
> Andrew
>
> PS again there may be a better way to fix this but this is how I  
> did it.
>

Thanks for your kind help. Indeed, it does seem to get me closer, but  
I'm still not able to compile a Hello World. I first applied your  
modifications to the Pascal Carbon Application, without success.  
Trying something simpler, I made the changes to the Pascal Tool. In  
addition, I made the custom script for the <<PROJECTNAME>>Units look  
like this:

rm -f build/$PRODUCT_NAME

and the "with output files" for <<PROJECTNAME>>Units look like this:

build/$PRODUCT_NAME


For completeness, here are the modified versions of the  
<<PROJECTNAME>> Rules, again, for the PascalTool:

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

and..."with output files"

build/$PROJECT_NAME.build/$INPUT_FILE_BASE.o
build/$PROJECT_NAME.app/Contents/MacOS/$PRODUCT_NAME



I think that if I put my head to it for long enough, I could figure  
out what is going on and how to fix it, but so far that hasn't  
worked. I'm starting to understand the under-the-hood workings of  
Xcode a little bit, that isn't something that I want to continue  
unless I must.

If these problems are caused by the changes in Xcode 2.1, I wonder if  
we could impose upon Dr. Jansen to update the Xcode Integration Kit.

Here is the output when I try to compile the Pascal Tool, with your  
modifications and the additional modifications that I have indicated:


Native Build of Target "ptdumpmeUnits" using Build Configuration  
"Development"

PhaseScriptExecution /Users/jerrybauck/ptdumpme/build/ptdumpme.build/ 
Development/ptdumpmeUnits.build/Script-f2445d45.sh
     mkdir build
     cd /Users/jerrybauck/ptdumpme
     setenv ACTION build
     setenv APPLE_INTERNAL_DEVELOPER_DIR /AppleInternal/Developer
     setenv APPLE_INTERNAL_DIR /AppleInternal
     setenv APPLE_INTERNAL_DOCUMENTATION_DIR /AppleInternal/ 
Documentation
     setenv APPLE_INTERNAL_LIBRARY_DIR /AppleInternal/Library
     setenv APPLE_INTERNAL_TOOLS /AppleInternal/Developer/Tools
     setenv ARCHS ppc
     setenv BUILD_COMPONENTS "headers build"
     setenv BUILD_DIR /Users/jerrybauck/ptdumpme/build
     setenv BUILD_ROOT /Users/jerrybauck/ptdumpme/build
     setenv BUILD_STYLE Development
     setenv BUILD_VARIANTS normal
     setenv BUILT_PRODUCTS_DIR /Users/jerrybauck/ptdumpme/build/ 
Development
     setenv CACHE_ROOT /Library/Caches/com.apple.Xcode.501
     setenv CCHROOT /Library/Caches/com.apple.Xcode.501
     setenv CHMOD /bin/chmod
     setenv CHOWN /usr/sbin/chown
     setenv CLASS_FILE_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpmeUnits.build/JavaClasses
     setenv CLEAN_PRECOMPS YES
     setenv CLONE_HEADERS NO
     setenv CONFIGURATION Development
     setenv CONFIGURATION_BUILD_DIR /Users/jerrybauck/ptdumpme/build/ 
Development
     setenv CONFIGURATION_TEMP_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development
     setenv CONTENTS_FOLDER_PATH
     setenv COPY_PHASE_STRIP NO
     setenv COPY_RESOURCES_FROM_STATIC_FRAMEWORKS YES
     setenv CP /bin/cp
     setenv CURRENT_PROJECT_VERSION
     setenv CodeWarrior "/Applications/Metrowerks CodeWarrior 8.0/ 
Metrowerks CodeWarrior"
     setenv DEBUGGING_SYMBOLS YES
     setenv DEPLOYMENT_LOCATION NO
     setenv DERIVED_FILES_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpmeUnits.build/DerivedSources
     setenv DERIVED_FILE_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpmeUnits.build/DerivedSources
     setenv DERIVED_PATHS
     setenv DERIVED_SOURCES_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpmeUnits.build/DerivedSources
     setenv DEVELOPMENT_LANGUAGE English
     setenv DOCUMENTATION_FOLDER_PATH
     setenv DSTROOT /tmp/ptdumpme.dst
     setenv DYLIB_COMPATIBILITY_VERSION
     setenv DYLIB_CURRENT_VERSION
     setenv DYLIB_INSTALL_NAME_BASE
     setenv ENABLE_HEADER_DEPENDENCIES YES
     setenv EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES "*.nib  
*.lproj *.framework *.gch *.xcode (*) CVS .svn"
     setenv EXECUTABLES_FOLDER_PATH
     setenv EXECUTABLE_EXTENSION
     setenv EXECUTABLE_NAME ptdumpme
     setenv EXECUTABLE_PATH ptdumpme
     setenv EXECUTABLE_PREFIX
     setenv EXECUTABLE_SUFFIX
     setenv EXECUTABLE_VARIANT_SUFFIX
     setenv FRAMEWORKS_FOLDER_PATH
     setenv FRAMEWORK_FLAG_PREFIX -framework
     setenv FRAMEWORK_SEARCH_PATHS /Users/jerrybauck/ptdumpme/build/ 
Development
     setenv FRAMEWORK_VERSION A
     setenv FULL_PRODUCT_NAME ptdumpme
     setenv GCC_AUTO_PCH_HEADER_c
     setenv GCC_AUTO_PCH_HEADER_c++
     setenv GCC_AUTO_PCH_HEADER_objective-c
     setenv GCC_AUTO_PCH_HEADER_objective-c++
     setenv GCC_DYNAMIC_NO_PIC NO
     setenv GCC_ENABLE_AUTO_PCH NO
     setenv GCC_ENABLE_FIX_AND_CONTINUE YES
     setenv GCC_GENERATE_DEBUGGING_SYMBOLS YES
     setenv GCC_OPTIMIZATION_LEVEL 0
     setenv GCC_PFE_FILE_C_DIALECTS "c objective-c c++ objective-c++"
     setenv GCC_PRECOMPILE_PREFIX_HEADER
     setenv GCC_PREFIX_HEADER
     setenv GCC_SYMBOLS_PRIVATE_EXTERN YES
     setenv GCC_TREAT_WARNINGS_AS_ERRORS NO
     setenv GCC_USE_GCC3_PFE_SUPPORT
     setenv GCC_VERSION
     setenv GENERATE_PKGINFO_FILE NO
     setenv GENERATE_PROFILING_CODE NO
     setenv GLOBAL_CFLAGS
     setenv GROUP staff
     setenv HEADERMAP_INCLUDES_PROJECT_HEADERS YES
     setenv HEADER_SEARCH_PATHS /Users/jerrybauck/ptdumpme/build/ 
Development/include
     setenv INCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES
     setenv INFOPLIST_FILE
     setenv INFOPLIST_PATH
     setenv INFOSTRINGS_PATH
     setenv INIT_ROUTINE
     setenv INPUT_FILE_BASE EmptyPlaceHolderUnit
     setenv INPUT_FILE_DIR /Users/jerrybauck/ptdumpme
     setenv INPUT_FILE_NAME EmptyPlaceHolderUnit.pas
     setenv INPUT_FILE_PATH /Users/jerrybauck/ptdumpme/ 
EmptyPlaceHolderUnit.pas
     setenv INPUT_FILE_SUFFIX .pas
     setenv INSTALL_DIR /tmp/ptdumpme.dst/usr/local/bin
     setenv INSTALL_GROUP staff
     setenv INSTALL_MODE_FLAG a-w,a+rX
     setenv INSTALL_OWNER jerrybauck
     setenv INSTALL_PATH /usr/local/bin
     setenv INSTALL_ROOT /tmp/ptdumpme.dst
     setenv JAVAC_DEFAULT_FLAGS "-J-Xms64m -J-XX:NewSize=4M -J- 
Dfile.encoding=UTF8"
     setenv JAVA_APP_STUB /System/Library/Frameworks/JavaVM.framework/ 
Resources/MacOS/JavaApplicationStub
     setenv JAVA_ARCHIVE_CLASSES YES
     setenv JAVA_ARCHIVE_TYPE JAR
     setenv JAVA_COMPILER /usr/bin/javac
     setenv JAVA_FOLDER_PATH
     setenv JAVA_FRAMEWORK_JARS
     setenv JAVA_FRAMEWORK_RESOURCES_DIRS Resources
     setenv JAVA_JAR_FLAGS cv
     setenv JAVA_SOURCE_SUBDIR .
     setenv JAVA_USE_DEPENDENCIES YES
     setenv JAVA_ZIP_FLAGS -urg
     setenv JIKES_DEFAULT_FLAGS "+E +OLDCSO"
     setenv LD_FLAGS
     setenv LEX /usr/bin/lex
     setenv LEXFLAGS
     setenv LIBRARY_FLAG_NOSPACE YES
     setenv LIBRARY_FLAG_PREFIX -l
     setenv LIBRARY_SEARCH_PATHS /Users/jerrybauck/ptdumpme/build/ 
Development
     setenv LINKER_LIBRARY_FLAGS
     setenv LINK_FILE_LIST_normal_ppc /Users/jerrybauck/ptdumpme/ 
build/ptdumpme.build/Development/ptdumpmeUnits.build/Objects-normal/ 
ppc/ptdumpme.LinkFileList
     setenv LOCAL_ADMIN_APPS_DIR /Applications/Utilities
     setenv LOCAL_APPS_DIR /Applications
     setenv LOCAL_DEVELOPER_DIR /Library/Developer
     setenv LOCAL_DEVELOPER_EXECUTABLES_DIR
     setenv LOCAL_LIBRARY_DIR /Library
     setenv MACOSX_DEPLOYMENT_TARGET
     setenv MACOS_CREATOR
     setenv MACOS_CREATOR_ARG
     setenv MACOS_TYPE
     setenv MACOS_TYPE_ARG
     setenv MAC_OS_X_VERSION_MAX_ALLOWED
     setenv MAC_OS_X_VERSION_MIN_REQUIRED
     setenv NATIVE_ARCH ppc
     setenv NO_COMMON YES
     setenv OBJECT_FILE_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpmeUnits.build/Objects
     setenv OBJECT_FILE_DIR_normal /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpmeUnits.build/Objects-normal
     setenv OBJROOT /Users/jerrybauck/ptdumpme/build
     setenv OPTIMIZATION_CFLAGS -O0
     setenv OPTIMIZATION_LEVEL 0
     setenv OS MACOS
     setenv OSAC /usr/bin/osacompile
     setenv OTHER_CFLAGS
     setenv OTHER_CPLUSPLUSFLAGS
     setenv OTHER_LDFLAGS
     setenv OTHER_MIGFLAGS
     setenv OTHER_OSAFLAGS
     setenv OTHER_PRECOMP_CFLAGS
     setenv OTHER_RESMERGERFLAGS
     setenv OTHER_REZFLAGS
     setenv PACKAGE_TYPE com.apple.package-type.mach-o-executable
     setenv PASCAL_STRINGS YES
     setenv PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES "/usr/ 
include /usr/local/include /System/Library/Frameworks /System/Library/ 
PrivateFrameworks /Developer/Headers"
     setenv PBDEVELOPMENTPLIST_PATH
     setenv PFE_FILE_C_DIALECTS
     setenv PKGINFO_FILE_PATH /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpmeUnits.build/PkgInfo
     setenv PKGINFO_PATH
     setenv PLUGINS_FOLDER_PATH
     setenv PREBINDING YES
     setenv PRECOMPILE_PREFIX_HEADER
     setenv PRECOMP_DESTINATION_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpmeUnits.build/PrefixHeaders
     setenv PREFIX_CFLAG_BASE
     setenv PREFIX_FLAGS
     setenv PREFIX_HEADER
     setenv PREFIX_REFERENCE
     setenv PRIVATE_HEADERS_FOLDER_PATH
     setenv PRODUCT_NAME ptdumpme
     setenv PRODUCT_SETTINGS_PATH
     setenv PRODUCT_TYPE com.apple.product-type.tool
     setenv PRODUCT_TYPE_CFLAGS
     setenv PRODUCT_TYPE_CPLUSPLUSFLAGS
     setenv PRODUCT_TYPE_HEADER_SEARCH_PATHS
     setenv PROJECT ptdumpme
     setenv PROJECT_DERIVED_FILE_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/DerivedSources
     setenv PROJECT_DIR /Users/jerrybauck/ptdumpme
     setenv PROJECT_FILE_PATH /Users/jerrybauck/ptdumpme/ 
ptdumpme.xcodeproj
     setenv PROJECT_NAME ptdumpme
     setenv PROJECT_TEMP_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build
     setenv PUBLIC_HEADERS_FOLDER_PATH
     setenv RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS YES
     setenv REMOVE_CVS_FROM_RESOURCES YES
     setenv REMOVE_SVN_FROM_RESOURCES YES
     setenv RETAIN_RAW_BINARIES
     setenv REZ_COLLECTOR_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpmeUnits.build/ResourceManagerResources
     setenv REZ_EXECUTABLE YES
     setenv REZ_OBJECTS_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpmeUnits.build/ 
ResourceManagerResources/Objects
     setenv REZ_SEARCH_PATHS /Users/jerrybauck/ptdumpme/build/ 
Development
     setenv SCRIPTS_FOLDER_PATH
     setenv SCRIPT_INPUT_FILE /Users/jerrybauck/ptdumpme/ 
EmptyPlaceHolderUnit.pas
     setenv SCRIPT_OUTPUT_FILE_0 build/ptdumpme
     setenv SCRIPT_OUTPUT_FILE_COUNT 1
     setenv SDKROOT
     setenv SECTORDER_FLAGS
     setenv SED /usr/bin/sed
     setenv SET_DIR_MODE_OWNER_GROUP YES
     setenv SET_FILE_MODE_OWNER_GROUP NO
     setenv SHARED_DERIVED_FILE_DIR /Users/jerrybauck/ptdumpme/build/ 
Development/DerivedSources
     setenv SHARED_FRAMEWORKS_FOLDER_PATH
     setenv SHARED_PRECOMPS_DIR /Library/Caches/com.apple.Xcode.501/ 
SharedPrecompiledHeaders
     setenv SHARED_SUPPORT_FOLDER_PATH
     setenv SOURCE_ROOT /Users/jerrybauck/ptdumpme
     setenv SRCROOT /Users/jerrybauck/ptdumpme
     setenv STRIPFLAGS
     setenv STRIP_INSTALLED_PRODUCT YES
     setenv SYMBOL_HEADER
     setenv SYMBOL_REPOSITORY
     setenv SYMROOT /Users/jerrybauck/ptdumpme/build
     setenv SYSTEM_ADMIN_APPS_DIR /Applications/Utilities
     setenv SYSTEM_APPS_DIR /Applications
     setenv SYSTEM_CORE_SERVICES_DIR /System/Library/CoreServices
     setenv SYSTEM_DEMOS_DIR /Applications/Extras
     setenv SYSTEM_DEVELOPER_APPS_DIR /Developer/Applications
     setenv SYSTEM_DEVELOPER_DEMOS_DIR "/Developer/Applications/ 
Utilities/Built Examples"
     setenv SYSTEM_DEVELOPER_DIR /Developer
     setenv SYSTEM_DEVELOPER_DOC_DIR "/Developer/ADC Reference Library"
     setenv SYSTEM_DEVELOPER_EXECUTABLES_DIR
     setenv SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR "/Developer/ 
Applications/Graphics Tools"
     setenv SYSTEM_DEVELOPER_JAVA_TOOLS_DIR "/Developer/Applications/ 
Java Tools"
     setenv SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR "/Developer/ 
Applications/Performance Tools"
     setenv SYSTEM_DEVELOPER_RELEASENOTES_DIR "/Developer/ADC  
Reference Library/releasenotes"
     setenv SYSTEM_DEVELOPER_TOOLS /Developer/Tools
     setenv SYSTEM_DEVELOPER_TOOLS_DOC_DIR "/Developer/ADC Reference  
Library/documentation/DeveloperTools"
     setenv SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR "/Developer/ADC  
Reference Library/releasenotes/DeveloperTools"
     setenv SYSTEM_DEVELOPER_UTILITIES_DIR /Developer/Applications/ 
Utilities
     setenv SYSTEM_DOCUMENTATION_DIR /Library/Documentation
     setenv SYSTEM_LIBRARY_DIR /System/Library
     setenv SYSTEM_LIBRARY_EXECUTABLES_DIR
     setenv TARGETNAME ptdumpmeUnits
     setenv TARGET_BUILD_DIR /Users/jerrybauck/ptdumpme/build/ 
Development
     setenv TARGET_NAME ptdumpmeUnits
     setenv TARGET_TEMP_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpmeUnits.build
     setenv TEMP_DIR /Users/jerrybauck/ptdumpme/build/ptdumpme.build/ 
Development/ptdumpmeUnits.build
     setenv TEMP_FILES_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpmeUnits.build
     setenv TEMP_FILE_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpmeUnits.build
     setenv TEMP_ROOT /Users/jerrybauck/ptdumpme/build
     setenv UID 501
     setenv UNLOCALIZED_RESOURCES_FOLDER_PATH
     setenv UNSTRIPPED_PRODUCT NO
     setenv USER jerrybauck
     setenv USER_APPS_DIR /Users/jerrybauck/Applications
     setenv USER_LIBRARY_DIR /Users/jerrybauck/Library
     setenv USE_DYNAMIC_NO_PIC YES
     setenv USE_GCC3_PFE_SUPPORT
     setenv VALID_ARCHS "m68k i386 sparc hppa ppc ppc7400 ppc970 ppc64"
     setenv VERBOSE_PBXCP NO
     setenv VERSIONING_STUB
     setenv VERSIONING_SYSTEM
     setenv VERSIONPLIST_PATH
     setenv VERSION_INFO_BUILDER jerrybauck
     setenv VERSION_INFO_EXPORT_DECL
     setenv VERSION_INFO_PREFIX
     setenv VERSION_INFO_STRING "\"@(#)PROGRAM:ptdumpme   
PROJECT:ptdumpme-  DEVELOPER:jerrybauck  BUILT:\" __DATE__  \" \"  
__TIME__ \"\""
     setenv VERSION_INFO_SUFFIX
     setenv WARNING_CFLAGS "-Wmost -Wno-four-char-constants -Wno- 
unknown-pragmas"
     setenv WARNING_LDFLAGS
     setenv WRAPPER_EXTENSION
     setenv WRAPPER_NAME
     setenv WRAPPER_PREFIX
     setenv WRAPPER_SUFFIX
     setenv XCODE_APP_SUPPORT_DIR "/Library/Application Support/Apple/ 
Developer Tools"
     setenv YACC /usr/bin/yacc
     setenv YACCFLAGS
     setenv ZERO_LINK YES
     /bin/sh -c "rm -f build/$PRODUCT_NAME"

Native Build of Target "ptdumpme" using Build Configuration  
"Development"

PhaseScriptExecution /Users/jerrybauck/ptdumpme/build/ptdumpme.build/ 
Development/ptdumpme.build/Script-fe177850.sh
     mkdir "build/$PROJECT_NAME.build"
     mkdir "build/$PROJECT_NAME.app/Contents/MacOS"
     cd /Users/jerrybauck/ptdumpme
     setenv ACTION build
     setenv APPLE_INTERNAL_DEVELOPER_DIR /AppleInternal/Developer
     setenv APPLE_INTERNAL_DIR /AppleInternal
     setenv APPLE_INTERNAL_DOCUMENTATION_DIR /AppleInternal/ 
Documentation
     setenv APPLE_INTERNAL_LIBRARY_DIR /AppleInternal/Library
     setenv APPLE_INTERNAL_TOOLS /AppleInternal/Developer/Tools
     setenv ARCHS ppc
     setenv BUILD_COMPONENTS "headers build"
     setenv BUILD_DIR /Users/jerrybauck/ptdumpme/build
     setenv BUILD_ROOT /Users/jerrybauck/ptdumpme/build
     setenv BUILD_STYLE Development
     setenv BUILD_VARIANTS normal
     setenv BUILT_PRODUCTS_DIR /Users/jerrybauck/ptdumpme/build/ 
Development
     setenv CACHE_ROOT /Library/Caches/com.apple.Xcode.501
     setenv CCHROOT /Library/Caches/com.apple.Xcode.501
     setenv CHMOD /bin/chmod
     setenv CHOWN /usr/sbin/chown
     setenv CLASS_FILE_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpme.build/JavaClasses
     setenv CLEAN_PRECOMPS NO
     setenv CLONE_HEADERS NO
     setenv CONFIGURATION Development
     setenv CONFIGURATION_BUILD_DIR /Users/jerrybauck/ptdumpme/build/ 
Development
     setenv CONFIGURATION_TEMP_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development
     setenv CONTENTS_FOLDER_PATH
     setenv COPY_PHASE_STRIP NO
     setenv COPY_RESOURCES_FROM_STATIC_FRAMEWORKS YES
     setenv CP /bin/cp
     setenv CURRENT_PROJECT_VERSION
     setenv CodeWarrior "/Applications/Metrowerks CodeWarrior 8.0/ 
Metrowerks CodeWarrior"
     setenv DEBUGGING_SYMBOLS YES
     setenv DEPLOYMENT_LOCATION NO
     setenv DERIVED_FILES_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpme.build/DerivedSources
     setenv DERIVED_FILE_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpme.build/DerivedSources
     setenv DERIVED_PATHS
     setenv DERIVED_SOURCES_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpme.build/DerivedSources
     setenv DEVELOPMENT_LANGUAGE English
     setenv DOCUMENTATION_FOLDER_PATH
     setenv DSTROOT /tmp/ptdumpme.dst
     setenv DYLIB_COMPATIBILITY_VERSION
     setenv DYLIB_CURRENT_VERSION
     setenv DYLIB_INSTALL_NAME_BASE
     setenv ENABLE_HEADER_DEPENDENCIES YES
     setenv EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES "*.nib  
*.lproj *.framework *.gch *.xcode (*) CVS .svn"
     setenv EXECUTABLES_FOLDER_PATH
     setenv EXECUTABLE_EXTENSION
     setenv EXECUTABLE_NAME ptdumpme
     setenv EXECUTABLE_PATH ptdumpme
     setenv EXECUTABLE_PREFIX
     setenv EXECUTABLE_SUFFIX
     setenv EXECUTABLE_VARIANT_SUFFIX
     setenv FRAMEWORKS_FOLDER_PATH
     setenv FRAMEWORK_FLAG_PREFIX -framework
     setenv FRAMEWORK_SEARCH_PATHS /Users/jerrybauck/ptdumpme/build/ 
Development
     setenv FRAMEWORK_VERSION A
     setenv FULL_PRODUCT_NAME ptdumpme
     setenv GCC_AUTO_PCH_HEADER_c
     setenv GCC_AUTO_PCH_HEADER_c++
     setenv GCC_AUTO_PCH_HEADER_objective-c
     setenv GCC_AUTO_PCH_HEADER_objective-c++
     setenv GCC_DYNAMIC_NO_PIC NO
     setenv GCC_ENABLE_AUTO_PCH NO
     setenv GCC_ENABLE_FIX_AND_CONTINUE YES
     setenv GCC_ENABLE_TRIGRAPHS NO
     setenv GCC_GENERATE_DEBUGGING_SYMBOLS YES
     setenv GCC_OPTIMIZATION_LEVEL 0
     setenv GCC_PFE_FILE_C_DIALECTS "c objective-c c++ objective-c++"
     setenv GCC_PRECOMPILE_PREFIX_HEADER NO
     setenv GCC_PREFIX_HEADER
     setenv GCC_SYMBOLS_PRIVATE_EXTERN YES
     setenv GCC_TREAT_WARNINGS_AS_ERRORS NO
     setenv GCC_USE_GCC3_PFE_SUPPORT
     setenv GCC_VERSION
     setenv GCC_WARN_ABOUT_MISSING_PROTOTYPES NO
     setenv GCC_WARN_FOUR_CHARACTER_CONSTANTS NO
     setenv GCC_WARN_UNKNOWN_PRAGMAS NO
     setenv GENERATE_PKGINFO_FILE NO
     setenv GENERATE_PROFILING_CODE NO
     setenv GLOBAL_CFLAGS
     setenv GROUP staff
     setenv HEADERMAP_INCLUDES_PROJECT_HEADERS YES
     setenv HEADER_SEARCH_PATHS /Users/jerrybauck/ptdumpme/build/ 
Development/include
     setenv INCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES
     setenv INFOPLIST_FILE
     setenv INFOPLIST_PATH
     setenv INFOSTRINGS_PATH
     setenv INIT_ROUTINE
     setenv INPUT_FILE_BASE ptdumpme
     setenv INPUT_FILE_DIR /Users/jerrybauck/ptdumpme
     setenv INPUT_FILE_NAME ptdumpme.pas
     setenv INPUT_FILE_PATH /Users/jerrybauck/ptdumpme/ptdumpme.pas
     setenv INPUT_FILE_SUFFIX .pas
     setenv INSTALL_DIR /tmp/ptdumpme.dst/Users/jerrybauck/bin
     setenv INSTALL_GROUP staff
     setenv INSTALL_MODE_FLAG a-w,a+rX
     setenv INSTALL_OWNER jerrybauck
     setenv INSTALL_PATH /Users/jerrybauck/bin
     setenv INSTALL_ROOT /tmp/ptdumpme.dst
     setenv JAVAC_DEFAULT_FLAGS "-J-Xms64m -J-XX:NewSize=4M -J- 
Dfile.encoding=UTF8"
     setenv JAVA_APP_STUB /System/Library/Frameworks/JavaVM.framework/ 
Resources/MacOS/JavaApplicationStub
     setenv JAVA_ARCHIVE_CLASSES YES
     setenv JAVA_ARCHIVE_TYPE JAR
     setenv JAVA_COMPILER /usr/bin/javac
     setenv JAVA_FOLDER_PATH
     setenv JAVA_FRAMEWORK_JARS
     setenv JAVA_FRAMEWORK_RESOURCES_DIRS Resources
     setenv JAVA_JAR_FLAGS cv
     setenv JAVA_SOURCE_SUBDIR .
     setenv JAVA_USE_DEPENDENCIES YES
     setenv JAVA_ZIP_FLAGS -urg
     setenv JIKES_DEFAULT_FLAGS "+E +OLDCSO"
     setenv LD_FLAGS
     setenv LEX /usr/bin/lex
     setenv LEXFLAGS
     setenv LIBRARY_FLAG_NOSPACE YES
     setenv LIBRARY_FLAG_PREFIX -l
     setenv LIBRARY_SEARCH_PATHS /Users/jerrybauck/ptdumpme/build/ 
Development
     setenv LINKER_LIBRARY_FLAGS
     setenv LINK_FILE_LIST_normal_ppc /Users/jerrybauck/ptdumpme/ 
build/ptdumpme.build/Development/ptdumpme.build/Objects-normal/ppc/ 
ptdumpme.LinkFileList
     setenv LOCAL_ADMIN_APPS_DIR /Applications/Utilities
     setenv LOCAL_APPS_DIR /Applications
     setenv LOCAL_DEVELOPER_DIR /Library/Developer
     setenv LOCAL_DEVELOPER_EXECUTABLES_DIR
     setenv LOCAL_LIBRARY_DIR /Library
     setenv MACOSX_DEPLOYMENT_TARGET 10.1
     setenv MACOS_CREATOR
     setenv MACOS_CREATOR_ARG
     setenv MACOS_TYPE
     setenv MACOS_TYPE_ARG
     setenv MAC_OS_X_VERSION_MAX_ALLOWED
     setenv MAC_OS_X_VERSION_MIN_REQUIRED
     setenv NATIVE_ARCH ppc
     setenv NO_COMMON YES
     setenv OBJECT_FILE_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpme.build/Objects
     setenv OBJECT_FILE_DIR_normal /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpme.build/Objects-normal
     setenv OBJROOT /Users/jerrybauck/ptdumpme/build
     setenv OPTIMIZATION_CFLAGS -O0
     setenv OPTIMIZATION_LEVEL 0
     setenv OS MACOS
     setenv OSAC /usr/bin/osacompile
     setenv OTHER_CFLAGS
     setenv OTHER_CPLUSPLUSFLAGS
     setenv OTHER_LDFLAGS
     setenv OTHER_MIGFLAGS
     setenv OTHER_OSAFLAGS
     setenv OTHER_PRECOMP_CFLAGS
     setenv OTHER_RESMERGERFLAGS
     setenv OTHER_REZFLAGS
     setenv PACKAGE_TYPE com.apple.package-type.mach-o-executable
     setenv PASCAL_STRINGS YES
     setenv PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES "/usr/ 
include /usr/local/include /System/Library/Frameworks /System/Library/ 
PrivateFrameworks /Developer/Headers"
     setenv PBDEVELOPMENTPLIST_PATH
     setenv PFE_FILE_C_DIALECTS
     setenv PKGINFO_FILE_PATH /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpme.build/PkgInfo
     setenv PKGINFO_PATH
     setenv PLUGINS_FOLDER_PATH
     setenv PREBINDING YES
     setenv PRECOMPILE_PREFIX_HEADER
     setenv PRECOMP_DESTINATION_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpme.build/PrefixHeaders
     setenv PREFIX_CFLAG_BASE
     setenv PREFIX_FLAGS
     setenv PREFIX_HEADER
     setenv PREFIX_REFERENCE
     setenv PRIVATE_HEADERS_FOLDER_PATH
     setenv PRODUCT_NAME ptdumpme
     setenv PRODUCT_SETTINGS_PATH
     setenv PRODUCT_TYPE com.apple.product-type.tool
     setenv PRODUCT_TYPE_CFLAGS
     setenv PRODUCT_TYPE_CPLUSPLUSFLAGS
     setenv PRODUCT_TYPE_HEADER_SEARCH_PATHS
     setenv PROJECT ptdumpme
     setenv PROJECT_DERIVED_FILE_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/DerivedSources
     setenv PROJECT_DIR /Users/jerrybauck/ptdumpme
     setenv PROJECT_FILE_PATH /Users/jerrybauck/ptdumpme/ 
ptdumpme.xcodeproj
     setenv PROJECT_NAME ptdumpme
     setenv PROJECT_TEMP_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build
     setenv PUBLIC_HEADERS_FOLDER_PATH
     setenv RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS YES
     setenv REMOVE_CVS_FROM_RESOURCES YES
     setenv REMOVE_SVN_FROM_RESOURCES YES
     setenv RETAIN_RAW_BINARIES
     setenv REZ_COLLECTOR_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpme.build/ResourceManagerResources
     setenv REZ_EXECUTABLE YES
     setenv REZ_OBJECTS_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpme.build/ResourceManagerResources/ 
Objects
     setenv REZ_SEARCH_PATHS /Users/jerrybauck/ptdumpme/build/ 
Development
     setenv SCRIPTS_FOLDER_PATH
     setenv SCRIPT_INPUT_FILE /Users/jerrybauck/ptdumpme/ptdumpme.pas
     setenv SCRIPT_OUTPUT_FILE_0 "build/$PROJECT_NAME.build/ 
$INPUT_FILE_BASE.o"
     setenv SCRIPT_OUTPUT_FILE_1 "build/$PROJECT_NAME.app/Contents/ 
MacOS/ptdumpme"
     setenv SCRIPT_OUTPUT_FILE_COUNT 2
     setenv SDKROOT
     setenv SECTORDER_FLAGS
     setenv SED /usr/bin/sed
     setenv SET_DIR_MODE_OWNER_GROUP YES
     setenv SET_FILE_MODE_OWNER_GROUP NO
     setenv SHARED_DERIVED_FILE_DIR /Users/jerrybauck/ptdumpme/build/ 
Development/DerivedSources
     setenv SHARED_FRAMEWORKS_FOLDER_PATH
     setenv SHARED_PRECOMPS_DIR /Library/Caches/com.apple.Xcode.501/ 
SharedPrecompiledHeaders
     setenv SHARED_SUPPORT_FOLDER_PATH
     setenv SOURCE_ROOT /Users/jerrybauck/ptdumpme
     setenv SRCROOT /Users/jerrybauck/ptdumpme
     setenv STRIPFLAGS
     setenv STRIP_INSTALLED_PRODUCT YES
     setenv SYMBOL_HEADER
     setenv SYMBOL_REPOSITORY
     setenv SYMROOT /Users/jerrybauck/ptdumpme/build
     setenv SYSTEM_ADMIN_APPS_DIR /Applications/Utilities
     setenv SYSTEM_APPS_DIR /Applications
     setenv SYSTEM_CORE_SERVICES_DIR /System/Library/CoreServices
     setenv SYSTEM_DEMOS_DIR /Applications/Extras
     setenv SYSTEM_DEVELOPER_APPS_DIR /Developer/Applications
     setenv SYSTEM_DEVELOPER_DEMOS_DIR "/Developer/Applications/ 
Utilities/Built Examples"
     setenv SYSTEM_DEVELOPER_DIR /Developer
     setenv SYSTEM_DEVELOPER_DOC_DIR "/Developer/ADC Reference Library"
     setenv SYSTEM_DEVELOPER_EXECUTABLES_DIR
     setenv SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR "/Developer/ 
Applications/Graphics Tools"
     setenv SYSTEM_DEVELOPER_JAVA_TOOLS_DIR "/Developer/Applications/ 
Java Tools"
     setenv SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR "/Developer/ 
Applications/Performance Tools"
     setenv SYSTEM_DEVELOPER_RELEASENOTES_DIR "/Developer/ADC  
Reference Library/releasenotes"
     setenv SYSTEM_DEVELOPER_TOOLS /Developer/Tools
     setenv SYSTEM_DEVELOPER_TOOLS_DOC_DIR "/Developer/ADC Reference  
Library/documentation/DeveloperTools"
     setenv SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR "/Developer/ADC  
Reference Library/releasenotes/DeveloperTools"
     setenv SYSTEM_DEVELOPER_UTILITIES_DIR /Developer/Applications/ 
Utilities
     setenv SYSTEM_DOCUMENTATION_DIR /Library/Documentation
     setenv SYSTEM_LIBRARY_DIR /System/Library
     setenv SYSTEM_LIBRARY_EXECUTABLES_DIR
     setenv TARGETNAME ptdumpme
     setenv TARGET_BUILD_DIR /Users/jerrybauck/ptdumpme/build/ 
Development
     setenv TARGET_NAME ptdumpme
     setenv TARGET_TEMP_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpme.build
     setenv TEMP_DIR /Users/jerrybauck/ptdumpme/build/ptdumpme.build/ 
Development/ptdumpme.build
     setenv TEMP_FILES_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpme.build
     setenv TEMP_FILE_DIR /Users/jerrybauck/ptdumpme/build/ 
ptdumpme.build/Development/ptdumpme.build
     setenv TEMP_ROOT /Users/jerrybauck/ptdumpme/build
     setenv UID 501
     setenv UNLOCALIZED_RESOURCES_FOLDER_PATH
     setenv UNSTRIPPED_PRODUCT NO
     setenv USER jerrybauck
     setenv USER_APPS_DIR /Users/jerrybauck/Applications
     setenv USER_LIBRARY_DIR /Users/jerrybauck/Library
     setenv USE_DYNAMIC_NO_PIC YES
     setenv USE_GCC3_PFE_SUPPORT
     setenv VALID_ARCHS "m68k i386 sparc hppa ppc ppc7400 ppc970 ppc64"
     setenv VERBOSE_PBXCP NO
     setenv VERSIONING_STUB
     setenv VERSIONING_SYSTEM
     setenv VERSIONPLIST_PATH
     setenv VERSION_INFO_BUILDER jerrybauck
     setenv VERSION_INFO_EXPORT_DECL
     setenv VERSION_INFO_PREFIX
     setenv VERSION_INFO_STRING "\"@(#)PROGRAM:ptdumpme   
PROJECT:ptdumpme-  DEVELOPER:jerrybauck  BUILT:\" __DATE__  \" \"  
__TIME__ \"\""
     setenv VERSION_INFO_SUFFIX
     setenv WARNING_CFLAGS "-Wmost -Wno-four-char-constants -Wno- 
unknown-pragmas"
     setenv WARNING_LDFLAGS
     setenv WRAPPER_EXTENSION
     setenv WRAPPER_NAME
     setenv WRAPPER_PREFIX
     setenv WRAPPER_SUFFIX
     setenv XCODE_APP_SUPPORT_DIR "/Library/Application Support/Apple/ 
Developer Tools"
     setenv YACC /usr/bin/yacc
     setenv YACCFLAGS
     setenv ZERO_LINK YES
     /bin/sh -c "
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
"
Build Style = Development
Free Pascal Compiler version 2.0.0 [2005/05/13] for powerpc
Copyright (c) 1993-2005 by Florian Klaempfl
error: Path "build/ptdumpme.build/ptdumpme.build/" does not exist
mv: rename build/ptdumpme.build/ptdumpme to build/Development/ 
ptdumpme: No such file or directory






More information about the fpc-pascal mailing list