develooper Front page | perl.perl6.internals | Postings from October 2002

Re: [perl #17502] [PATCH] config/gen/makefiles/classes.in - compiler flag bug

Thread Previous
From:
Steve Fink
Date:
October 22, 2002 20:47
Subject:
Re: [perl #17502] [PATCH] config/gen/makefiles/classes.in - compiler flag bug
Message ID:
20021023034727.GD2103@foxglove.digital-integrity.com
On Sep-22, Bruce Gray wrote:
> # New Ticket Created by  Bruce Gray 
> # Please include the string:  [perl #17502]
> # in the subject line of all future correspondence about this issue. 
> # <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=17502 >
> 
> 
> To specify a rule to build object files from C files,
> root.in correctly says:
> 	.c$(O) :
> 		$(CC) $(CFLAGS) ${cc_o_out}$@ -c $<
> but classes.in gets it wrong:
> 	.c$(O):
> 		$(CC) $(CFLAGS) ${cc_exe_out}$@ -c $<
> 
> The bug does not show up under platforms (like Unix) where the two
> flags are the same. It bit me on Win32, with the free Borland
> compiler.
> 
> This patch corrects the problem.

Thanks, applied.

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