[PATCH] Support cross compiling to arm on ubuntu.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Oct 28 08:45:58 PDT 2013


On 28 October 2013 10:56, Logan Chien <tzuhsiang.chien at gmail.com> wrote:
>
>   The changes related to Ubuntu LGTM now.  I have verified the change on Ubuntu 12.04, 13.04, and 13.10.  All of them are working without any problem.  However, I am not familiar with Fedora.  Any comments from Fedora users?

I use Fedora. I tested by running

$ clang test.o -o t -v 2>&1 | grep bin/ld | sed 's/ /\n/g' | grep
'dynamic\|ld-linux\|-L\|crt' > clang.list
$ gcc test.o -o t -Wl,-debug 2>&1 | grep bin/ld | sed 's/ /\n/g' |
grep 'dynamic\|ld-linux\|-L\|crt'  > gcc.list

On Fedora 19 x86_64, the difference is just that clang searches in
more directories than gcc (diff attached).

On Fedora 18 ARM, the difference is similar (also attached).

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x86-64.diff
Type: text/x-patch
Size: 441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131028/a72443c8/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm.diff
Type: text/x-patch
Size: 430 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131028/a72443c8/attachment-0001.bin>


More information about the cfe-commits mailing list