Crosstool errors on OS X host, i686 target

Thomas Dufaux thomasdufaux@mac.com
Wed Jan 26 09:00:00 GMT 2005


Hi,

I'm trying to make a cross compiler on Mac OS X for a Pentium II target  
with crosstool. Here is the script I use:

#!/bin/sh
set -ex
TARBALLS_DIR=$HOME/Documents/Downloads
RESULT_TOP=/opt/crosstool
export TARBALLS_DIR RESULT_TOP
GCC_LANGUAGES="c,c++"
export GCC_LANGUAGES
mkdir -p $RESULT_TOP
eval `cat i686.dat gcc-3.3.3-glibc-2.3.2.dat`  sh all.sh --notest

But I'm getting a silly error after about an hour:

+ install -D -m755 install-shared-lib.sh  
/opt/crosstool/i686-unknown-linux-gnu/gcc-3.3.3-glibc-2.3.2/libexec/ 
install-shared-lib.sh
install: illegal option -- D

Seems like the -D option is not supported on Mac OS even in the latest  
version of the developer tools (Xcode 1.5).

My questions:
1) How do I solve this? ;)
2) After running the above script again, my  
build/i686-unknown-linux-gnu/gcc-3.3.3-glibc-2.3.2/ will be deleted  
again along with the file I just patched?

I'm no dev. Just someone who knows how to run a script.

- Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2369 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20050126/a8e4a054/attachment.p7s>


More information about the crossgcc mailing list