This is the mail archive of the crossgcc@sources.redhat.com 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]

Crosstool errors on OS X host, i686 target


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

Attachment: smime.p7s
Description: S/MIME cryptographic signature


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