Send MinGW-Notify mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osdn.me/mailman/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-Notify digest..."
Please do not reply to this notification; the sender address is unable to
accept incoming e-mail. If you wish to unsubscribe you can do so at
https://lists.osdn.me/mailman/listinfo/mingw-notify.
Today's Topics:
1. [mingw] #41049: A C++ program compiled with MinGW64 can't
load libwinpthread-1.dll unless it isin the path, which it is
when I built it but isn't when customers run it.
(MinGW Notification List)
2. [mingw] #41049: A C++ program compiled with MinGW64 can't
load libwinpthread-1.dll unless it isin the path, which it is
when I built it but isn't when customers run it.
(MinGW Notification List)
----------------------------------------------------------------------
Message: 1
Date: Mon, 14 Dec 2020 15:34:37 +0900
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #41049: A C++ program compiled with
MinGW64 can't load libwinpthread-1.dll unless it isin the path, which
it is when I built it but isn't when customers run it.
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#41049: A C++ program compiled with MinGW64 can't load libwinpthread-1.dll
unless it is
in the path, which it is when I built it but isn't when customers run it.
Open Date: 2020-12-14 08:46
Last Update: 2020-12-14 15:34
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/41049
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=41049
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2020-12-14 15:34 Updated by: wba2
* Details Updated
---------------------------------------------------------------------
Ticket Status:
Reporter: wba2
Owner: (None)
Type: Issues
Status: Open
Priority: 5 - Medium
MileStone: (None)
Component: (None)
Severity: 5 - Medium
Resolution: None
---------------------------------------------------------------------
Ticket details:
The program below was cut way down from a much larger program that uses virtual
classes to use multiple user interface subsystems. My attempts to make it
statically bind libwinpthread-1.dll into the executable were unsuccessful. I
knew what the "-Wl,--out-implib,libsdlib.a" stuff was about at the time, and it
seemed to be the right thing. It has worked with MinGW 32 for years.
System is Windows XP Service Pack 3, on Compaq Presario V3000.
MinGW64 was downloaded and installed on Nov 29, 2020. It's pedigree seems to be
Version 8.1.0 Architecture i686 Threads posix Exception dwarf Build revision 0
Original destination folder mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0
Tools pedigrees are: C:\wba\sd>gcc --version gcc (i686-posix-dwarf-rev0, Built
by MinGW-W64 project) 8.1.0
C:\wba\sd>ld --version GNU ld (GNU Binutils) 2.30
Program is
#include <stdio.h>
class iobase {
virtual void create_menu() = 0;
};
class iofull : public iobase {
void create_menu();
};
int main(int argc, char *argv[]) { printf("Hello, World!\n"); }
static char *call_menu_prompts;
void iofull::create_menu() { call_menu_prompts = new char50; }
Compile with
g++ -static-libgcc -static-libstdc++ -shared -o sdlib.dll
-Wl,--out-implib,libsdlib.a
g++ -static-libgcc -static-libstdc++ -O4 -c sdui-tty.cpp
g++ -static-libgcc -static-libstdc++ -mconsole -o sdtty.exe sdui-tty.o -L. -LC:
\MinGW64\mingw32 -lsdlib
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net/projects/mingw/ticket/41049
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=41049
------------------------------
Message: 2
Date: Mon, 14 Dec 2020 10:08:59 +0000
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #41049: A C++ program compiled with
MinGW64 can't load libwinpthread-1.dll unless it isin the path, which
it is when I built it but isn't when customers run it.
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8
#41049: A C++ program compiled with MinGW64 can't load libwinpthread-1.dll
unless it is
in the path, which it is when I built it but isn't when customers run it.
Open Date: 2020-12-13 23:46
Last Update: 2020-12-14 10:08
URL for this Ticket:
https://osdn.net//projects/mingw/ticket/41049
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=41049
---------------------------------------------------------------------
Last Changes/Comment on this Ticket:
2020-12-14 10:08 Updated by: keith
* Status Update from Open to Closed
* Resolution Update from None to Invalid
Comment:
MinGW64? Seriously? A product from a rogue project, which illegally infringes
our trademark? Not supported here!
---------------------------------------------------------------------
Ticket Status:
Reporter: wba2
Owner: (None)
Type: Issues
Status: Closed
Priority: 5 - Medium
MileStone: (None)
Component: (None)
Severity: 5 - Medium
Resolution: Invalid
---------------------------------------------------------------------
Ticket details:
The program below was cut way down from a much larger program that uses virtual
classes to use multiple user interface subsystems. My attempts to make it
statically bind libwinpthread-1.dll into the executable were unsuccessful. I
knew what the "-Wl,--out-implib,libsdlib.a" stuff was about at the time, and it
seemed to be the right thing. It has worked with MinGW 32 for years.
System is Windows XP Service Pack 3, on Compaq Presario V3000.
MinGW64 was downloaded and installed on Nov 29, 2020. It's pedigree seems to be
Version 8.1.0 Architecture i686 Threads posix Exception dwarf Build revision 0
Original destination folder mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0
Tools pedigrees are: C:\wba\sd>gcc --version gcc (i686-posix-dwarf-rev0, Built
by MinGW-W64 project) 8.1.0
C:\wba\sd>ld --version GNU ld (GNU Binutils) 2.30
Program is
#include <stdio.h>
class iobase {
virtual void create_menu() = 0;
};
class iofull : public iobase {
void create_menu();
};
int main(int argc, char *argv[]) { printf("Hello, World!\n"); }
static char *call_menu_prompts;
void iofull::create_menu() { call_menu_prompts = new char50; }
Compile with
g++ -static-libgcc -static-libstdc++ -shared -o sdlib.dll
-Wl,--out-implib,libsdlib.a
g++ -static-libgcc -static-libstdc++ -O4 -c sdui-tty.cpp
g++ -static-libgcc -static-libstdc++ -mconsole -o sdtty.exe sdui-tty.o -L. -LC:
\MinGW64\mingw32 -lsdlib
--
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN
Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net
URL for this Ticket:
https://osdn.net/projects/mingw/ticket/41049
RSS feed for this Ticket:
https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=41049
------------------------------
Subject: Digest Footer
_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify
------------------------------
End of MinGW-Notify Digest, Vol 39, Issue 4
*******************************************