Thread
:
How to compile a c program in freeBSD
View Single Post
#
5
(
permalink
)
03-24-2008, 09:01 PM
Tux-Idiot
Member
User
Join Date: Mar 2008
My distro: Debian, Slackware, LFS
Posts: 83
Rep Power:
1
echo "main() {}" > dummy.c && cc dummy.c -o dummy && ./dummy && rm -f dummy && echo $?
BSD's use csh (netbsd) and ksh (obsd, fbsd, nbsd) and the above command is for bash.
Tux-Idiot
View Public Profile
Send a private message to Tux-Idiot
Find all posts by Tux-Idiot