discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiling c++ source files


From: Alexander Malmberg
Subject: Re: compiling c++ source files
Date: Sun, 07 Dec 2003 15:37:46 +0100

Nicola Pero wrote:
[snip]
> An alternative which also works is the following:
> 
> ====
> 
> include $(GNUSTEP_MAKEFILES)/common.make
> 
> CC=g++
> 
> TOOL_NAME = Program
> Program_CC_FILES = main.cc
> 
> include $(GNUSTEP_MAKEFILES)/tool.make
> 
> ====

This only works if g++ happens to be the c++-compiler equivalent of
gnustep-make's CC. This isn't always the case. (It wouldn't work on my
system; I have many versions of gcc installed, so I really need projects
to honor my CC settings.)

- Alexander Malmberg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]