cwalls251 / iphone-dev

Automatically exported from code.google.com/p/iphone-dev
0 stars 0 forks source link

Toolchain builds but doesn't create arm-apple-darwin-cc #89

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Build toolchain using Ubuntu 7.10 32bit.
2. After toolchain configures and builds without errors, trying to build
apps results in the following error:

arm-apple-darwin-cc -c -O3 -I/opt/local/include mainapp.m -o mainapp.o
make: arm-apple-darwin-cc: Command not found
make: *** [mainapp.o] Error 127

The above is from trying to build iphoneebooks.

What is the expected output? What do you see instead?
Would expect to see arm-apple-darwin-cc

What version of the product are you using? On what operating system?
Ubuntu 7.10.

Please provide any additional information below.

After building and installing here's what I have in my bin directory...

/usr/local/bin/arm-apple-darwin-[*double-tab*]
arm-apple-darwin-ar                 arm-apple-darwin-lipo
arm-apple-darwin-as                 arm-apple-darwin-nm
arm-apple-darwin-c++                arm-apple-darwin-nmedit
arm-apple-darwin-checksyms          arm-apple-darwin-otool
arm-apple-darwin-cpp                arm-apple-darwin-otool64
arm-apple-darwin-g++                arm-apple-darwin-pagestuff
arm-apple-darwin-gcc                arm-apple-darwin-ranlib
arm-apple-darwin-gcc-4.0.1          arm-apple-darwin-redo_prebinding
arm-apple-darwin-gccbug             arm-apple-darwin-seg_addr_table
arm-apple-darwin-gcov               arm-apple-darwin-segedit
arm-apple-darwin-indr               arm-apple-darwin-seg_hack
arm-apple-darwin-install_name_tool  arm-apple-darwin-size
arm-apple-darwin-ld                 arm-apple-darwin-strings
arm-apple-darwin-libtool            arm-apple-darwin-strip

$HEAVENLY is /usr/local/share/iphone-filesystem  I copied just the /usr/
directory directly from iPhone through scp.

Original issue reported on code.google.com by gordon.c...@gmail.com on 22 Oct 2007 at 5:33

GoogleCodeExporter commented 8 years ago
I have the same files as you on Ubuntu 7.0.4.
Did you try to change Makefile so CC$ or what ever var that points to the 
compiler to
arm-apple-darwin-gcc ?

Original comment by hil...@gmail.com on 23 Oct 2007 at 6:04

GoogleCodeExporter commented 8 years ago
As hilays mentions, older Makefiles sometimes use the earlier toolchain c 
compiler
spec of arm-apple-darwin-cc, you should update the Makefile to point at your
toolchain 0.3 compiler, arm-apple-darwin-gcc.

Original comment by co...@compuserve.com on 25 Oct 2007 at 1:03

GoogleCodeExporter commented 8 years ago
Thanks, they compile now. I'll post a note on the project pages.

Original comment by gordon.c...@gmail.com on 25 Oct 2007 at 5:41

GoogleCodeExporter commented 8 years ago

Original comment by Phi...@gmail.com on 26 Oct 2007 at 9:32