p****m 发帖数: 19 | 1 I downloaded gcc and gmake, but when I compile the program, it says "stdio.h |
c*****t 发帖数: 1879 | 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
|
p****m 发帖数: 19 | 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. |
c*****t 发帖数: 1879 | 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.
|
p****m 发帖数: 19 | 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.
|
c*****t 发帖数: 1879 | 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
|
p****m 发帖数: 19 | 7 can't find stdio.h in these two directories. do I have to copy from other
sources? |
T********r 发帖数: 6210 | 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
|
p****m 发帖数: 19 | 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. |
p****m 发帖数: 19 | 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.
|