Installing LLVM MinGW on Vista?

From llvm.org I downloaded llvm-2.6-x86-mingw32.tar.bz2 into c:\llvmand llvm-gcc-4.2-2.6-x86-mingw32-tar.bz2 into c:\llvm-gcc, and also set the desktop shortcut to the next batch file in c:\llvm-gcc, which is trying configure the environment for compilation using the command line llvm-gcc:

@echo off
color 0E
echo Configuring LLVM environment...
set LLVM_LIB_SEARCH_PATH=%~dp0lib
set PATH=c:\llvm;%~dp0bin;%PATH%

Unfortunately, this setting gives the following error when trying to compile a simple global hello program:

C:\CDev\sandbox>llvm-gcc -o hello.exe hello.c
llvm-gcc: CreateProcess: No such file or directory

I briefly looked at the LLVM binaries, and it looks like the Win32 API and MinGW-based runtime files are already included. I also tried adding DLG MinGW to c:\llvm-gcc\binno avail.

What did I miss when setting up the LLVM binary and GCC on Vista?

Thanks Jon

+3
4

GNU/MinGW "" "llvm-gcc" obj . :

  • GNU/MinGW binutils, as.exe c:\llvm-gcc\bin
  • MinGW, % MinGW%\bin % PATH%
+3

@rwallace , MinGW binutils LLVM. LLVM

http://llvm.org/docs/GettingStarted.html#installcf

+2

, , MinGW, LLVM, , , binutils.

MinGW . , MinGW, , , 10 .

Today I decided to use MinGW, which comes with Qt, which comes in one package; so far it seems to be working.

+1
source

He seems to be looking for a basic MinGW installation in C: \ MinGW. I had this error today using gcc.exe in msys. To solve this problem, I created a symbolic link c: \ msys to c: \ MinGW, and everything worked.

0
source

Source: https://habr.com/ru/post/1724230/


All Articles