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

Displaying 20 results from an estimated 9000 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 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 Jan 21
0
[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
2007 May 12
5
[LLVMdev] C back-end differences
On Fri, 11 May 2007, me22 wrote: > I'm not exactly sure how llvm-g++ works. I think it goes through the > standard gcc sequence (gimple, rtl, and such) but then outputs LLVM > (http://llvm.org/docs/LangRef.html), which is the intermediate > representation used by the rest of the chain. To make an LLVM backend > you would not need to deal with RTL and such at all. llvm-g++
2015 Dec 08
3
compiler-rt fails to find <stdarg.h> on FreeBSD
I'm unsure why this is failing this week, but when I build for FreeBSD HEAD, I now get a failure to find <stdarg.h>. Very strange. Maybe its missing a -I /usr/include somewhere? [1950/2811] Building CXX object projects/compiler-rt/lib/tsan/CMakeFiles/clang_rt.tsan-x86_64.dir/rtl/tsan_interceptors.cc.o FAILED: /usr/bin/CC -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
2015 Jul 09
2
boot... round 2
On Thu, 2015-07-09 at 06:56 +0000, William Kennington wrote: > Does fedora have gcc5 patches? I believe they applied some of the 5.2 > changes. I'm not an expert on the gcc package, but looking at the changelog it appears to be be following the upstream 5.x branch: * Thu Jun 18 2015 Jakub Jelinek <jakub at redhat.com> 5.1.1-4 - update from the 5 branch - fix C++ ICE in
2010 May 28
1
Data frame manipulation
Hello All, Please consider the following: TotEmp<-c(19,6,1,1,8,44,2,33,48,1) ClusterType<-c("AGF","CNS","OSV","RTL","RTL","TRN","REL","ACC_CLUST","RTL","WHL") Taz<-c(0,0,0,100,100,100,101,101,102,103)
2010 Jun 22
0
[LLVMdev] RTL <-> SSA
On Jun 22, 2010, at 10:29 AM, Jianzhou Zhao wrote: > Hi, > > Does LLVM have passes that do translations between GCC RTL and LLVM > SSA, RTL -> SSA and SSA -> RTL? Nope. There has been some talk about doing a Clang -> RTL or LLVM IR -> RTL backend, to allow using the GCC backend with the Clang frontend, but I'm not aware of any progress on this. You could ask on the
2017 Aug 02
2
Cross compiling C++ program
On Wed, Aug 02, 2017 at 05:48:20PM -0600, Jonathan Roelofs wrote: > I strongly recommend against using the host's headers when cross compiling. > You need to either find or build an arm-none-eabi sysroot, and use the > --sysroot= flag. > > > Jon OK, that's a start. I found https://www.llvm.org/docs/HowToCrossCompileLLVM.html. Is it enough for --sysroot? In case it is,
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 Jun 22
2
[LLVMdev] RTL <-> SSA
Hi, Does LLVM have passes that do translations between GCC RTL and LLVM SSA, RTL -> SSA and SSA -> RTL? Thanks. -- Jianzhou
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
2017 Jun 08
2
Non-standard C++ usage
~/workspace/LLVM/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_report.cc: In function ‘const char* __tsan::ReportTypeString(__tsan::ReportType, __sanitizer::uptr)’: ~/workspace/LLVM/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_report.cc:95:41: warning: ISO C++ does not allow ?: with omitted middle operand [-Wpedantic] return GetReportHeaderFromTag(tag) ?: "race on external object";
2012 Jun 20
2
Using object as literal value in list vector
Hello all , This is a pretty simple question I think but cannot find an answer on the list or in my brain. I would like to iterate through a loop and use a vector of strings to name a number of list elements. For instance #Create vector of strings Et<- c("ACC","RTL","WHL") MeanValues_ <- list("ACC" = 1000, "RTL" = 2000,
2010 Jun 22
1
[LLVMdev] RTL <-> SSA
On Tue, Jun 22, 2010 at 1:53 PM, Chris Lattner <clattner at apple.com> wrote: > > On Jun 22, 2010, at 10:29 AM, Jianzhou Zhao wrote: > >> Hi, >> >> Does LLVM have passes that do translations between GCC RTL and LLVM >> SSA, RTL -> SSA and SSA -> RTL? > > Nope.  There has been some talk about doing a Clang -> RTL or LLVM IR -> RTL backend, to
2014 Mar 22
2
[LLVMdev] compiler-rt CMake build ignores CMAKE_CXX_FLAGS
Hello, It looks like compiler-rt CMake scripts don't take CMAKE_CXX_FLAGS into account. This is because clang_compile and clang_link_shared functions call the newly-built compiler directly, and they don't add those flags. Using CMAKE_CXX_FLAGS is necessary on systems where the C++11-enabled libstdc++ is installed not in the default location. For example, the CentOS buildbot uses:
2007 Jul 14
3
Strange C programming problem
I've got this little program I wrote to test something, and it keeps giving the wrong result. I'm not inexperienced in C, but I can't believe strtof (et al) are broken, so I must be doing something wrong. However, I've spent hours looking at this and comparing it to the man pages and don't see what I'm doing wrong. strtod() and strtold() also give equally wrong results.
2010 Jan 25
3
Issue using tapply
Hello all, I am trying to use the tapply function to sum some values and change the column names of the resulting vector. I input Emp Et 1 10565 ACC 2 7515 ADM 3 625 AGF 4 6243 CNS 5 12721 EDU 6 3924 FIN 7 18140 HLH 8 3686 INF 9 15841 MFG 10 243 MIN 11 1864 MNG 12 4664 OSV 13 5496 PRF 14 4988 PUB 15 2166 REC 16 2153 REL 17 16082 RTL 18 3582 TRN 19 757 UTL 20
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