similar to: [LLVMdev] Using LLVM as cross-compiler to C

Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Using LLVM as cross-compiler to C"

2009 Jan 23
0
[LLVMdev] Using LLVM as cross-compiler to C
Thanks John and Bill for your feedback. A bit more detail below... Thanks again, Best Regards, Dave At 09:03 PM 1/21/2009, John Criswell wrote: >Bill Wendling wrote: > > On Wed, Jan 21, 2009 at 3:40 PM, Dave Nadler <Dave.Nadler at nadler.com> > wrote: > > > >> Hi All - Newbie warning... I am developing for a target that does not have > >> a functioning
2009 Jan 21
2
[LLVMdev] Using LLVM as cross-compiler to C
Hi All - Newbie warning... I am developing for a target that does not have a functioning C++ environment, and need to use C++. It was suggested that I could use LLVM to compile to C (using llc -march=c), then run the resulting C-code through the working C-cross-compilation tools. So, some newbie questions: (1) Is this crazy ? (2) What happens to all the C++ RTL ? Is it statically linked as
2009 Jan 22
2
[LLVMdev] Using LLVM as cross-compiler to C
Bill Wendling wrote: > On Wed, Jan 21, 2009 at 3:40 PM, Dave Nadler <Dave.Nadler at nadler.com> wrote: > >> Hi All - Newbie warning... I am developing for a target that does not have >> a functioning C++ environment, and need to use C++. It was suggested that I >> could use LLVM to compile to C (using llc -march=c), then run the resulting >> C-code through
2009 Jan 22
0
[LLVMdev] Using LLVM as cross-compiler to C
On Wed, Jan 21, 2009 at 3:40 PM, Dave Nadler <Dave.Nadler at nadler.com> wrote: > Hi All - Newbie warning... I am developing for a target that does not have > a functioning C++ environment, and need to use C++. It was suggested that I > could use LLVM to compile to C (using llc -march=c), then run the resulting > C-code through the working C-cross-compilation tools. So, some
2009 Jun 29
0
[LLVMdev] configuring cross compiler for Mac to Linux on ARM
Hello, I am trying to cross compile LLVM. Build and compile on Mac OS X 10.5.7 Target is an Angstrom Linux Cortex-A8 Beagle board. I would like to avoid GPLv3. I can compile. But when I run my executable on Beagle crt0.S is calling an AngelSWI to setup the heap and stack. But the AngelSWI seems to just be a stub because it returns zeros for the pointers. That leads to a segfault. If I hack in
2011 Jan 15
2
[LLVMdev] Cross-compiling the ARM toolchain
>> I'm used to build GCC (4.x) toolchains with newlib, but how can I do >> the same with llvm-gcc ? > Pretty much same way as with gcc. E.g. via --with-newlib, etc. I successfully built llvm+clang, but it seems that the newlib library files have neither been compiled nor installed. With GCC (at the time 4.5.2), the build steps are straightforward: newlib/ and libgloss/
2002 Mar 11
1
RTLinux and EXT3 using 2.2.19 (need help badly)
Could anyone help me out, i've got a situation here. :-) I already contacted RTLinux users with no success, I hope ext3 users can help! I have a 2.2.19 kernel patched with RTLinux 3.1, clean and working. I found and applied the ext3 for 2.2.19 kernel patch. Patch went fine (like in README). I was able to tune2fs -j /dev/hda1 (activate the journal). And it actually works. 1) I was not able
2007 Mar 15
1
Creating q and p functions from a self-defined distribution
Hello all, I am fishing for some suggestions on efficient ways to make qdist and pdist type functions from an arbitrary distribution whose probability density function I've defined myself. For example, let's say I have a distribution whose pdf is: dRN <- function(x,d,v,s) # d, v, and s are parameters return(d/x^2/sv/sqrt(2*pi)*exp(-(d-v*x)^2/2/(sv^2*x^2))) this is a legitimate
2010 Sep 21
2
[LLVMdev] Cross-compiling the ARM toolchain
> Virtually all. As far as I could test, all major architectures > (v4/v5/v6 + v7-A-R-M), although I'm still fighting with some Thumb > code generation. Not a big issue for me: targets are ARMv4 (ARM7) and ARMv5 (ARM9) "classic" CPUs - in ARM terminology. No cortex. > I haven't tested dragonegg, but clang and llvm-gcc do the job. > llvm-gcc seems to be more in
2010 Sep 21
0
[LLVMdev] Cross-compiling the ARM toolchain
Hello, Emmanuel > I'm used to build GCC (4.x) toolchains with newlib, but how can I do > the same with llvm-gcc ? Pretty much same way as with gcc. E.g. via --with-newlib, etc. > It seems that clang attemps to find the header files from the host > system dir, not from the target system dir, so I guess that I missed > an important option ... somewhere. clang is not pretty well
2013 Mar 05
1
[LLVMdev] Cross-Compiling libc++ using newlib/Clang based Toolchain.
Hi There, I am trying to build a cross-compiler for an architecture with MIPS like ISA. To begin with, I built a toolchain for MIPSr2 which uses: Clang-3.1 for preprocessing, compiling, optimizing; Binutils-2.22 for assembling and linking; Newlib-1.20.0 as the standard C library implementation. I modified the Clang Driver to use the correct binutils tools and linker scripts. Compiling Newlib with
2010 Jan 14
0
[LLVMdev] Cross-module function inlining
Mark Muir wrote: > > On 13 Jan 2010, at 20:34, Nick Lewycky wrote: > >> On 13 January 2010 12:05, Mark Muir <mark.i.r.muir at gmail.com >> <mailto:mark.i.r.muir at gmail.com>> wrote: >> >> >> But... now there's a small problem with library calls. Symbols >> such as 'memset', 'malloc', etc. are being removed by
2010 Jan 13
2
[LLVMdev] Cross-module function inlining
On 13 Jan 2010, at 20:34, Nick Lewycky wrote: > On 13 January 2010 12:05, Mark Muir <mark.i.r.muir at gmail.com> wrote: > > But... now there's a small problem with library calls. Symbols such as 'memset', 'malloc', etc. are being removed by global dead code elimination. They are implemented in one of the bitcode modules that are linked together (implementations
2010 Jan 13
0
[LLVMdev] Cross-module function inlining
On 13 January 2010 12:05, Mark Muir <mark.i.r.muir at gmail.com> wrote: > On 13 Jan 2010, at 16:43, Nick Lewycky wrote: > > > Mark Muir wrote: > >> - Run the existing Clang tool on each source file, using -emit-llvm to > generate a .bc file for each module. > >> - Run llvm-link to merge them into a single .bc file. > >> - Run llc to generate a
2008 Sep 10
1
Xen-3.3 Etch amd64 compil error
Hello user-list, Here is my pb : I have a brand new debian Etch with all updates installed on a DELL PE SC430 with a Pentium D 930 (3Ghz, Intel-VT, EMT64) I''ve downloaded xen-3.3 and tried to install with /*"The Perfect Xen 3.1.0 Setup For Debian Etch" */howto. But when i run the the "make world" I have an error with the studbom compilation : /Dans le fichier
2011 Jan 15
0
[LLVMdev] Cross-compiling the ARM toolchain
> Is there some specific commands/option switches to build the newlib > library files with llvm+clang ? No. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
2016 May 22
0
A "Cross-Platform Runtime Library API" in LLVM IR
> On May 22, 2016, at 10:31 AM, Lorenzo Laneve via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > > My idea is an API where anyone can build a Runtime Library for any backend, including a set of functions people can inline/rename creating functions the frontend can include in the IR. > > For example implementing a cross-platform runtime function that allocates memory
2008 Mar 08
0
Failed to Set UID Error and Can't become connected user Error
I am certainly not an expert on Samba, so I apologize in advance for this question if I should know the answer. A week ago our main file server crashed and had to be replaced. Our new server is running Fedora Core 8 and Samba 3.0.26a-6 but has been very unstable. We are running a small network of Windows XP Pro and Home clients accessing the server (10 clients). ERROR ONE: I am getting
2008 Oct 05
1
configure: error: C compiler cannot create executables
I am trying to build xen-3.3.0 and I keep running into this error. I have checked and everything is there and installed and the PATH is correct. I found someone on the 15th who also had the same problem but never got a reply back so I am asking again. Here is the error: make[2]: Entering directory `/usr/src/xen-3.3.0/extras/mini-os'' [ -e include/xen ] || ln -sf
2004 Aug 06
0
status report on the Windows CE (PocketPC) ACM codec
Hello, just a brief report on where I am going with that Windows CE ACM Speex codec. * I managed to compile the GSM610 sample codec by Visual C++ Embedded for the ARM processor. This is set up as a DLL project in the IDE. Replacing the implementation with the existing Win32 code should be straightforward now. * I wrote an install/setup procedure for the codec (works fine) * I built a