Questions tagged [llvm-gcc]

llvm-gcc is a modified version of gcc that compiles C/ObjC programs into native objects, LLVM bitcode or LLVM assembly language, depending upon the options.

llvm-gcc is a modified version of gcc that compiles C/ObjC programs into native objects, LLVM bitcode or LLVM assembly language, depending upon the options.

218 questions
0
votes
1 answer

How do I get GCC to compile object files correctly without "file was built for unsupported file format"?

I get this error when compiling: ld: warning: ignoring file /Users/matt/Programming/BitEagle_Projects/cbitcoin/build/obj/CBNetworkFunctions.o, file was built for unsupported file format ( 0x7f 0x45 0x4c 0x46 0x 2 0x 1 0x 1 0x 0 0x 0 0x 0 0x 0 0x 0…
Matthew Mitchell
  • 5,293
  • 14
  • 70
  • 122
0
votes
3 answers

LLVM bug building synthetic CPU for nostalgic childhood game (register asm global variable)

I've been trying to compile syn64k--for use in Executor, to run System's Twilight (a game I played as a kid). I'm doing this on my macbook pro (lion 10.7.4 with the latest Xcode and command line tools). I mapped CC to gcc -m32 to fix a couple…
JoshRagem
  • 575
  • 3
  • 10
0
votes
2 answers

Cannot install python module: command '/usr/bin/llvm-gcc' failed with exit status 1

Can someone help me with that issue, I have found many post reporting the same error but no solution worked for me. I got the same error with multiple modules. I am setting up os X 10.7. I have Xcode 4.3.2 installed, I have download the Command Line…
lizzie
  • 1,506
  • 1
  • 18
  • 31
0
votes
1 answer

Using LLVM gcc 4.2 for core-plot causing notation problems because of ARC

I am trying to install core-plot into my iPhone project following these directions. Coreplot requires that I use the LLVM gcc 4.2 compiler, and this is causing notation problems. Because I am using LLVM gcc 4.2, the @autorelease notation produces…
Bae
  • 43
  • 7
-1
votes
2 answers

Why GCC/Clang behaves differently on initialization in different cases?

I tried the following versions of codes with both GCC and Clang/LLVM: Version 1 #include main() { work(); return 0; } work() { int b; printf("b: %d \n", b); } Version 2 #include main() { work(); …
JackWM
  • 10,085
  • 22
  • 65
  • 92
-1
votes
1 answer

Should I care about Compiler when I have created Library/Framework of my Project and running on Different Compiler?

I have created iOS Library/Framework (static) of my project using LLVM GCC compiler with NON-ARC build. Now I want to use this Library in my newer projects with Apple LLVM Compiler with ARC compliance. Should I worry about converting my Library…
DShah
  • 9,768
  • 11
  • 71
  • 127
-2
votes
2 answers

LLVM GCC 4.2 error: integer constant is too large for 'long' type

For this part of my code, double Idistance = 10000000000; Xcode 4.6.3 gives an error: LLVM GCC 4.2 error error integer constant is too large for 'long' type What causes this issue?
-3
votes
1 answer

C++ template working fine for GCC but showing compile time error in LLVM-GCC compiler

typedef char TCHAR; template class MyTemplateString { }; template class MyList { }; typedef MyTemplateString MyString; MyList outlist;// here it's showing compile time error The error is: Implicit…
UPT
  • 1,490
  • 9
  • 25
1 2 3
14
15