Download here: http://gg.gg/vz2h4
Projects
JMLA, In the latest xcode the command line tools aren’t installed by default. Look in Xcode-preferences-downloads. Select ’Command Line Tools’. Once you do this you may need to re-open QtCreator. But if this is the problem I would have expected Qt to co. What Is Xcode3.2.6andiossdk4.3.dmg Upgrade Vmware Fusion From Dmg Anti Mage Lvl 15 Illusion Dmg Convert Iso To Dmg Windows 10 Mac Os X El Capitan Dmg Bootable Usb Download Mac Downloads Link As Dmg Itunes 11.4 Dmg Download Do Damage Creatures Do Less Dmg Keyforge What Is A Dmg Archive How To Install Dmg Vsts. Download the xcode3.2.6andiossdk4.3.dmg from Apple’s iOS Developer’s site. Run the installer. When presented with options to install, select JUST the SDK. Uncheck everything else. After install is complete, you will be able to run the FireMonkey installer again (assuming you have already installed FPC). Download xcode3.2.6andiossdk4.3.dmg (note - you need a developer account to access this software. I have instead linked to an open-to-the-public Apple discussion that contains the direct download link.Programming
I prefer doing my development from linux, but I would still like to compile my software for other architectures (OSX, Windows, perhaps dos). Especially if I can build Makefile scripts so one command can build for all architectures.
The mingw-w64 project has been a godsend, it allows me to compile 32bit & 64bit software in the same toolchain. I believe it can also target WinCE, but I have yet to attempt this. gcc can link directly to dll files (if the symbol table is present). At the time this was posted, there seems to be 2 choices, trunk and the 1.0 snapshot. This was modified from my i686-pc-mingw32 toolchain, with some information from http://sourceforge.net/apps/trac/mingw-w64/wiki/Cross%20Win32%20and%20Win64%20compilerDownloads
*Binutils 2.23.1 - ftp://ftp.gnu.org/gnu/binutils/binutils-2.23.1.tar.bz2
*GCC 4.8.0 - ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.0/gcc-4.8.0.tar.bz2
*mingw-w64-v2.0.7 - http://downloads.sourceforge.net/project/mingw-w64/mingw-w64/mingw-w64-release/mingw-w64-v2.0.7.tar.gzMingwRT Headers
GCC Requires some files from the mingw package to compile, so we will install them first
*cd mingw-w64-headers
*./configure --prefix=/usr/x86_64-w64-mingw32/sysroot --host=x86_64-w64-mingw32
*make install
*ln -s x86_64-w64-mingw32 /usr/x86_64-w64-mingw32/sysroot/mingw
*install -d -m755 /usr/x86_64-w64-mingw32/sysroot/mingw/libBinutils
*mkdir build
*cd build
*../configure --prefix=/usr --target=x86_64-w64-mingw32 --with-sysroot=/usr/x86_64-w64-mingw32/sysroot --enable-targets=x86_64-w64-mingw32,i686-w64-mingw32
*make
*make installGCC Pass1
We will start by compiling a basic gcc compiler, just enough to compile the mingw headers. The full gcc suite requires us to install the mingw headers/libraries first
*mkdir build
*cd build
*../configure --prefix=/usr --target=x86_64-w64-mingw32 --enable-languages=c,c++ --libexecdir=/usr/lib --disable-static --enable-threads=win32 --with-sysroot=/usr/x86_64-w64-mingw32/sysroot --enable-targets=all --with-cpu=generic
*make all-gcc
*make install-gccMingwRT Libraries
Now a full install of the mingw headers and libraries
*cd mingw-w64-crt
*./configure --prefix=/usr/x86_64-w64-mingw32/sysroot --host=x86_64-w64-mingw32
*make
*make installGCC Pass2
And now to do a full gcc install
*mkdir build
*cd build
*../configure --prefix=/usr --target=x86_64-w64-mingw32 --enable-languages=c,c++ --libexecdir=/usr/lib --disable-static --enable-threads=win32 --with-sysroot=/usr/x86_64-w64-mingw32/sysroot --enable-targets=all --with-cpu=generic
*make
*make install
I no longer use this compiler for my own projects, This will build a 32bit linux to windows toolchain using binutils/gcc/mingw, and in theory x86_64-w64-mingw32 should be able to do anything this compiler did
Cavets: The mingw32 project targets an earlier gcc. This information is here for historic information.Downloads
*Binutils 2.20.1 - ftp://ftp.gnu.org/gnu/binutils/binutils-2.20.1.tar.bz2
*GCC 4.5.1 - ftp://ftp.gnu.org/gnu/gcc/gcc-4.5.1/gcc-4.5.1.tar.bz2
*Mingw32 Runtime 3.18 - http://downloads.sourceforge.net/project/mingw/MinGW/BaseSystem/RuntimeLibrary/MinGW-RT/mingwrt-3.18/mingwrt-3.18-mingw32-src.tar.gz
*Win32 API 3.15-1 - http://downloads.sourceforge.net/project/mingw/MinGW/BaseSystem/RuntimeLibrary/Win32-API/w32api-3.15/w32api-3.15-1-mingw32-src.tar.lzmaPatches
*http://nathancoulson.com/proj/cross/mingwrt-3.18-disable_thrd-1.patch: Disabled libmingwthrd.a, which will not build until after gcc pass2
*http://nathancoulson.com/proj/cross/w32api-fix_include_path-1.patch: Fixes the include path so that this package will compileBinutils
*mkdir build
*cd build
*../configure --prefix=/usr --target=i686-pc-mingw32 --with-sysroot=/usr/i686-pc-mingw32
*make
*make installGCC - Pass 1
Without the mingw headers & libraries installed, we can only build a minimal gcc at this time.
*mkdir build
*cd build
*mkdir -p /usr/i686-pc-mingw32/sys-root/mingw/include
*../configure --prefix=/usr --target=i686-pc-mingw32 --enable-languages=c --with-sysroot=/usr/i686-pc-mingw32/sys-root --libexecdir=/usr/lib --disable-static --disable-threads --without-headers
*make all-gcc install-gccWin32 API
To compile, this requires us to have an extracted mingw tarball at ../mingw. It also requires a patch to fix a -I path
*tar -xzf ../mingwrt-3.18-mingw32-src.tar.gz -C ..
*mv ../mingwrt-3.18-mingw32 ../mingw
*patch -Np1 -i ../w32api-fix_include_path-1.patch
*./configure --prefix=/usr/i686-pc-mingw32
*make BUILDENV=mingw
*make installMingw Runtime - Pass 1
Unfortunately, we cannot compile the libmingwthrd.a until we install the full GCC suite. For now, just disable it. This package does not use gcc’s search paths, so we force it to search in the sys-root for the w32api files
*patch -Np1 -i ../mingwrt-3.18-disable_thrd-1.patch
*CFLAGS=’-g -O2 -I /usr/i686-pc-mingw32/sys-root/mingw/include’ ./configure --prefix=/usr/i686-pc-mingw32/sys-root/mingw --host=i686-pc-mingw32
*make
*make installGCC - Pass 2
Now that we have the mingw & win32 headers & libraries installed, we can build a fully functional gcc
*mkdir build
*cd build
*mkdir -p /usr/i686-pc-mingw32/sys-root/mingw/include
*../configure --prefix=/usr --target=i686-pc-mingw32 --enable-languages=c,c++ --with-sysroot=/usr/i686-pc-mingw32/sys-root --libexecdir=/usr/lib --disable-static --enable-threads=win32
*make all-gcc install-gccMingw Runtime - Pass 2
And of course, build the entirety of the mingw runtime
*CFLAGS=’-g -O2 -I /usr/i686-pc-mingw32/sys-root/mingw/include’ ./configure --prefix=/usr/i686-pc-mingw32/sys-root/mingw --host=i686-pc-mingw32
*make
*make install
A linux to OSX Cross Compiler. By default, targets 64bit osx, but if you pass -m32 to gcc, it will compile for 32bit. I use odcctools for the linker, and gcc. Most of the articles I have read, suggest that using apple’s version of gcc will lead to less headaches in the future, but I have not done any research into installing apple’s gcc on a linux machine. It looks like odcctools upstream is no longer being updated, as there are later versions of cctools. At this time, GCC 4.7.1 failed to work as it was calling -no_compact_unwind. It looks like this flag is not present in the cctools used by odcctools.
Below is a list of related links, that may be of use
*http://devs.openttd.org/~truebrain/compile-farm/apple-darwin9.txt: openttd’s direction on building a compiler targeting i686-apple-darwin9.
*http://svn.macosforge.org/repository/odcctools/: odcctools svn repository (Looks like it is maintained by Peter O’Gorman. An email sent to the gcc list has some further information http://gcc.gnu.org/ml/gcc/2009-08/msg00142.htmlDownloadsXcode 3.2.6 And Ios Sdk 4.3.dmg Version
*https://developer.apple.com/ios/download.action?path=/ios/ios_sdk_4.1__final/xcode_3.2.6_and_ios_sdk_4.3.dmg: libc & friends. This requires a Mac Dev account
*svn co http://svn.macosforge.org/repository/odcctools/trunk/ [I used Revision 159]
*GCC 4.6.3 - ftp://ftp.gnu.org/gnu/gcc/gcc-4.6.3/gcc-4.6.3.tar.bz2Libraries
The download for xcode, is in the form of a image, and requires a bit of processing to access.
*dmg2img xcode-3.2.6_and_ios_sdk_4.3.dmg #convert to a .img file
*mkdir xcode
*mount xcode_3.2.6_and_ios_sdk_4.3.img xcode -o loop,offset=36864Xcode 3.2.6 And Ios Sdk 4.3.dmg Update
Now, we need to extract the libraries
*xnu -xf Packages/MacOSX10.6.pkg
*gunzip Payload -c | cpio -i
*cp -a SDKs/MacOSX10.6.sdk/* /usr/x86_64-apple-darwin10/sysroot
*install -d -m755 /usr/x86_64-apple-darwin10/sysroot
*ln -s ../System/Library /usr/x86_64-apple-darwin10/sysroot/Frameworksodcctools
Note: This requires gcc-4.4.6 or earlier, compiled for a 32bit host. I had some linking problems to libLTO.so, so I temporairly moved it
Binutils at this time, does not have enough support for Mach-O at this time. It does not sound like this is a goal for binutils to support.
*CC=’gcc-4.4.6 -m32’ CXX=’g++-4.4.6 -m32’ ./configure --prefix=/usr --target=x86_64-apple-darwin10 --with-sysroot=/usr/x86_64-apple-darwin10/sysroot
*make -C libstuff
*make -C ld64 SSL_LIBS=’-lssl -lcrypto -ldl’ # Otherwise complains that libdl is not found
*make
*make installGCC
It appears that the latest gcc has some tests that do not like to run when cross compiling. To get around this, I set the variables manually in a config.cache file (Allows building libobjc), as well as applying a patch I found at GCC Bug 47836. There is a thread discussing the situation at http://gcc.gnu.org/ml/gcc/2011-03/msg00461.html which shows the workaround below. objc++, and c++ have simular failures that can be worked around, but I have yet to research that.
*mkdir -p x86_64-apple-darwin10/{i386/,}libobjc
*echo -e ’gcc_cv_have_tls=yesngcc_cv_have_tls_set=setnlt_cv_ld_exported_symbols_list=no’ > x86_64-apple-darwin10/libobjc/config.cache
*echo -e ’gcc_cv_have_tls=yesngcc_cv_have_tls_set=setnlt_cv_ld_exported_symbols_list=no’ > x86_64-apple-darwin10/i386/libobjc/config.cache
*mkdir gcc-build
*cd gcc-build
*../configure --prefix=/usr --target=x86_64-apple-darwin10 --enable-languages=c,objc --libexecdir=/usr/lib --with-sysroot=/usr/x86_64-apple-darwin10/sysroot --with-as=/usr/bin/x86_64-apple-darwin10-as --disable-libssp --disable-libquadmath --disable-libgomp
*make
*make install
I have downloaded a number of times and each time have the same problems. The image fails verification and when I skip verification, the installation fails with the following:

Oct 12 11:25:20 cpe-74-68-108-76 installd[3735]: PackageKit: Extracting file://localhost/Volumes/Xcode%20and%20iOS%20SDK/Packages/iPhoneSDK4_2.pkg (destination=/var/folders/zz/zzzivhrRnAmviuee+++++++++++/Cleanup At Startup/PKInstallSandbox-tmp/Root, uid=0)
Oct 12 11:25:27 cpe-74-68-108-76 installd[3735]: PackageKit: Install Failed: PKG: extracting ’com.apple.pkg.iPhoneSimulatorSDK4_2’nError Domain=PKInstallErrorDomain Code=110 UserInfo=0x10722a930 ’An error occurred while extracting files from the package “iPhoneSimulatorSDK4_2.pkg”.’ Underlying Error=(Error Domain=NSCocoaErrorDomain Code=259 ’The file couldn’t be opened because it isn’t in the correct format.’) {n NSFilePath = ’/var/folders/zz/zzzivhrRnAmviuee+++++++++++/Cleanup At Startup/PKInstallSandbox-tmp/Root’;n NSLocalizedDescription = ’An error occurred while extracting files from the package U201ciPhoneSimulatorSDK4_2.pkgU201d.’;n NSURL = ’../Packages/iPhoneSimulatorSDK4_2.pkg -- file://localhost/Volumes/Xcode%20and%20iOS%20SDK/Xcode%20and%20iOS%20SDK.mpkg/’ ;n NSUnderlyingError = ’Error Domain=NSCocoaErrorDomain Code=259 ’The file couldnU2019t be opened because it isnU2019t in the correct format.’;n PKInstallPackageIdentifier = ’com.apple.pkg.iPhoneSimulatorSDK4_2’;n}
Oct 12 11:25:27 cpe-74-68-108-76 Installer[3534]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=110 UserInfo=0x41c8a0 ’An error occurred while extracting files from the package “iPhoneSimulatorSDK4_2.pkg”.’ Underlying Error=(Error Domain=NSCocoaErrorDomain Code=259 ’The file couldn’t be opened because it isn’t in the correct format.’)Ios Sdk Requirements
Oct 12 11:25:27 cpe-74-68-108-76 Installer[3534]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
Oct 12 11:25:27 cpe-74-68-108-76 Installer[3534]: IFDInstallController 2002C0 state = 7
Oct 12 11:25:27 cpe-74-68-108-76 Installer[3534]: Displaying ’Install Failed’ UI.Xcode 3.2.6 And Ios Sdk 4.3.dmg Release
Oct 12 11:25:27 cpe-74-68-108-76 Installer[3534]: ’Install Failed’ UI displayed message:’The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.’.Download Ios Sdk

I have seen many posts similar to this, but haven’t found any solutions posted.
iMac, Mac OS X (10.6.8), xcode ios
Posted on Oct 12, 2011 8:35 AM
Download here: http://gg.gg/vz2h4

https://diarynote.indered.space

コメント

最新の日記 一覧

<<  2025年7月  >>
293012345
6789101112
13141516171819
20212223242526
272829303112

お気に入り日記の更新

テーマ別日記一覧

まだテーマがありません

この日記について

日記内を検索