summaryrefslogtreecommitdiffstats
path: root/winsup/lsaauth/make-64bit-version-with-mingw-w64.sh
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2012-10-24 09:35:38 +0000
committerYaakov Selkowitz <yselkowi@redhat.com>2012-10-24 09:35:38 +0000
commitefa82614a73875eaed014d5f4db6cc1a1aa9db81 (patch)
treeb8b4a247984f52e67655601cdf8b9307c24a36e0 /winsup/lsaauth/make-64bit-version-with-mingw-w64.sh
parentd25fac71144904255ef38a506a259a5de2b4c2ad (diff)
downloadcygnal-efa82614a73875eaed014d5f4db6cc1a1aa9db81.tar.gz
cygnal-efa82614a73875eaed014d5f4db6cc1a1aa9db81.tar.bz2
cygnal-efa82614a73875eaed014d5f4db6cc1a1aa9db81.zip
2012-10-24 Kai Tietz <ktietz70@googlemail.com>
Yaakov Selkowitz <yselkowitz@users.sourceforge.net> * configure.in: Check for MINGW32_CC and MINGW64_CC. * configure: Regenerate. * Makefile.in: Use MINGW32_CC and MINGW64_CC to build 32-bit and 64-bit DLLs. Remove references to mingw and w32api directories. * cyglsa64.dll: Remove from version control. * make-64bit-version-with-mingw-w64.sh: Remove.
Diffstat (limited to 'winsup/lsaauth/make-64bit-version-with-mingw-w64.sh')
-rw-r--r--winsup/lsaauth/make-64bit-version-with-mingw-w64.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/winsup/lsaauth/make-64bit-version-with-mingw-w64.sh b/winsup/lsaauth/make-64bit-version-with-mingw-w64.sh
deleted file mode 100644
index 4a8c37c23..000000000
--- a/winsup/lsaauth/make-64bit-version-with-mingw-w64.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#! /bin/sh
-# This script shows how to generate a 64 bit version of cyglsa.dll.
-# The 32 bit version will not work on 64 bit systems.
-#
-# Note that you need MinGW-w64 GCC, headers, and import libs. On Cygwin,
-# the required packages are: mingw64-x86_64-binutils, mingw64-x86_64-gcc-core,
-# mingw64-x86_64-headers, and mingw64-x86_64-runtime.
-#
-# Note that this is for building inside the source dir as not to interfere
-# with the "official" 32 bit build in the build directory.
-#
-# Install the dll into /bin and use the cyglsa-config script to register it.
-# Don't forget to reboot afterwards.
-#
-# Add "-DDEBUGGING" to CFLAGS below to create debugging output to
-# C:\cyglsa.dbgout at runtime.
-#
-set -e
-
-CC="x86_64-w64-mingw32-gcc"
-CFLAGS="-fno-exceptions -O0 -Wall -Werror"
-LDFLAGS="-s -nostdlib -Wl,--entry,DllMain,--major-os-version,5,--minor-os-version,2"
-# Never again try to remove advapi32. It does not matter if the DLL calls
-# advapi32 functions or the equivalent ntdll functions.
-# But if the LSA authentication DLL is not linked against advapi32, it's
-# not recognized by LSA.
-LIBS="-ladvapi32 -lkernel32 -lntdll"
-
-$CC $CFLAGS $LDFLAGS -shared -o cyglsa64.dll cyglsa.c cyglsa64.def $LIBS