boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - can't run a simple c code
相关主题
awk question
FreeBSD: Can't kill child process!
interview question
GCC 和 G++ 的区别在什么地方?
how come this stupid question?
Questions about Makefile
[转载] 请教三个关于emacs和perl的问题
A tough compiler problem
[转载] molscript and grasp
where is libstdc++
相关话题的讨论汇总
话题: simple话题: gcc话题: freebsd话题: run话题: excute
进入Unix版参与讨论
1 (共1页)
y***g
发帖数: 6
1
just compiled a simple c program to check gcc on my freebsd, actually it is
just a printf
after gcc xxx.c then try to excute the a.out, I was told
a.out: command not found.
help.
s**i
发帖数: 30
2
Did you set your PATH with the directory that have a.out?

【在 y***g 的大作中提到】
: just compiled a simple c program to check gcc on my freebsd, actually it is
: just a printf
: after gcc xxx.c then try to excute the a.out, I was told
: a.out: command not found.
: help.

w*******g
发帖数: 99
3
Did you try ./a.out? It should work...

【在 y***g 的大作中提到】
: just compiled a simple c program to check gcc on my freebsd, actually it is
: just a printf
: after gcc xxx.c then try to excute the a.out, I was told
: a.out: command not found.
: help.

m**h
发帖数: 207
4
what the difference of cc and gcc in freebsd, which one is better?

is

【在 w*******g 的大作中提到】
: Did you try ./a.out? It should work...
1 (共1页)
进入Unix版参与讨论
相关主题
where is libstdc++
GCC的编译?
漆血柜求
[转载] ask a question.
GCC 一问
Help: convert // to /* */ in C code?
about compiling new glibc/gcc in fc14 (转载)
help needed-install gcc/g++ 4.7 on ubuntu 14.04
[转载] Perl高手请进
Some simple Unix questions
相关话题的讨论汇总
话题: simple话题: gcc话题: freebsd话题: run话题: excute