Open GoogleCodeExporter opened 8 years ago
I went back and traced my steps starting from this step:
$ ../../odcctools/configure --target=arm-apple-darwin --disable-ld64
and I found that for some reason these steps hadn't created the
arm-apple-darwin-as
and arm-apple-darwin-ld:
$ ../../odcctools/configure --target=arm-apple-darwin --disable-ld64
$ make
so instead of running make in that directory, I went into these directories and
ran
make individually:
/iphone-dev/build/odcctools/as
/iphone-dev/build/odcctools/ld
after this, both arm-apple-darwin-ld and arm-apple-darwin-as immediately showed
up in
the /usr/local/bin/ directory.
Sorry if this is clutter since I solved my own problem, but I figure it might
help
someone else. This might indicate a problem with the odcctools make script.
Original comment by delore...@gmail.com
on 27 Sep 2007 at 8:52
I realized I forgot to make, then make install odcctools so it was my error.
Althouh I hit another snag; I get this error after I run the command:
make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn
...
checking for sys/types.h... (cached) yes
checking for g++ that supports -ffunction-sections -fdata-sections... yes
checking for sin in -lm... configure: error: Link tests are not allowed after
GCC_NO_EXECUTABLES.
make: *** [configure-target-libstdc++-v3] Error 1
a bit of googling seems to suggest this error is related to binutils, but I'm a
bit
stuck where to go from here. I might just remove everything and start from
scratch.
Original comment by delore...@gmail.com
on 27 Sep 2007 at 11:39
There were updates in svn a little before you updated this. I think the stdc++
was
updated. Have you updated svn recently?
Original comment by co...@compuserve.com
on 29 Sep 2007 at 12:16
I went ahead and just started on a fresh ubuntu install (vmware) w/ the most
recent
svn. I'm getting to the same point resulting in the same error:
"checking for sin in -lm... configure: error: Link tests are not allowed after
GCC_NO_EXECUTABLES.
make: *** [configure-target-libstdc++-v3] Error 1"
I've attached my config.log if that will help diagnose this issue.
Also attached is the output of the command:
"make LLVM_VERSION_INFO=2.0-svn-iphone-dev-0.3-svn"
Original comment by delore...@gmail.com
on 29 Sep 2007 at 5:07
Attachments:
It looks like you are missing the devel portion of a package called gmp. On my
suse
system, there is a /usr/include/gmp.h provided by gmp-devel. (This shows up in
your
config.log.)
Original comment by co...@compuserve.com
on 29 Sep 2007 at 2:24
I checked and I do have libgmp3-dev installed, and /usr/include/gmp.h does
exist so
I'm not sure why it's not being found. I noticed others had success setting up
the
toolchain on Ubuntu 7.04, so unless they deviated from the guide, I'm a bit
lost as
to why I'm experiencing this problem. Suggestions?
Original comment by delore...@gmail.com
on 1 Oct 2007 at 4:22
See comment 2 on issue 73 - this fixed it for me.
http://code.google.com/p/iphone-dev/issues/detail?id=73
Original comment by davearter@gmail.com
on 6 Oct 2007 at 3:25
Original issue reported on code.google.com by
delore...@gmail.com
on 27 Sep 2007 at 7:52