q4os-desktop
authorMichael Wagner <info@wagnertech.de>
Wed, 3 Mar 2021 19:45:45 +0000 (20:45 +0100)
committerMichael Wagner <info@wagnertech.de>
Wed, 3 Mar 2021 19:45:45 +0000 (20:45 +0100)
eldk-5.0/eldk-5.0.tgz [new file with mode: 0644]
eldk-5.0/setenv.sh [new file with mode: 0644]
eldk-5.0/toolset.cmake [new file with mode: 0644]

diff --git a/eldk-5.0/eldk-5.0.tgz b/eldk-5.0/eldk-5.0.tgz
new file mode 100644 (file)
index 0000000..29be10d
Binary files /dev/null and b/eldk-5.0/eldk-5.0.tgz differ
diff --git a/eldk-5.0/setenv.sh b/eldk-5.0/setenv.sh
new file mode 100644 (file)
index 0000000..652d6ad
--- /dev/null
@@ -0,0 +1,2 @@
+ARCH=armel
+echo "HalloooooooooooooooooooOO"
diff --git a/eldk-5.0/toolset.cmake b/eldk-5.0/toolset.cmake
new file mode 100644 (file)
index 0000000..f34f191
--- /dev/null
@@ -0,0 +1,26 @@
+# Define our host system
+SET(CMAKE_SYSTEM_NAME Linux)
+SET(CMAKE_SYSTEM_VERSION 1)# Define the cross compiler locations
+SET(CMAKE_C_COMPILER   /opt/cross/eldk-5.0/armv5te/sysroots/i686-oesdk-linux/usr/bin/armv5te-linux-gnueabi/arm-linux-gnueabi-gcc)
+SET(CMAKE_CXX_COMPILER /opt/cross/eldk-5.0/armv5te/sysroots/i686-oesdk-linux/usr/bin/armv5te-linux-gnueabi/arm-linux-gnueabi-g++)
+SET(CMAKE_FIND_ROOT_PATH /opt/cross/eldk-5.0/armv5te/sysroots/i686-oesdk-linux/)
+
+SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+# Search for libraries and headers in the target directories only
+SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+#add_definitions(-Wall -std=c11)
+add_definitions(-Wall)
+#add_compile_options(-std=c++11)
+add_compile_options(--sysroot=/opt/cross/eldk-5.0/armv5te/sysroots/arm-linux-gnueabi/)
+#add_compile_options(-fPIC)
+#add_compile_options(-DSHARED)
+#set( CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -m32" )
+#set( CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -std=c++11 --sysroot=/home/debian10/aasync/cross/arm-linux-gnueabi-4.5//" )
+set( CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -D_ARMEL --sysroot=/opt/cross/eldk-5.0/armv5te/sysroots/arm-linux-gnueabi/" )
+#set( CMAKE_LD_FLAGS  "${CMAKE_LD_FLAGS} --sysroot=/home/debian10/aasync/cross/arm-linux-gnueabi-4.5//" )
+set( CMAKE_SHARED_LINKER_FLAGS  "${CMAKE_SHARED_LINKER_FLAGS} --sysrooot=/opt/cross/eldk-5.0/armv5te/sysroots/arm-linux-gnueabi/" )
+#set( CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -E -Wp,-v" )
+#set( CMAKE_CXX_FLAGS  "${CMAKE_CXX_FLAGS} -print-search-dirs" )
+#set(CMAKE_LIBRARY_PATH /home/debian10/aasync/cross/arm-linux-gnueabi-4.5/usr/lib/x86_64-linux-gnu/32)
+