-
Notifications
You must be signed in to change notification settings - Fork 556
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ExtUtils::MM_Win32 should not generate "mt" command when CRT is statically linked #9604
Comments
From esquel@sommarskog.seCreated by esquel@sommarskog.seExtUtils::MM_Win32 includes these lines: # VS2005 (aka VC 8) or higher, but not for 64-bit compiler from Platform SDK I am told the that "mt" command is there, because VC8 and later generates a manifest However, if you opt to link statically to the CRT and thus include the CRT routines in Note that there are several options to request static linkage: /MT,/MTd and a couple more. Perl Info
|
From @steve-m-hayErland Sommarskog (via RT) wrote:
What is it that you're static-linking to the CRT? I see from your perl -V output: [...]
that you've built perl with the -MD option (for dynamic-linking the I'm not even sure I understand how you've told EU::MM to static-link the I'm also always slightly uneasy about mix'n'match-ing different CRTs. If Is it possible for you to build everything with -MD, like EU::MM is |
The RT System itself - Status changed from 'new' to 'open' |
From @janduboisOn Fri, 19 Dec 2008, Steve Hay wrote:
I don't think it is feasible to detect static vs. dynamic linking by analyzing if exist [...]
He is just adding '/MT' to CCFLAGS in WriteMakeFile().
Yes, it is preferable to use just a single CRT, but mixing them generally
He is getting linking problems without /MT and is not interested in I think the change I suggested above should be safe enough to apply, Cheers, |
From @steve-m-hayJan Dubois wrote:
Thanks, applied as 4adc95e. Erland, are you able to rsync the latest perl-current and verify whether |
From @janduboisOn Fri, 19 Dec 2008, Steve Hay wrote:
On second thoughts I think we should also remove the compiler check and The advantage of removing the compiler check is that this will make Cheers, |
From @samvOn Fri, 2008-12-19 at 17:43 +0000, Steve Hay wrote:
Just to nitpick this change; the body of the commit is this: Subject: RE: [perl #61492] ExtUtils::MM_Win32 should not generate "mt" Ideally the "From" and "Date" headers should go into the "Author" fields Also, the general practice is to separate the one-line description of I realise that including a summary isn't the current practice, but it Sam. |
From @steve-m-hayJan Dubois wrote:
Thanks, applied as http://perl5.git.perl.org/perl.git/commit/200cbd6 |
From @steve-m-haySteve Hay wrote:
..., er, and http://perl5.git.perl.org/perl.git/commit/3ddd48a ;-) |
From @steve-m-hayFixes were committed to bleadperl, and are now in |
@steve-m-hay - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#61492 (status was 'resolved')
Searchable as RT61492$
The text was updated successfully, but these errors were encountered: