gawk-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gawk-diffs] [SCM] gawk branch, cmake, updated. 730a2388f18c57478fb0afa0


From: Juergen Kahrs
Subject: [gawk-diffs] [SCM] gawk branch, cmake, updated. 730a2388f18c57478fb0afa07b15947616f84c5a
Date: Tue, 19 Mar 2013 11:02:46 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, cmake has been updated
       via  730a2388f18c57478fb0afa07b15947616f84c5a (commit)
      from  086cf8797aed3e6e2281456cff48e0c879f38813 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=730a2388f18c57478fb0afa07b15947616f84c5a

commit 730a2388f18c57478fb0afa07b15947616f84c5a
Author: Juergen Kahrs <address@hidden>
Date:   Tue Mar 19 12:01:50 2013 +0100

    CMake can now compile for target S390 with embedian cross-compiler.

diff --git a/cmake/Toolchain_s390.cmake b/cmake/Toolchain_s390.cmake
new file mode 100644
index 0000000..e1cdcff
--- /dev/null
+++ b/cmake/Toolchain_s390.cmake
@@ -0,0 +1,20 @@
+# http://www.cmake.org/Wiki/CmakeMingw
+# http://www.cmake.org/Wiki/CMake_Cross_Compiling#The_toolchain_file
+# http://wiki.debian.org/EmdebianToolchain#Get_the_binaries
+
+# the name of the target operating system
+SET(CMAKE_SYSTEM_NAME Generic)
+
+# which compilers to use for C and C++
+SET(CMAKE_C_COMPILER /usr/bin/s390-linux-gnu-gcc-4.4)
+
+# here is the target environment located
+SET(CMAKE_FIND_ROOT_PATH  /usr/s390-linux-gnu/)
+
+# adjust the default behaviour of the FIND_XXX() commands:
+# search headers and libraries in the target environment, search 
+# programs in the host environment
+set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+

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

Summary of changes:
 ...{Toolchain_clang.cmake => Toolchain_s390.cmake} |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
 copy cmake/{Toolchain_clang.cmake => Toolchain_s390.cmake} (77%)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]