This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Help with Building toolchain with crosstool-ng on Mac OS X 10.6.2 (Snow Leopard)


Hello,

I read the article "Building toolchain with crosstool-ng on Mac OS X SL" in the mail archive and I am not sure which version of coreutils, gawk, libtool and so on I need. I read the MacOS-X.txt, too.

I started with the command of the MacOS-X.txt manually and I got a lot of warnings and errors:

--------------------------------------------------------------------------

echo Create new Directory
mkdir /Applications/arm-linux-gcc/crosstool-ng-1.5.3/_tmp

echo Install GNU sed into /usr/local
cd /Applications/arm-linux-gcc/crosstool-ng-1.5.3/_tmp
curl -O http://ftp.gnu.org/gnu/sed/sed-4.2.1.tar.bz2
tar -xf sed-4.2.1.tar.bz2
cd sed-4.2.1
./configure --prefix=/usr/local
make -j 2
sudo make install

echo Install GNU coreutils
cd /Applications/arm-linux-gcc/crosstool-ng-1.5.3/_tmp
curl -O http://ftp.gnu.org/gnu/coreutils/coreutils-7.4.tar.gz
tar -xf coreutils-7.4.tar.gz
cd coreutils-7.4
./configure --prefix=/usr/local
make -j 2
sudo make install

echo Install GNU libtool
cd /Applications/arm-linux-gcc/crosstool-ng-1.5.3/_tmp
curl -O http://ftp.gnu.org/gnu/libtool/libtool-2.2.6a.tar.gz
tar -xf libtool-2.2.6a.tar.gz
cd libtool-2.2.6
./configure --prefix=/usr/local
make -j 2
sudo make install

echo Install GNU awk, needed to fix a weird error in glibc compile
cd /Applications/arm-linux-gcc/crosstool-ng-1.5.3/_tmp
curl -O http://ftp.gnu.org/gnu/gawk/gawk-3.1.7.tar.bz2
tar -xf gawk-3.1.7.tar.bz2
cd gawk-3.1.7
./configure --prefix=/usr/local
make -j 2
sudo make install

echo Xcode doesn't come with objcopy/objdump, but you need them. 
cd /Applications/arm-linux-gcc/crosstool-ng-1.5.3/_tmp
curl -O http://ftp.gnu.org/gnu/binutils/binutils-2.19.1.tar.bz2
tar -xf binutils-2.19.1.tar.bz2
cd binutils-2.19.1
./configure --prefix=/usr/local
make -j 2
sudo cp binutils/obj{dump,copy} /usr/local/bin

echo Done installing prerequisites...now do the fun stuff!

--------------------------------------------------------------------------

Has anyone successfully installed the program crossgcc on MacOS SL manually (or with crosstool-ng)?

Best Regards,
Uwe
















--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]