由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - gcc in mac OSX
相关主题
A question about symbolic linkA simple question!
where is gcc?[转载] 问一个问题
[转载] UNIX下的一个奇怪问题!Can't find library ncurses when I compile cxterm
普通用户能装gcc么?Apache中如何加入用户和口令?
[转载] Help!How to set directory for #include <**.h>Help!
how to download a dir and its files under ftp请问显示可用打印机的命令
FTP Helpa question about using ftp dl music file
Is there any software can D/L a whole directory?文件的LINK到底有什么用处?
相关话题的讨论汇总
话题: gcc话题: gmake话题: directory话题: osx话题: include
进入Unix版参与讨论
1 (共1页)
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.
1 (共1页)
进入Unix版参与讨论
相关主题
文件的LINK到底有什么用处?[转载] Help!How to set directory for #include <**.h>
how to enter a directory like "..a pub" ? Thankshow to download a dir and its files under ftp
为什么Netscape启动以后就自动关闭?FTP Help
what is the "core" in directory.Is there any software can D/L a whole directory?
A question about symbolic linkA simple question!
where is gcc?[转载] 问一个问题
[转载] UNIX下的一个奇怪问题!Can't find library ncurses when I compile cxterm
普通用户能装gcc么?Apache中如何加入用户和口令?
相关话题的讨论汇总
话题: gcc话题: gmake话题: directory话题: osx话题: include