ld: mod, file was built for unsupported file format which is not the architecture being linked (x86_64)

FX fxcoudert@gmail.com
Sun Oct 10 08:52:00 GMT 2010


> $(TARGET): $(OBJFILES) $(MODFILES)
> 	$(COMPILER) -o $(TARGET) $(OBJFILES) $(MODFILES) $(LIB_FLAGS)
> $(LD_FLAGS) $(LD_DEBUGGING_FLAGS)

You don't give your definition for MODFILES, but if it's a list of .mod files, you shouldn't put it there.

FX



More information about the Fortran mailing list