<p>Hi Aboriginal Users,<br>
I found aboriginal looking into cross compiling python for my android. I've seen multiple threads and projects on how to do it, they usually involve a messy patch to apply to a specific version, and multiple stages of configuring and building with very long argument lists.</p>

<p>Not the case with aboriginal, a simple:</p>
<p>./configure --without-threads --prefix=/home/python_blah<br>
make <br>
make install</p>
<p>copied the results, and the dynamic libraries, onto my android device, ran elfpatch on the python to point the python to the new library locations, and i was done.</p>
<p>Now I'm spoiled,  I want numpy, scipy and matplotlib this easily!</p>
<p>Unfortunately, numpy/scipy have dependencies which require a Fortran compiler, so here's my problem.</p>
<p>I've downloaded the complete gcc tarball with gfortran and all other languages  from their website and tried the same simple approach:</p>
<p>tar xvzf gcc-4.6.0.tar.gz<br>
cd gcc-4.6.0/<br>
./contrib/download_prerequisits<br>
mkdir gcc_build<br>
cd gcc_build<br>
../gcc-a.b.c/configure<br>
make<br>
 <br>
but I get a build error in libgomp:</p>
<p>checking whether make sets $(MAKE)... yes<br>
checking for armv6l-unknown-linux-gnueabi-gcc... /home/gcc_build/./gcc/xgcc -B/home/gcc_build/./gcc/ -B/usr/local/armv6l-unknown-linux-gnueabi/bin/ -B/usr/local/armv6l-unknown-linux-gnueabi/lib/ -isystem /usr/local/armv6l-unknown-linux-gnueabi/include -isystem /usr/local/armv6l-unknown-linux-gnueabi/sys-include<br>

checking for C compiler default output file name...<br>
configure: error: in `/home/gcc_build/armv6l-unknown-linux-gnueabi/libgomp':<br>
configure: error: C compiler cannot create executables<br>
See `config.log' for more details.<br>
make[2]: *** [configure-stage1-target-libgomp] Error 77<br>
make[2]: Leaving directory `/home/gcc_build'<br>
make[1]: *** [stage1-bubble] Error 2<br>
make[1]: Leaving directory `/home/gcc_build'<br>
make: *** [all] Error 2<br>
(armv6l:1) /home/gcc_build #<br></p>
<p>My question is multipart:</p>
<p>should I be using gcc-4.6.0 or some other version more agreeable with aboriginal?</p>
<p>Is there a better way to do this?</p>
<p>I notices a series of gcc patches in the aboriginal-1.2.0.tar.gz, should I download 4.2.1 source apply these patches and compile?</p>
<p>Are there any other easier ways of getting a Fortran on aboriginal linux?</p>
<p>Thanks in advance for your time.<br></p>
<p>Brian<br></p>