aboutsummaryrefslogtreecommitdiff
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/CMakeLists.txt15
-rw-r--r--host/elfinfo.cpp1
2 files changed, 1 insertions, 15 deletions
diff --git a/host/CMakeLists.txt b/host/CMakeLists.txt
index ea8894b..c991597 100644
--- a/host/CMakeLists.txt
+++ b/host/CMakeLists.txt
@@ -2,21 +2,6 @@ cmake_minimum_required(VERSION 3.2)
project(host C CXX ASM)
-add_executable(host1.elf host1.cpp
- ../tinyprintf/tinyprintf.h ../tinyprintf/tinyprintf.c
- )
-
-target_include_directories(host1.elf PUBLIC
- ../tinyprintf
- ../playground/include)
-target_compile_definitions(host1.elf PUBLIC TINYPRINTF_DEFINE_TFP_SPRINTF=0 TINYPRINTF_OVERRIDE_LIBC=0)
-
-add_executable(elf3 elf3.cpp)
-target_link_libraries(elf3 elf)
-
-add_executable(elf4 elf4.cpp)
-target_link_libraries(elf4 elf bsd)
-
add_executable(elfinfo elfinfo.cpp)
target_compile_options(elfinfo PUBLIC "--std=c++14")
target_link_libraries(elfinfo elf)
diff --git a/host/elfinfo.cpp b/host/elfinfo.cpp
index a929325..ffe2762 100644
--- a/host/elfinfo.cpp
+++ b/host/elfinfo.cpp
@@ -10,6 +10,7 @@
#include <getopt.h>
#include <inttypes.h>
#include <elf.h>
+#include <ctype.h>
using std::vector;