Displaying 20 results from an estimated 30000 matches similar to: "[LLVMdev] How do I disable --version-script when cross compiling clang/LLVM on a Mac?"
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)
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
2014 Mar 27
2
[LLVMdev] using just llvm/clang for building mips llvm
Geting a seg fault. Have not investigted the cause.
rkotler at mipsswbrd002:~/richard$ tar vfxz
~/Downloads/ellcc-mips-linux-2014-Mar-24-07-32-26.tgz
rkotler at mipsswbrd002:~/richard/ellcc/bin$ gdb ./ecc
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are
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 06
5
[LLVMdev] RFC: Another go at a cross compiler config file.
A while back (2012) there were a few messages related to using YAML
config files to set up how clang would build stuff, especially for cross
compilers. My ELLCC project is entirely cross compilation focused, so
today I decided to play around with the config file idea. Right now it
only handles replacing a "-target foo" option with the options defined
in the file foo in the
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 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
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 Mar 27
5
[LLVMdev] using just llvm/clang for building mips llvm
In case anyone is interested....
We don't need to compile llvm/clang using gcc anymore for the building
of mips hosted llvm compilers.
We build a linux mips hosted compiler starting with llvm/clang on x86
linux using the normal configure scripts and
then can use that resulting compiler to build further llvm/clang native
compilers on the mips linux host.
The cross compiler and native
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
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
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
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
--------------
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)
2008 Sep 12
2
[LLVMdev] Difficulty with reusing DAG nodes.
Eli Friedman wrote:
> I haven't looked at the rest of the email carefully, but why aren't
> you just implementing MULHU and MULHS? There's no point to
> implementing the *MUL_LOHI variants if the processor doesn't have
> them.
I have implemented MULHU and MULHS. But if I take out my *MUL_LOHI
stuff, the error I get is
[~/ellcc/ellcc] main% ./nios2-elf-ecc -S test.c
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
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).
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
2013 Dec 16
0
[LLVMdev] Cross building clang/LLVM for Linux/ARM on a Mac
Hi,
I'm using a Mac build of my clang/LLVM based tool chain ELLCC
(http://ellcc.org) and attempting to cross build itself for ARM/Linux.
I get the following error:
llvm[3]: (build tools): Linking Release+Asserts executable llvm-tblgen
(whithout symbols)
ld: unknown option:
--version-script=/Users/rich/ellcc/llvm/autoconf/ExportMap.map
clang: error: linker command failed with exit code 1
2012 Jun 12
1
[LLVMdev] Mips nomicromips?
Hi,
I've decided to switch from the NetBSD standard library to the musl library
(http://www.etalabs.net/musl/) for my ELLCC (http://ellcc.org) cross compiler
project. During my musl feasability study I made a Mips port of musl. A day or
two ago, just to make things interesting, I updated to the LLVM TOT (r158294).
I started getting assembler warnings about ".set nomicromips".