Hi, I am using Autotools (Autoconf, Automake, Libtools): Currently, I have CCLD set to $(CC). Using AC_SUBST, all Makefile's will contain this variable. Config: CC=gcc CCLD="$(CC)" AC_SUBST(CCLD) Generated Makefiles: CCLD = gcc The problem, however, is that I use different compilers for certain directories. So, for example: $ cd dir1/ $ gcc-4.1.2 –c –o helloworld.o helloworld.c $ libtool --tag=CC —mode=link $(CCLD) -o helloworld.out helloworld.o $ cd dir2/ $ gcc-3.3.6 –c –o helloworld.o helloworld.c $ libtool —tag=CC —mode=link $(CCLD) -o helloworld.out helloworld.o Then, the same $(CCLD) linker is being used for both directories, but I need to use the appropriate linkers for each directory, i.e. gcc-4.1.2 and gcc-3.3.6. Then, my question is: how can I set CCLD appropriately for different Makefiles so autoconf will generate the appropriate Libtool link rules for my Makefiles? Or any other suggestions? Thanks, Justin _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf