Skip Menu |
 

This queue is for tickets about the Perl-Dist-Strawberry CPAN distribution.

Report information
The Basics
Id: 108917
Status: open
Priority: 0/
Queue: Perl-Dist-Strawberry

People
Owner: Nobody in particular
Requestors: ronaldxs [...] software-path.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: gmake defaults to g++ for .c because of known bug documented at gnu.org
Download (untitled) / with headers
text/plain 938b
Recently resolved bug at gnu.org https://savannah.gnu.org/bugs/index.php?46304 The problem wasn't interfering with installation of cpan modules but was interfering with building of Perl6 MoarVM - see https://github.com/MoarVM/MoarVM/issues/292. Given the Makefile below # start of Makefile CC=gcc hello.exe : hello.o gcc -o hello.exe hello.o #end of Makefile Strawberry Perl gmake will compile hello.c with g++ instead of gcc because gmake was, apparently inapropriately, built with a default rule that said ".c" files should be treated like ".C" files (upper case C being treated as C++). %.o: %.c # recipe to execute (built-in): $(COMPILE.C) $(OUTPUT_OPTION) $< The COMPILE.C should be COMPILE.c as detailed in the gnu bug report. The hello.c file is standard but included below for completeness. /*************** hello.c ****************/ #include <stdio.h> int main(int argc, char **argv) { printf("hello world\n"); }
Subject: Re: [rt.cpan.org #108917] gmake defaults to g++ for .c because of known bug documented at gnu.org
Date: Sat, 14 Nov 2015 22:24:33 +0100
To: bug-Perl-Dist-Strawberry [...] rt.cpan.org
From: kmx <kmx [...] cpan.org>
Download (untitled) / with headers
text/plain 100b
Do you have any information where the next gnu make version (4.2) is about to be released? -- kmx
From: ronaldxs [...] software-path.com
Download (untitled) / with headers
text/plain 177b
I was running Strawberry Perl 5.22.01 (64 bit) and that version has the problem. Strawberry Perl 5.20, at least the latest release that I downloaded, does not have the problem.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.