Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] RFC: Another go at a cross compiler config file."
2015 Jan 12
2
[LLVMdev] RFC: Another go at a cross compiler config file.
Hi,
Did this make it into review / commit? It's probably too late for 3.6 if it didn't, but I'd love to see it in 3.7. It would also be nice if this support could be something a bit more general in LLVM, rather than specifically in clang, so that other llvm tools (e.g. llvm-objdump) could take advantage of a similar format for target description files if they need something more
2014 Sep 30
2
[LLVMdev] Can libc++ build for arm cross compiler?
Hi cschen,
Here are the test scripts which I written when I was developing ARM
exception handling support:
https://github.com/loganchien/libcxx-scripts
The script should work on Debian wheezy (cross-compiling from amd64 to
armhf.)
In general, here are the necessary steps:
1. Get a working arm-linux-gnueabihf gcc/g++ toolchain (for the headers and
libraries)
2. Setup the include search path
2014 Sep 08
3
[LLVMdev] [cfe-dev] RFC: Another go at a cross compiler config file.
> On Sep 8, 2014, at 10:14 AM, Joerg Sonnenberger <joerg at britannica.bec.de> wrote:
>
> On Fri, Sep 05, 2014 at 09:23:34PM -0500, Richard Pennington wrote:
>> Right now it only handles replacing a "-target foo" option
>> with the options defined in the file foo in the resource/config
>> directory, but I think it has potential for doing quite a bit
2011 Jan 17
3
[LLVMdev] clang/LLVM cross testing environment
Hi,
I've been working on combining LLVM, clang, the NetBSD standard C
library, compiler-rt, QEMU, GDB, and GNU binutils as a cross compilation
environment. My goal is to target small embedded systems, but I think
that what I'm working on may be of interest to other LLVM/clang
developers as I have been able to use the environment to fix several
code generation issues in LLVM.
As of
2013 Oct 18
1
[LLVMdev] Using clang/LLVM to build Linux C++ programs with no gnu licensed libraries.
Today the clang/LLVM based ELLCC compiler (http://ellcc.org) was able to
compile an (almost) non-trivial C++ program for a bunch of LLVM
supported targets with no gnu licensed libraries.
http://ellcc.org/blog/?p=231
Next step: try to compile ELLCC with itself. :-)
-Rich
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2014 Sep 30
4
[LLVMdev] Can libc++ build for arm cross compiler?
The following web say the libc++abi is ready on arm.http://libcxxabi.llvm.org/spec.html
I try to build libc++ and libc++abi for host x86_64(linux) and target arm(linux) but fail.I have read the web http://llvm.org/docs/HowToCrossCompileLLVM.html
Does anyone know whether it's available for my need? If you know how to build, what is the build options you use?
Best regards
cschen
--------------
2015 Mar 29
2
[LLVMdev] How to Cross Compile libcompiler_rt Static Library?
I was attempting to cross compile on Windows. I ended up having to find
the list in the CMake build system (not very hard) and manually creating a
makefile to compile them. Took maybe 2 hours total.
On Sun, Mar 29, 2015 at 1:28 PM, Chao Yan <yanchao2012 at gmail.com> wrote:
>
> 2015-03-29 15:11 GMT-05:00 Daniel Dilts <diltsman at gmail.com>:
>
>> I need to correct
2013 Dec 21
2
[LLVMdev] How do I disable --version-script when cross compiling clang/LLVM on a Mac?
Hi,
I asked this question a few days ago and didn't get any responses. I
thought I'd try again with a little more detail.
I am trying to cross compile my clang/LLVM based ELLCC cross development
tools project (http://ellcc.org) on a Mac. I am targeting ARM/Linux.
The build fails while building FileCheck (or tbl-gen or any of the other
build tools built during the
2016 Oct 28
1
[cfe-dev] Using lld in ELLCC for different targets
Well, at least it works on some programs across all arches. That was some
great testing you've done for us. :-)
Thanks!
Renato
On 28 Oct 2016 23:51, "Richard Pennington" <rich at pennware.com> wrote:
> On 10/28/2016 05:27 PM, Renato Golin wrote:
>
>> On 28 October 2016 at 23:02, Rui Ueyama via llvm-dev
>> <llvm-dev at lists.llvm.org> wrote:
>>
2016 Feb 17
2
Error cross building LLVM for MinGW
Hi,
I recently switched over to using cmake to build my clang/LLVM based
ELLCC cross development project (http://ellcc.org). I also recently
updated to LLVM svn version 258915 from 258477.
I use ELLCC to cross compile all the tools for various Linux targets and
for Windows. Yesterday, after updating the LLVM sources, I got the
following error when cross building for MinGW:
[ 3%] Built
2014 Sep 29
2
[LLVMdev] LLVM Weekly - #39, Sep 29th 2014
LLVM Weekly - #39, Sep 29th 2014
================================
If you prefer, you can read a HTML version of this email at
<http://llvmweekly.org/issue/39>.
Welcome to the thirty-ninth issue of LLVM Weekly, a weekly newsletter
(published every Monday) covering developments in LLVM, Clang, and related
projects. LLVM Weekly is brought to you by [Alex
Bradbury](http://asbradbury.org).
2013 Nov 27
0
[LLVMdev] Targeting ARM Cortex-a9 from x86_64 with clang
On 11/27/2013 07:57 AM, Rob Stewart wrote:
> On 26 November 2013 16:44, Renato Golin <renato.golin at linaro.org> wrote:
>> On 26 November 2013 15:36, Rob Stewart <robstewart57 at gmail.com> wrote:
>>> $ clang -v -target armv7a-linux-eabi -mcpu=cortex-a9 -mfloat-abi=soft
>>> -mfpu=neon helloworld.c
>> Hi Rod,
> I'm honoured. (But Rob is also OK)
2016 Oct 28
2
Using lld in ELLCC for different targets
With all the talk about using lld on the list, I thought it would be
interesting to try using it in my clang based ELLCC cross compilation
tool chain. http://ellcc.org
The change was simple, since I use configuration files to tell clang how
to compile, where to find libraries, etc. I described the config files
here: http://ellcc.org/blog/?p=13246
All I had to do was change the linker
2016 Oct 28
0
[cfe-dev] Using lld in ELLCC for different targets
On 10/28/2016 05:27 PM, Renato Golin wrote:
> On 28 October 2016 at 23:02, Rui Ueyama via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> Awesome results!
> I'm surprised! LLD is barely working on ARM at the moment. :)
>
[snip]
My mistake. ARM worked for small programs, but lld failed for clang with
a bunch of these errors:
/home/rich/ellcc-release/bin/ld.lld: error:
2015 Dec 19
4
Bootstrapping clang/LLVM with ELLCC
(Fixed the cfe email address)
On 12/18/2015 09:34 PM, Tim Northover wrote:
> On 18 December 2015 at 19:15, Richard Pennington via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> It turns out that it can with some simple patches.
> This sounds really cool. I think we should seriously consider putting
> these patches into LLVM mainline.
>
>> Information on
2012 Mar 05
1
[LLVMdev] I stole the demo.
On Monday, March 05, 2012 02:29:56 AM Duncan Sands wrote:
> Hi Richard,
>
> > I had a little time on my hands this afternoon, so I stole the Clang/LLVM
> > demo and modified it to allow compiling for several other targets:
> > http://ellcc.org/demo
>
> does it use the correct header files for the target etc?
>
> Ciao, Duncan.
Yes, it does. The header files
2009 Aug 09
1
[LLVMdev] An interesting comparison.
[~/ellcc/test/source] main% cat printf.c
#include <stdio.h>
int main(int argc, char** argv)
{
printf("printf with the string \"%s\"\n", "my string");
}
[~/ellcc/test/source] main% ~/ellcc/ellcc/x86-elf-ecc printf.c
[~/ellcc/test/source] main% ./a.out
printf with the string "my string"
[~/ellcc/test/source] main% size a.out
text data bss
2013 Dec 22
2
[LLVMdev] How do I disable --version-script when cross compiling clang/LLVM on a Mac?
On 12/21/2013 05:21 PM, Alp Toker wrote:
>
> On 21/12/2013 22:51, Richard Pennington wrote:
>> Hi,
>>
>> I asked this question a few days ago and didn't get any responses. I
>> thought I'd try again with a little more detail.
>>
>> I am trying to cross compile my clang/LLVM based ELLCC cross
>> development tools project (http://ellcc.org)
2015 Dec 19
2
Bootstrapping clang/LLVM with ELLCC
ELLCC is a compilation tool chain based on clang/LLVM, libc++ and the
musl standard C library for Linux. Recently I was asked if ELLCC
pre-built binaries could be used to build clang/LLVM TOT. It turns out
that it can with some simple patches. This is a simple way to bootstrap
clang/LLVM on an arbitrary Linux system that either doesn't have GCC or
has a version of GCC that is too old to
2016 Aug 12
2
A nicer HTML index page for llvm-cov
I've been working on adding code coverage support to my ELLCC project
(http://ellcc.org) and I thought it would be nice to fun the index page
of the HTML output of llvm-cov into something a little prettier and more
useful.
The initial result is here: http://ellcc.org/coverage/
If there is any interest, I'll submit the llvm-cov changes.
-Rich