Has anyone tried to compile GHDL for Windows with an LLVM backend?

 

I mastered a handful of steps (no warranty for final success):

-          Don’t download LLVM as a windows package – llvm-config is missing!

-          Download the LLVM sources

-          Install CMake to translate LLVM makefiles into VisualStudio Projects

-          Install GnuWin32 (I don’t kno why … the LLVM website says so …)

-          Run VisualStudio (needs circa 8 GB space – what the hell ! – and > 
1h to compile)

-          Don’t install LLVM into a space (sign) containing directory.

-          Still waiting for LLVM to finish ………………

 

Current open steps:

-          Compiling llvm-cbindings.cpp to llvm-cbindings.o -> missing header 
files. I hope they will be present when LLVM is compiled from sources.

-          Compiling dist/llvm/windows/default_pathes.ads and 
dist/llvm/windows/windows_default_path.ads

 

I copied these files from dist/mcode/windows into a new folder 
dist/llvm/windows.

GNAT says: 

 

D:\git\GitHub\ghdl\dist\llvm [paebbels/master +3 ~1 -0 !]> gcc.exe 
$COMPILE_OPTIONS $COMPILE_INC_PATHS -I- 
../../dist/llvm/windows/default_pathes.ads

default_pathes.ads:1:06: file "windows_default_path.ads" not found

D:\git\GitHub\ghdl\dist\llvm [paebbels/master +3 ~1 -0 !]> gcc.exe 
$COMPILE_OPTIONS $COMPILE_INC_PATHS -I- 
../../dist/llvm/windows/windows_default_path.ads

cannot generate code for file windows_default_path.ads (package spec)

 

 

Regards

    Patrick

 

-----------------------------------

Wissenschaftliche Hilfskraft

 

Technische Universität Dresden

Fakultät Informatik

Institut für Technische Informatik

Lehrstuhl VLSI-Entwurfssysteme, Diagnostik und Architektur

01062 Dresden

Tel.:   +49 351 463-38451

Fax:    +49 351 463-38324

Raum:   APB-1020

E-Mail:  <mailto:patrick.lehm...@tu-dresden.de> patrick.lehm...@tu-dresden.de

WWW:     <http://vlsi-eda.inf.tu-dresden.de/> http://vlsi-eda.inf.tu-dresden.de

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Ghdl-discuss mailing list
Ghdl-discuss@gna.org
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to