This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Template


compiling that way a template example the compiler compiles the whole
program not only the main

>g++ -o testCounter.o -c -frepo -fno-implicit-templates testCounter.cc

>g++ -o testCounter testCounter.o
>collect: recompiling testCounter.cc
>collect: relinking

i'm trying to compile with a makefile to compile only those files that
were modified!

Any idea how to do this with a makefile??

cafe








Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]