Re: [AD] Pass CC on the command line

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Eric Botcazou wrote:

This patch makes it possible to pass CC on the command line to make, in order to use another compiler than 'gcc', for all GCC-based ports. This is useful when you want to test both GCC 2.x and GCC 3.x for example.

actually you'd have to edit the makefile. :-) quoting the make manual section 6.5: If you'd like a variable to be set to a value only if it's not already set, then you can use the shorthand operator `?=' instead of `='. These two settings of the variable `FOO' are identical (see section The |origin| Function <cid:part1.08070608.06030700@domain.hid>):

 	

FOO ?= bar
and

 	

ifeq ($(origin FOO), undefined)
FOO = bar
endif

PS! i realize i'm too darn impatient, you have to excuse me, but have you had a chance to look at cpptest2.diff.gz yet?

--
One OS to rule them all,
one OS to find them,
one OS to bring them all
and in the darkness bind them.







Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/