Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - johnnyrun

#1
General Development / Can't build host binaries
October 01, 2014, 05:57:45 PM
Hi all.
I'm still tring to compile ML.

It builds without problem arm "things". By example "make 500D" run without problems.

When I try to build rawdng or something related to the host machine, it fails.
I tried with and without "-m32" cflag, with 4.8 and 4.7. No way.
pls help


[ GCC      ]   raw2dng
[ GCC      ]   raw2dng
[ GCC      ]   raw2dng
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/libgcc.a when searching for -lgcc
/usr/bin/ld: cannot find -lgcc
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.7/libgcc_s.so when searching for -lgcc_s


My setup:

$ gcc --version
gcc (Ubuntu/Linaro 4.7.3-12ubuntu1) 4.7.3
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.



$ dpkg -l |grep libgcc
ii  libgcc-4.7-dev:amd64                        4.7.3-12ubuntu1                                     amd64        GCC support library (development files)
ii  libgcc-4.7-dev:i386                         4.7.3-12ubuntu1                                     i386         GCC support library (development files)
ii  libgcc-4.8-dev:amd64                        4.8.2-19ubuntu1                                     amd64        GCC support library (development files)
ii  libgcc1:amd64                               1:4.9.1-0ubuntu1                                    amd64        GCC support library
ii  libgcc1:i386                                1:4.9.1-0ubuntu1                                    i386         GCC support library


Arm toolchain:


$ dpkg -l |grep arm-none
ii  gcc-arm-none-eabi                           4.8.4.2014q3-0trusty10                              i386
#2
User Introduction / What's under the cover?
September 27, 2014, 09:11:45 AM
Hi all!
I'm using ML and I like it.
I'm reading the code and want to know better what happen under the cover.


Regards