avatar
l*y
1
I tried to compile a C file in Unix.
but the system always said:
gcc: No such file or directory
*** Exit 1
I guess i deleted it yesterday when i want to get more disc space.
Where can I find the gcc?
Thanks a lot.
avatar
l*l
2
You are so cool!
gcc is the base of your system if you want compile sth.
So maybe you have cc or c++, if not, you should copy a gcc from
the same UNIX OS, if you don't delete all package of it.
If you delete all package of gcc, use pkgadd ba!

【在 l*****y 的大作中提到】
: I tried to compile a C file in Unix.
: but the system always said:
: gcc: No such file or directory
: *** Exit 1
: I guess i deleted it yesterday when i want to get more disc space.
: Where can I find the gcc?
: Thanks a lot.

avatar
l*y
3
One can't delete gcc if she is not root or sys manager, right?
So my deleting any file won't be the reason of gcc unworkabe, right?
What's pkgadd?
Thanks a lot.

【在 l*l 的大作中提到】
: You are so cool!
: gcc is the base of your system if you want compile sth.
: So maybe you have cc or c++, if not, you should copy a gcc from
: the same UNIX OS, if you don't delete all package of it.
: If you delete all package of gcc, use pkgadd ba!

avatar
l*l
4
If you are not root, so every thing is ok.
You only delete your own C source file which Makefile needed.
I Guess you use OSF/1 UNIX, so you have no pkgadd( Solaris unix comes from BSD)
Last time, I think you remove system's gcc package. Why ask admin add your
quota ?

【在 l*****y 的大作中提到】
: One can't delete gcc if she is not root or sys manager, right?
: So my deleting any file won't be the reason of gcc unworkabe, right?
: What's pkgadd?
: Thanks a lot.

avatar
P*r
5

usually u can find gcc in /usr/local/bin
if gcc is not in there, maybe u can dl one and install it in
ur home directory,

【在 l*****y 的大作中提到】
: I tried to compile a C file in Unix.
: but the system always said:
: gcc: No such file or directory
: *** Exit 1
: I guess i deleted it yesterday when i want to get more disc space.
: Where can I find the gcc?
: Thanks a lot.

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