这是indexloc提供的服务,不要输入任何密码
Skip to content

YuYing-Liang/advent-of-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Install clang and llvm

sudo apt-get install clang
sudo apt-get install llvm

Install dev dependencies for clang

sudo apt-get install libc++-dev
sudo apt-get install libc++abi-dev

Install debugger tools

sudo apt-get install lldb
sudo apt-get install liblldb-dev

Download and build lldb-mi:

git clone https://github.com/lldb-tools/lldb-mi
cd lldb-mi
cmake -DLLDB_DIR=/usr/lib/llvm-14/lib/ .
make

Compile and run code

Run the command:

clang++ -std=c++11 -stdlib=libc++ <filename>.cpp -o <output-file>

add -v at the end for verbose output.

Then run the output file

./<output-file>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages