Re: compiling program

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux