On Jul 24, 2000, Akim Demaille <[EMAIL PROTECTED]> wrote:
> Sounds like a good idea, but anyway I think it's completely useless
> without support from Automake.
Not completely useless. It means additional work for the maintainer,
but it's not that hard.
foo.o: foo.cc foo.$(CXX_EXT)
$(CXX) $(CXXFLAGS) -c foo.$(CXX_EXT)
.cc.cpp:
echo '#include "$<"' > $@
.cc.cxx:
echo '#include "$<"' > $@
.cc.C:
echo '#include "$<"' > $@
> Do all the compiler require an input file name? Can't we use stdin +
> #line?
I don't think we can expect compilers to support reading from stdin.
GCC, for one, will refuse to read from stdin unless it's just
preprocessing.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
- Re: 26-ac-ext (Was: aclang.m4 problem (Cygwi... Akim Demaille
- Re: aclang.m4 problem (Cygwin + VC++) Lassi A. Tuura
- Re: aclang.m4 problem (Cygwin + VC++) Martin Wilck
- Re: aclang.m4 problem (Cygwin + VC++) Lassi A. Tuura
- Re: aclang.m4 problem (Cygwin + VC++) Martin Wilck
- Re: aclang.m4 problem (Cygwin + VC++) Lassi A. Tuura
- Re: aclang.m4 problem (Cygwin + VC++) Russ Allbery
- Re: aclang.m4 problem (Cygwin + VC++) Mo DeJong
- Re: aclang.m4 problem (Cygwin + VC++) Peter Eisentraut
- Re: aclang.m4 problem (Cygwin + VC++) Akim Demaille
- Re: aclang.m4 problem (Cygwin + VC++) Alexandre Oliva
- Re: aclang.m4 problem (Cygwin + VC++) Akim Demaille
- Re: aclang.m4 problem (Cygwin + VC++) Alexandre Oliva
- Re: aclang.m4 problem (Cygwin + VC++) Akim Demaille
- Re: aclang.m4 problem (Cygwin + VC++) Alexandre Oliva
- Re: aclang.m4 problem (Cygwin + VC++) Martin Wilck
- Re: aclang.m4 problem (Cygwin + VC++) Alexandre Oliva
- Re: aclang.m4 problem (Cygwin + VC++) Martin Wilck
- Re: aclang.m4 problem (Cygwin + VC++) Paul D. Smith
- Re: aclang.m4 problem (Cygwin + VC++) Martin Wilck
- Re: aclang.m4 problem (Cygwin + VC++) Akim Demaille
