Post subject: What's the syntax to compile C code with GNU?
Posted: Thu 02-24-2005 4:11PM
Captain
Joined: Tue 02-24-2004 10:30PM Posts: 150
Source: TJ South
I have the source code for a program coded in C and I'm trying to compile it with the GNU compiler on the gpunix machines. Can someone help me out with the syntax for how to pass the source to the C compiler?
This how I learned to compile c++ code in CS 54.
g++ -W -Wall -s -pedantic-errors filename.cpp -o executableName
Users browsing this forum: No registered users and 1 guest
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum