search for: xcrun

Displaying 20 results from an estimated 34 matches for "xcrun".

2017 Feb 15
3
paquete Rcmdr y BiodiversityR
...quot;C" 2: Setting LC_TIME failed, using "C" 3: Setting LC_MESSAGES failed, using "C" 4: Setting LC_MONETARY failed, using "C" * installing *source* package 'data.table' ... ** package 'data.table' successfully unpacked and MD5 sums checked ** libs xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun ERROR: compilation failed for package 'data.table' * removing '/Library/Frameworks/R.framework/Versions/3.3/Resources/library/data.table'...
2015 Oct 12
2
Clang includes search path
Hi, I’m trying to set the includes search path in clang, but I can’t figure out how to do it? I’m working on OSX and every time I compile a C/C++ code, I have to specify it with -isysroot (and I don’t want an alias, or a symlink to /usr/include) since the includes are not in a really standard path on OSX (e.g.:
2016 Jun 09
2
Unable to build and install LLVM on Mac OSX 10.11
Greetings dear developers!! I've been faced with several difficulties yet I'm unable to do a complete build of LLVM on my system. I've tried to build with Xcode once, ninja + cmake, and several other ways as shown in the web. Currently, while building on Xcode for the umpteenth time I got an error which says outdated version of svn being used and then architecture not supported.
2016 Jan 19
8
[3.8 Release] RC1 has been tagged
...> > I verified that it currently builds and tests cleanly for me on x86_64 > Linux, Mac OS X* and Windows. > > Please build, test, and upload binaries to the sftp. Let me know if how it goes. > > Thanks, > Hans > > > [*] For Mac, I had to set CFLAGS="-isysroot `xcrun -show-sdk-path`" > CXXFLAGS="-isysroot `xcrun -show-sdk-path`" for the build to work, > otherwise stage-2 Clang couldn't find the SDK. I don't remember if I > had to do this last time; maybe some upgrade changed something.
2017 Feb 15
5
paquete Rcmdr y BiodiversityR
...quot;C" 2: Setting LC_TIME failed, using "C" 3: Setting LC_MESSAGES failed, using "C" 4: Setting LC_MONETARY failed, using "C" * installing *source* package 'data.table' ... ** package 'data.table' successfully unpacked and MD5 sums checked ** libs xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun ERROR: compilation failed for package 'data.table' * removing '/Library/Frameworks/R.framework/Versions/3.3/Resources/library/data.table'...
2013 Nov 20
2
[LLVMdev] Can't compile compiler-rt, asan error
"If the answer is no", of course. On Nov 20, 2013 8:02 AM, "Alexander Potapenko" <glider at google.com> wrote: > Do you have the iossim sdk installed on your machine (check by 'xcrun > --show-sdk-path --sdk iphonesimulator')? > If the answer is yes and you're testing on ToT, that's a bug. I'll take a > look. > On Nov 20, 2013 5:05 AM, "Yuchen Wu" <yuchenericwu at hotmail.com> wrote: > >> Compiler-rt is broken for me. I'm...
2016 Jul 06
3
[cfe-dev] clang++ build from source is not able to find C++ headers
...ent terminal, or > simply open a new terminal, and you'll be able to use new-clang and > new-clang++, instead of clang and clang++, to invoke your newest compiled > binary. > > > I believe the right way is to use -isysroot with the path to the SDK: > > clang++ -isysroot `xcrun --show-sdk-path` > > > Otherwise I always end-up having other issues with missing system/platform > headers. > This gives an error for me. Any ideas? ``` Sean:~/pg/llvm % ~/pg/release/bin/clang++ -v -isysroot `xcrun --show-sdk-path` -fsyntax-only test.cpp clang version 3.9.0 (trunk...
2013 Nov 20
0
[LLVMdev] Can't compile compiler-rt, asan error
It looks like it: [/Volumes/Files/yuchen_wu/dev/llvm/build]$ xcrun --show-sdk-path --sdk iphonesimulator /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk ________________________________ > Date: Wed, 20 Nov 2013 08:03:21 +0400 > Subject: Re: [LLVMdev] Can't compile compiler-rt, asan err...
2013 Nov 20
2
[LLVMdev] Can't compile compiler-rt, asan error
Can you please reconfigure and attach the full log of 'make VERBOSE=1' ? On Nov 20, 2013 8:25 AM, "Yuchen Wu" <yuchenericwu at hotmail.com> wrote: > It looks like it: > > [/Volumes/Files/yuchen_wu/dev/llvm/build]$ xcrun --show-sdk-path --sdk > iphonesimulator > > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk > > ________________________________ > > Date: Wed, 20 Nov 2013 08:03:21 +0400 > > Subject: Re: [LLVMdev] Can...
2019 Jun 13
4
Clang8 on MacOS 10.14
[Please cc me, as I am not on this list.] When installing the clang8 MacOS binary by wget <clang-binaries-tarball-url> tar -xf clang* cd clang* sudo mkdir /usr/local/clang8 sudo cp -R * /usr/local/clang8 the compiler works on MacOS 10.13, but not on MacOS 10.14, with an error: /usr/local/clang/bin/../include/c++/v1/stdio.h:108:15: fatal error: 'stdio.h' file not found
2017 Feb 15
2
paquete Rcmdr y BiodiversityR
Estimados, Soy usuario de Mac y desde que instale la nueva version de R y Rstudio, no puedo cargar el paquete Rcmdr. Lo miso me pasa con el paquete BiodiversityR. Alguien tiene alguna posible solución? Desde ya muchas gracias. Saludos, Luis > library(Rcmdr) Loading required package: RcmdrMisc Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
2014 Mar 10
2
Building Opus (git master) ARM assembly for iOS
...the assembler directives that the GNU assembler does. I suspect this is a combination of the fact that Apple platforms are Mach-O rather than Elf, and just the fact that Apple?s assembler is extremely divergent from the mainline GNU one. Specifically, if I configure with: ../configure -C CC="xcrun --sdk iphoneos clang -arch armv7" --build=x86_64-apple-darwin13.1.0 --host=arm-apple-darwin11 --enable-fixed-point I get: $ make V=1 /Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive depbase=`echo celt/arm/celt_pitch_xcorr_arm-gnu.lo | sed 's|[^/]*$|.deps/&|;s|\....
2013 Nov 12
0
[LLVMdev] Best way to do a lto bootstrap on OS X
AFAIK, ld does not use DYLD_LIBRARY_PATH to lookup libLTO.dylib but contains a reference to @executable_path/../lib/libLTO.dylib. The only way I managed to load a different LTO library than the default one is to create a symlink pointing to the actual ld binary (as returned by 'xcrun -find ld') and making sure the library I want to load is placed at ../lib/libLTO.dylib relatively to this symlink. Now, when I invoke the linker using this symlink, it properly load my custom libLTO.dylib library. According to the ld64 sources, it should have an other way to do that (using th...
2013 Nov 12
3
[LLVMdev] Best way to do a lto bootstrap on OS X
For dogfooding the compiler I normally use is a LTO bootstrap of clang. On linux that is simple to do that since clang passes the correct plugin to the linker. On OS X ld64 uses libLTO.so it finds via DYLD_LIBRARY_PATH. Should clang set that before running the linker? Is there a better way for clang to tell the linker which libLTO.so to use? Cheers, Rafael
2012 Jul 29
0
[LLVMdev] rotate
...gt; uint32_t ror(uint32_t input, size_t rot_bits) { return (input >> rot_bits) | (input << ((sizeof(input) << 3) - rot_bits)); } ====== Then compile with (assuming you are on OS X): ====== ISYSROOT=$(xcodebuild -sdk macosx -version PlatformPath)/Developer/SDKs/MacOSX10.8.sdk $(xcrun -find clang) -isysroot $ISYSROOT ror.c -c -S -Os -o - ====== yielding an assembly output of: ====== .section __TEXT,__text,regular,pure_instructions .globl _rotr _rotr: ## @rotr .cfi_startproc ## BB#0: pushq %rbp Ltmp2: .cfi_def_cfa_offset 16 Ltmp3: .cfi_offs...
2012 Jul 29
2
[LLVMdev] rotate
in C or C++, how can I get clang/llvm to try and do a "rotate". (want to test this code in the mips16 port) i.e. emit rotr node. tia. reed
2020 Aug 17
2
How to run the test suite on macOS?
When building LLVM (trunk) on macOS (where there is no /usr/include/), the resulting Clang works fine for me when I add an appropriate -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk to the command line when invoking Clang. (I'm not sure I'm using it as intended, but that appears to work reasonably well for me.) However, when
2013 Nov 20
0
[LLVMdev] Can't compile compiler-rt, asan error
...at google.com> wrote: > Can you please reconfigure and attach the full log of 'make VERBOSE=1' ? > On Nov 20, 2013 8:25 AM, "Yuchen Wu" <yuchenericwu at hotmail.com> wrote: > >> It looks like it: >> >> [/Volumes/Files/yuchen_wu/dev/llvm/build]$ xcrun --show-sdk-path --sdk >> iphonesimulator >> >> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk >> >> ________________________________ >> > Date: Wed, 20 Nov 2013 08:03:21 +0400 >> > S...
2013 Nov 20
0
[LLVMdev] Can't compile compiler-rt, asan error
Do you have the iossim sdk installed on your machine (check by 'xcrun --show-sdk-path --sdk iphonesimulator')? If the answer is yes and you're testing on ToT, that's a bug. I'll take a look. On Nov 20, 2013 5:05 AM, "Yuchen Wu" <yuchenericwu at hotmail.com> wrote: > Compiler-rt is broken for me. I'm compiling with top of trunk...
2016 Sep 26
4
objc object file generated for gnustep runtime for ELF target is too big
...tion/Foundation.h> #import <UIKit/UIKit.h> int main(void) {         NSString *str = [NSString stringWithCString:"TEST"];         NSLog(@"test object %@", str);         return 0; } Compilation in xcode's clang xcrun -sdk iphoneos clang -arch armv7s -mios-version-min=6.1 -c test_foundation.m -o test_foundation_apple.o gives following result: 1. object file has only 3156 bytes size 2. and in disassembler only main function 3. the final executable will be 49992 bytes size in this case But compilation...