avatar
c*t
2
gcc -I directory
As for the directory, you can check /usr/include, /usr/local/include
and see if the files you needed are there.

any

【在 p****m 的大作中提到】
: I downloaded gcc and gmake, but when I compile the program, it says "stdio.h
avatar
p*m
3
Thanks, the problem is that I didn't unpack the whole thing, but now the new
problem appears, it says "/var/tmp//ccaRSDw8.s:1089:Unknown pseudo-op: .
subsections_via_symbols", I don't know what this means.
avatar
c*t
4
You need to tell gcc the system include directory location.

【在 p****m 的大作中提到】
: Thanks, the problem is that I didn't unpack the whole thing, but now the new
: problem appears, it says "/var/tmp//ccaRSDw8.s:1089:Unknown pseudo-op: .
: subsections_via_symbols", I don't know what this means.

avatar
p*m
5
would you explain it in more details, how to configure gcc and is there any
flag I can put on when I run gcc? and usually, where can I find these h
files? Thanks

【在 c*****t 的大作中提到】
: You need to tell gcc the system include directory location.
avatar
c*t
6
You need to tell gcc the system include directory location.

【在 p****m 的大作中提到】
: would you explain it in more details, how to configure gcc and is there any
: flag I can put on when I run gcc? and usually, where can I find these h
: files? Thanks

avatar
p*m
7
can't find stdio.h in these two directories. do I have to copy from other
sources?
avatar
T*r
8
you should download xcode from apple's website. it will give you everything
you want.

.h

【在 p****m 的大作中提到】
: I downloaded gcc and gmake, but when I compile the program, it says "stdio.h
avatar
p*m
9
Thanks, the problem is that I didn't unpack the whole thing, but now the new
problem appears, it says "/var/tmp//ccaRSDw8.s:1089:Unknown pseudo-op: .
subsections_via_symbols", I don't know what this means.
avatar
p*m
10
my fault, I meant when I gmake another c program, it showed this error.

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