Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-24-2008, 09:26 PM   #1
LQ Newbie
Registered: Sep 2006
Location: Los Angeles
Distribution: Ubuntu 10.10
Posts: 17

Rep: Reputation: 0
configure error: configure: error: cannot execute: /usr/local/bin/arm-apple-darwin-ld

Hello all, I've been struggling (and learning a lot) installing the toolchain on my Ubuntu 8.04.

I was seeing the light at the end of the tunnel when I ran into this message:
configure: error: cannot execute: /usr/local/bin/arm-apple-darwin-ld: check --with-ld or env. var. DEFAULT_LINKER
make: *** [configure-gcc] Error 1

Is this a deal breaker or is it something I can fix?

I received the above error while following the directions from

Specifically, this section (see bold)
# Configure and make LLVM-GCC. Make sure that $LLVMOBJDIR and $HEAVENLY are set per the instructions above.

$ mkdir -p build/llvm-gcc-4.0-iphone
$ pushd build/llvm-gcc-4.0-iphone
$ ../../llvm-gcc-4.0-iphone/configure --enable-llvm=`llvm-config --obj-root` \
--enable-languages=c,c++,objc,obj-c++ --target=arm-apple-darwin --enable-sjlj-exceptions \
--with-heavenly=$HEAVENLY --with-as=/usr/local/bin/arm-apple-darwin-as \
--with-ld=/usr/local/bin/arm-apple-darwin-ld --enable-wchar_t=no
$ make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn
$ sudo make install

One additional note I should mention is that I've installed (iphone_sdk_for_iphone_os_2.1__final) - iPhoneSDKHeadersAndLibs.pkg and NOT the MacOSX10.4.Universal.pkg as per the directions from ( I ran into some extraction issues and came across the information found here ( - thanks gojohnnyboi)



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
cross compilation error -- /usr/local/bin/ld: unrecognized option '--as-needed' shabeervsm Linux - Kernel 1 09-08-2008 05:01 AM
bash: /usr/local/bin/CMIX: cannot execute binary file orenmagid Linux - Software 1 07-18-2007 04:16 PM
./configure --prefix=/usr [default: /usr/local] why??? stevesk Slackware 14 07-03-2006 07:28 AM
Error when starting up snort: bash:!/bin/sh/usr/local/bin/snort :Eent not found cynthia_thomas Linux - Software 1 11-11-2005 03:59 PM
error in exec of stage2 trying to execute /usr/bin/runinstall2 Catherine Brett Linux - Newbie 0 07-11-2003 01:59 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration