Web lists-archives.com

Re: [Mingw-users] Pending new mingwrt and w32api releases




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/03/17 00:00, David Gressett wrote:
> The V5 crashdemo has libmingwex-0.dll copied into the directory

Ah!  I didn't link my test against libmingwex.dll.a, so I was using 
static libmingwex.a; thus, without libmingwex.dll.a installed:

  $ mingw32-gnatmake --version
  GNATMAKE 5.3.0
  Copyright (C) 1995-2015, Free Software Foundation, Inc.
  ...

  $ cat crashdemo.adb
  procedure CrashDemo is
     Err: exception;
  begin
     raise Err;
  end CrashDemo;

  $ mingw32-gnatmake -g crashdemo
  mingw32-gcc -c -g crashdemo.adb
  mingw32-gnatbind -x crashdemo.ali
  mingw32-gnatlink crashdemo.ali -g

  $ mingw32-ldd crashdemo.exe 
  crashdemo.exe
   +- ADVAPI32.DLL
   +- KERNEL32.dll
   +- msvcrt.dll
   +- msvcrt.dll
   +- SHELL32.DLL

  $ ./crashdemo.exe
  raised CRASHDEMO.ERR : crashdemo.adb:4

DTRT, but *with* libmingwex.dll.a (and/or libmingwex-0.dll) installed:

  $ cp ../mingwrt/libmingwex.dll.a ~/mingw32/lib

  $ rm b-*; rm *.o *.exe *.ali

  $ mingw32-gnatmake -g crashdemo
  mingw32-gcc -c -g crashdemo.adb
  mingw32-gnatbind -x crashdemo.ali
  mingw32-gnatlink crashdemo.ali -g

  $ mingw32-ldd crashdemo.exe 
  crashdemo.exe
   +- ADVAPI32.DLL
   +- KERNEL32.dll
   +- libmingwex-0.dll
   +- msvcrt.dll
   +- msvcrt.dll
   +- SHELL32.DLL

  $ ln ../mingwrt/libmingwex-0.dll .

  $ ./crashdemo.exe
  abnormal program termination

exhibits wine's report of similar abnormal termination to that which 
you have seen.  It appears that dynamic linking of libmingwex may not 
be a universally viable option, just yet.

- -- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJYvnvgAAoJEMCtNsY0flo/1gYP/ixKYObRY1cWy0271fJ4QiGw
mwgsfTu2r5TwEJNUt77J44wIbG88hrHG1yaRtn4qyELT5QwGD3Faeuwn1aW/yLyh
uxPuI7GkgJyUd1Xyd6yTCK3+JzVFVur25zwBg9gdPdrqUoKqENPa3gfjmlZGLdp6
y3cNuLSvblIrqsJsNCjlwyhPzYzURht6vfPeBG68BzwnKOQ6c23OYjjwfClUWzYd
/r6+gL3yH/sEc0wlWia1uZ51WSoXSjYgjTglrQ+D4kqFtxmSTWefRGH1nho4OwMn
W0/xmtq5XOBoh7+2sT1uK87CbA7zAn+oiQ4UzlqlUPwod5vgu37a7URpRXs81F9w
7JjQSplGJUxZtAtAc6xRG6rnfwzOfKGuzVTxAxfkWud32TioudmZ87GCKibuJSIQ
fwehEikav6ri9AHbQi8sr+5BcgYpAgTplxmk/DBsO+2010/SDpkk4kdPRpocTgI2
TP//t2bjLBWd+nTgJ27C5s7pDnNFW4SbnWktcs+2Vs6EBG5DUuQDIhIoJILqg8j+
AyMc3zeoUS/KrRJ8SMaaCw4tFrFZWb4wxgy4nZ18erF1hLt+Tx+uQ90Lo+65hnKG
V66n2betHcreY0NWbp34/XIhUNS8LJTevpw2x82nJqYCizFlBGaP8wfq7mV4qYvW
nB9saC1f7V4stP4hSRdB
=7ZxW
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe