develooper Front page | perl.perl5.porters | Postings from July 2018

[perl #133117] [PATCH] fix version autodetect for Visual C 64bitedition

Thread Previous
From:
bulk88 via RT
Date:
July 27, 2018 20:48
Subject:
[perl #133117] [PATCH] fix version autodetect for Visual C 64bitedition
Message ID:
rt-4.0.24-7453-1532724492-99.133117-15-0@perl.org
On Tue, 10 Jul 2018 06:00:45 -0700, shay wrote:
> Please could you expand the following comment (in GNUmakefile) into
> more intelligible English?:
> 
> #rmving the cmd /c causes the var2b undef4echo but!4"set MSVCVER",
> cmd.exe bug?
> 
> (or just remove it? - it isn't in the equivalent section of code in
> makefile.mk).

No, without that cmd /c the makefile var is empty string or undef but only for gmake. The extra cmd /c isn't needed for dmake. IDK y.

> Testing - I get slightly different output from the info target when
> using gmake vs dmake with gcc compilers - the dmake output is missing
> GCCTARGET (e.g. with mingw-w64.org 7.1.0 x86):
> 
> C:\Dev\Git\perl\win32>gmake info
> # CCTYPE=GCC
> # GCCBIN=gcc
> # GCCVER=7.1.0
> # GCCTARGET=i686-w64-mingw32
> # GCCCROSS=
> # WIN64=undef
> # ARCHITECTURE=x86
> # ARCHNAME=MSWin32-x86-multi-thread
> # MAKE=gmake
> 
> C:\Dev\Git\perl\win32>dmake info
> # CCTYPE=GCC
> # CC=gcc
> # GCCVER=7.1.0
> # GCCTARGET=
> # GCCCROSS=
> # WIN64=undef
> # ARCHITECTURE=x86
> # ARCHNAME=MSWin32-x86-multi-thread
> # MAKE=dmake
> 
> Otherwise this is looking good - tested with several gccs (mingw.org
> and mingw-w64.org), VC6 x86 and VC10/11/12/14/141 x86/x64.

Can you retry the latest patch for GCCTARGET var? For me GCCTARGET is identical between dmake and gmake

-------------------------------
C:\perl528\srcnew\win32>gmake info
# CCTYPE=GCC
# GCCBIN=gcc
# GCCVER=4.9.2
# GCCTARGET=i686-w64-mingw32
# GCCCROSS=
# WIN64=undef
# ARCHITECTURE=x86
# ARCHNAME=MSWin32-x86-multi-thread
# MAKE=gmake

C:\perl528\srcnew\win32>dmake info
# CCTYPE=GCC
# CC=gcc
# GCCVER=4.9.2
# GCCTARGET=i686-w64-mingw32
# GCCCROSS=
# WIN64=undef
# ARCHITECTURE=x86
# ARCHNAME=MSWin32-x86-multi-thread
# MAKE=dmake

C:\perl528\srcnew\win32>
-----------------------------

-- 
bulk88 ~ bulk88 at hotmail.com

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=133117

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About