r****n 发帖数: 2 | 1 The automatically generated Makefile use cc as compiler. But
the cc(/usr/ucb/cc)
in my workstation(Sun Solaris 2.6) seems to be corrupted. It
only has 3487 bytes
in size and when I type "cc" in the command line, it reports
software package not installed. So I'm think of replacing cc
with gcc. But there
seems no way to modify Makefile since it's automatically
generated by imake. Now
the problem is how to modify Imakefile to achieve this goal?
Thanks a lot! | a****y 发帖数: 1035 | 2 In the Imakefile should has sth like this, not sure the exactly syntax
CC = cc
Just change the cc to gcc.
【在 r****n 的大作中提到】 : The automatically generated Makefile use cc as compiler. But : the cc(/usr/ucb/cc) : in my workstation(Sun Solaris 2.6) seems to be corrupted. It : only has 3487 bytes : in size and when I type "cc" in the command line, it reports : software package not installed. So I'm think of replacing cc : with gcc. But there : seems no way to modify Makefile since it's automatically : generated by imake. Now : the problem is how to modify Imakefile to achieve this goal?
| r****n 发帖数: 2 | 3
Unfortunately there isn't. Instead, it's in the Makefile. So
it's not modifiable.
【在 a****y 的大作中提到】 : In the Imakefile should has sth like this, not sure the exactly syntax : CC = cc : Just change the cc to gcc.
|
|