I have to run make command using specific version gcc compiler (using gcc-4.1 because after that versions will give deprecated method warnings or errors).. Now, there are several versions of gcc installed in the server. Can anybody help, how can I run it (make command) to a specific version gcc compiler (means on gcc-4.1).
I have to run make command using specific version gcc compiler (using gcc-4.1 because
Share
You can do:
That will fill the $(CC) variable of your make. Also, you can write: