On Thu, 5 Jun 2003, Aly Dharshi wrote: > > Ah ! okay I see what you are saying, I guess that I tried exporting my > CC and CCC environment variables to icc but a make aly still insists on > using g++ (no makefile case), will have to find a way to build a > makefile with icc.
I see this is more of a Makefile question. Here is my lazy Makefile which works:. Actually i'm not sure why your CC enviro variable isn't working. Do you have a compile line in your Makefile? i.e. if i set CXX to icc and comment out my Makefile CXX definition it will work the way you want. #--------------------------------start--- CXX = icc #CXX = g++ INCDIR = -Iincludes #CFLAGS = CFLAGS = -O3 LD = $(CXX) -i_dynamic #LD = $(CXX) OBJ = cellsim.o generic.o grid.o integrate.o kinetics.o location.o par ser.o print.o reaction.o species.o conservation.o input.o BINDIR = ../bin LFLAGS = .cpp.o: $(CXX) $(CFLAGS) $(INCDIR) -c $< cellsim: $(OBJ) $(LD) $(CFLAGS) $(LFLAGS) $(OBJ) -o $(BINDIR)/cellsim depend: makedepend $(INCDIR) *.cpp *.h -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list