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] |
In gcc.sh you find the following: if [ "${CT_MULTILIB}" = "y" ]; then multilibs=( $( "${core_prefix_dir}/bin/${CT_TARGET}-gcc" -print-multi-lib \ |tail -n +2 ) ) This fails when trying to do a candian cross where target is win32. The error is: ..../scripts/build/cc/gcc.sh: line 413: .../.build/arm-none-eabi/build/gcc-core-static/bin/arm-none-eabi-gcc: No such file or directory The arm-none-eabi-gcc.exe is there, but when doing a canadian cross that fails on my linux machine. If the build had been run on a windows it would have accepted the filename without '.exe', but not if the build is run on a linux machine. So if it is a canadian build it should rather run the build servers cross toolchain. Sugested fix: if [ "${CT_MULTILIB}" = "y" ]; then if [ "{CT_CANADIAN}" = "y" ]; then multilibs=( $( "${CT_TARGET_PREFIX}-gcc" -print-multi-lib \ |tail -n +2 ) ) else multilibs=( $( "${core_prefix_dir}/bin/${CT_TARGET}-gcc" -print-multi-lib \ |tail -n +2 ) ) fi -- Per Arnold Blåsmo Senior Design Engineer, Atmel Norway -- 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] |