Skip Menu | will be shut down on March 1st, 2021.

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

Owner: Nobody in particular
Requestors: ronaldxs [...]

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
Download (untitled) / with headers
text/plain 938b
Recently resolved bug at The problem wasn't interfering with installation of cpan modules but was interfering with building of Perl6 MoarVM - see 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: [ #108917] gmake defaults to g++ for .c because of known bug documented at
Date: Sat, 14 Nov 2015 22:24:33 +0100
To: bug-Perl-Dist-Strawberry [...]
From: kmx <kmx [...]>
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 [...]
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 infrastructure.

Please report any issues with to