kydlo / ios-toolchain-based-on-clang-for-linux

Automatically exported from code.google.com/p/ios-toolchain-based-on-clang-for-linux
0 stars 0 forks source link

Configuring toolchain on Ubuntu 12.04.2 LTS #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

I downloaded cctools-836-ld64-134.9-1.1.tar.xz and did the following command :
$ ./configure --target=arm-apple-darwin11 --prefix=/usr

The following error appears :
...
checking for suffix of executables...
checking whether we are cross compiling... configure: error in 
`/home/myuser/cctools-836':
configure: error: cannot run C compiled programs.
If you meants to cross compile, use `--host'.
See `config.log' for more details

Then I execute the following command and it appears :
$ ./configure --target=arm-apple-darwin11 --prefix=/usr --host

configure: error: missing argument to --host-alias

I am not a regular user of Linux thus I don't really know how to do now. Do you 
have an idea ?

Is there a more suitable Linux operating system for toolchain cross compiling 
that has been used for this software development ?

Thanks,
Hai

Original issue reported on code.google.com by hai.nguy...@gmail.com on 17 Jun 2013 at 3:11

GoogleCodeExporter commented 8 years ago
"configure: error: cannot run C compiled programs."

You need install gcc/g++/clang/clang++ and other related package from ubuntu 
repos.

Original comment by cjac...@gmail.com on 23 Sep 2013 at 7:03