Redian新闻
>
Help: failed to compile cxterm with cc
avatar
Help: failed to compile cxterm with cc# Unix - 噫吁兮,危乎高哉
r*n
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!
avatar
a*y
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?

avatar
r*n
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.

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。