Summary (Edit: removed all unnecessary information, added Windows10 experience, upgraded CLANG on Ubuntu to the same version, removed Debian10 due to old CLANG version) I’ve created a pretty simple WASM module, compiled on MacOS, works ✅, compiled on MS-Windows10, works ✅, compiled on Ubuntu21.10: produ…
Tag: llvm
compatibility issues with regex between Mac and Linux machines
Original Question: “I developed a program on my Mac using Xcode 8’s latest LLVM 8 compiler (clang 8/3.8?) which made heavy use of regular expressions out of c++14. I was then unable to get my code to give me the correct output when running on linux. There seem to be some regular expression compati…
‘undefined reference to’ Linker errors with latest LLVM from git (3.9.0svn) on Arch Linux
Prior to my Macbook Pro motherboard failure I was working on a programming language of mine with Flex, Bison, and LLVM. I honestly don’t recall the version of LLVM I was linking against at the time (I will try to find this out after I salvage the data from the drive), but I do know that the latest versi…
Generate LLVM C++ API code as backend
The Online LLVM demo page had an option to generate LLVM C++ API code as backend from a source code. However, that demo page is now disabled. I was wondering how we can do it ourselves using the available LLVM tools. I tried the following which gives the following error I am using LLVM/Clang version 3.2. Answ…