[X2Go-Commits] [[X2Go Wiki]] page changed: wiki:development:build-howto-mswin:x2goclient

wiki-admin at x2go.org wiki-admin at x2go.org
Thu Feb 6 14:42:24 CET 2020


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2020/02/06 13:42
Browser     : Mozilla/5.0 (X11; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0
IP-Address  : 178.162.222.163
Hostname    : 178.162.222.163.adsl.inet-telecom.org
Old Revision: https://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:x2goclient?rev=1580985838
New Revision: https://wiki.x2go.org/doku.php/wiki:development:build-howto-mswin:x2goclient
Edit Summary: Add libssh installation and bundling instructions.
User        : ionic

@@ -187,8 +187,42 @@
  
  Build the software like any other, append ''-j'' and other flags as desired:
  
  <code>"D:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\bin\mingw32-make.exe"</code>
+ 
+ == Install ==
+ 
+ It's recommended to make sure that the install staging area is clean (fully deleted or at least empty) before installing/staging the built software.
+ 
+ This ensures that old/removed files won't linger around and that changes
will not remain undetected.
+ 
+ <code>rm -rf "D:\Build\libssh\libssh-staging"
+ "D:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\bin\mingw32-make.exe" install</code>
+ 
+ Afterwards, clean and install the newly built files into the MinGW prefix:
+ 
+ Header files:
+ 
+ <code>
+ rm -rf "D:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\i686-w64-mingw32\include\libssh"
+ cp -av "D:\Build\libssh\libssh-staging\include\libssh" "D:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\i686-w64-mingw32\include\libssh"
+ </code>
+ 
+ <note>''(dll).a'' files can be static libraries that are being used as "DLL import libraries" on Windows. They do not actually contain the library contents but a mechanism for loading the shared DLL files at run time. This differs from the UNIX concept of the linker automatically generating (unresolved) symbols and ignoring them (if an eventual symbol scanning suceeds) that are automatically resolved at run time.
+ 
+ As such, it is impotant to keep these
static DLL import libraries around on Windows, even if library is supposed to be used in a dynamically-linked fashion.</note>
+ 
+ 
+ Library files:
+ 
+ <code>
+ for /R "D:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\i686-w64-mingw32\lib\" %I in (libssh*) do rm -rf "%I"
+ D:
+ cd "D:\Build\libssh\libssh-staging\lib"
+ for %I in (libssh*) do cp -av "%I" "D:\i686-4.8.2-release-posix-dwarf-rt_v3-rev3\mingw32\i686-w64-mingw32\lib\"
+ </code>
+ 
+ Afterwards, optionally bundle the new libssh source and binaries in x2goclient-contrib. Explicitly document the command line invocation in a file named ''CMake-Show-My-Changes.txt''.
  
  ===== Build X2Go Client =====
  
  ==== Build X2Go Client from source ====


-- 
This mail was generated by DokuWiki at
https://wiki.x2go.org/



More information about the x2go-commits mailing list