This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compiling program


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]