LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-24-2008, 08:26 PM   #1
GunNam
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 http://code.google.com/p/iphone-dev/wiki/Building

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 (http://code.google.com/p/iphone-dev/wiki/Building). I ran into some extraction issues and came across the information found here (http://www.ipodtouchfans.com/forums/...ad.php?t=97672 - thanks gojohnnyboi)
 
  


Reply

Tags
toolchain



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 04:01 AM
bash: /usr/local/bin/CMIX: cannot execute binary file orenmagid Linux - Software 1 07-18-2007 03:16 PM
./configure --prefix=/usr [default: /usr/local] why??? stevesk Slackware 14 07-03-2006 06: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 02:59 PM
error in exec of stage2 trying to execute /usr/bin/runinstall2 Catherine Brett Linux - Newbie 0 07-11-2003 12:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:22 PM.

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