llvm-gcc Questions

2

I'm running gdb with set verbose on and I'm trying to understand one of the messages I am getting: Reading symbols from system-supplied DSO at 0x7ffff7ffb000...(no debugging symbols found)...done....
Pressroom asked 8/5, 2012 at 19:23

2

I have created a function in LLVM IR. Now I want to create a return instruction return void. I saw the function Create ReturnInst::(LLVMContext &C, Value *retVal, BasicBlock *InsertAtEnd) But...
Veto asked 15/11, 2014 at 17:43

4

Solved

I've tried pip and easy_install, but I keep getting the following error: error: command '/usr/bin/llvm-gcc' failed with exit status 1 I'm running OSX Lion and the install runs inside a virtualenv,...
Thaothapa asked 30/1, 2012 at 20:19

1

Solved

I need to tell the pass to look out for a specific function in the file. And I want to specify which function to look out for 'on the go' i.e when I run the pass. Any idea how I can do that? It's s...
Villus asked 23/2, 2018 at 18:32

1

Solved

I am writing a compiler for a self-made language which can handle only int values i.e. i32. Conditions and expressions are similar to C language. Thus, I am considering conditional statements as ex...
Vesuvius asked 13/11, 2017 at 12:12

1

I am trying to install sentry server on windows via cygwin. While installing it , it fails with the error: /usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/type_traits:311:39: error: __float128 is ...
Glazed asked 10/4, 2017 at 6:48

3

Solved

I'm trying to open one of my older projects, that was built using iOS 6.0. The project used to compile fine, but when opened under xCode 5, I get this cryptic error message. Unsupported compiler '...
Linebreeding asked 12/2, 2014 at 15:37

1

I wonder whether LLVM by virtue of its newer design is to replace GCC in the open-source world? LLVM should feature several techniques of inspecting code, so that IDE's are easier to program...
Miler asked 7/12, 2016 at 16:31

4

Solved

Just a couple of days ago I discovered and used Kenneth Reitz's OSX-GCC-Installer to solve the issue of installing Ruby 1.9.3 via RVM on my Mac. Today I read on Kenneth's blog about the Command Li...
Dona asked 17/2, 2012 at 16:46

2

I want to use gold as my system linker instead of ld as ld doesn't support -fPIC and -shared. I followed this particular url to do so, gold-plugin As per the documentation, I ran gcc -v filename.c...
Vandiver asked 10/11, 2012 at 11:26

1

Solved

I know that an AST generated by the parser is used to generate IR in the frontend. I am wondering how AST to be parsed and then transformed to IR (prob assembly or bitcode), AST is a tree, what a...
Lodicule asked 9/7, 2014 at 11:6

2

Solved

I'm trying to compile one of the boost::program_options examples, http://svn.boost.org/svn/boost/trunk/libs/program_options/example/first.cpp, using gcc 4.8 (installed via MacPorts). However, I kee...
Sepalous asked 11/11, 2013 at 18:3

1

Solved

I'm having a library project, I've always had "Strip Debug Symbols" turned ON for release builds I recently noticed the "Generate Debug Symbols" flag. When I set "Generate Debug Symbols" flag to N...
Antebi asked 12/7, 2012 at 21:51

4

Solved

I've installed xcode 5 and noticed that gcc compiler is deprecated. Assuming that I don't want to switch to Apple LLVM 5.0, here come my questions: Is it possible to use iOS7 SDK and still compile...
Tereus asked 19/9, 2013 at 9:0

3

Solved

I am tying a cross compilation and for that I need to find where Xcode have placed the arm-gcc compiller. It used to be in /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/D...
Radiophotograph asked 20/9, 2013 at 17:49

3

Solved

I have a project which contains Geos and Proj inside it. Before Xcode 5 I compiled them with LLVM GCC 4.2 compiler, but in Xcode 5 DP I get an error about unsupported compiler. Choosing another com...
Aunt asked 18/6, 2013 at 7:27

2

Solved

I am looking for LLVM (or clang) equivalent of gcc's -D flag which enables macro definition at commandline. Any pointers would be great.
Mera asked 13/3, 2013 at 12:51

3

Solved

I'm interested in learning more x86/x86_64 assembly. Alas, I am on a Mac. No problem, right? $ gcc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM bu...
Ebersole asked 8/3, 2013 at 11:56

5

Solved

If I build a static library with llvm-gcc, then link it with a program compiled using mingw gcc, will the result work? The same for other combinations of llvm-gcc, clang and normal gcc. I'm intere...
Anthropomorphosis asked 10/7, 2010 at 1:55

2

Solved

I have .jar file which during runtime reads one .dylib library which I compiled in OSX with GCC compiler. Application runs without any problems on OSX 10.6.8. Java version: java version "1.6.0...
Dixie asked 11/9, 2012 at 7:17

1

Solved

I'm trying to compile a C application on a Mac. I use SSE4 and AES-NI intrinsics. In Linux, I just call gcc with the -msse4 and -maes flags and include the wmmintrin.h header and I can call SSE i...
Foretaste asked 28/9, 2012 at 5:51

2

Solved

What are the major differences between LLVM GCC 4.2 and Apple LLVM compiler 3.1? I'm fairly new to compilers so any help is appreciated. Also I'm especially interested in how the two compilers cou...
Malarkey asked 18/8, 2012 at 16:40

2

Solved

I am working on a project that I had been compiling with LLVM 2.6 and the llvm-gcc front end. I'm trying to test compiling it with LLVM 3.1 and clang. When I did this I got the following error mess...
Handtomouth asked 24/4, 2012 at 2:26

2

Solved

My environment: Mac OS X v10.7.2 with Xcode 4.2.1 I am trying to build ruby 1.9.3 on Lion with Xcode 4.2.1. I understand there's an issue with the llvm-based gcc compiler that comes with Xcode 4.2...
Matias asked 21/1, 2012 at 20:18

2

Solved

Other people have reported not being able to generate code coverage with XCode 4, but I find not only can I not do it from within XCode 4, I can't do it even with a simple toy program from the comm...
Foretaste asked 24/12, 2011 at 2:28

© 2022 - 2024 — McMap. All rights reserved.