This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: compiling program
- From: Lionel B <lionelbuk at yahoo dot co dot uk>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 28 Sep 2007 09:59:20 +0000 (UTC)
- Subject: Re: compiling program
- References: <12921032.post@talk.nabble.com>
On Thu, 27 Sep 2007 06:14:59 -0700, minar wrote:
> Hi,
>
> cc -e MQStart -bE:MYFORMAT.exp -bM:SRE -o /var/mqm/exits/MYFORMAT \
> MYFORMAT.c -I/usr/mqm/inc -L/usr/mqm/lib -lmqmzf
>
> I need to compile the specified program using gcc.Thus,what changes
> should I have to make to above command to compile the program using gcc.
The -L, -I and -l options probably mean the same thing to gcc as to
whatever "cc" is - but since you haven't said what system/compiler the
above line is for, no-one can be sure.
Otherwise, RTFM:
http://gcc.gnu.org/onlinedocs/gcc-4.2.1/gcc/Invoking-GCC.html#Invoking-GCC
--
Lionel B