Subject: Re: c++ targets
To: Todd Vierling <tv@pobox.com>
From: Andrew Brown <atatat@atatdot.net>
List: tech-toolchain
Date: 09/18/1999 00:12:58
>: as you can see, the object files get made using the c++ compiler, but
>: the target (built from the objects, hence using the .o suffix rule)
>: uses only the c compiler, which lacks a rather useful library.
>: setting CC to c++ at the top of the makefile fixes the link, but
>: strikes me as a "nasty hack".
>
>It's actually what is necessary.  After all, how do you know what language
>was actually used when linking a random bunch of .o files?  (Remember that
>bsd.prog.mk can actually handle mixed languages, since it compiles to .o and
>then links everything.)

hmm...yes...well...i just thought there might be a way to tell the
build system that "this is all c++ so please act accordingly".
thanks.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."