This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Why [cannot specify -o option with -c or -S]
- From: Raghu Ram Murthy <me_rams at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 27 Oct 2003 10:51:24 -0800 (PST)
- Subject: RE: Why [cannot specify -o option with -c or -S]
Thank you. I made some error while compiling. It might
be cause of some macros, but I am not sure but it is
working now. It is accepting both -c and -o options.
But I don't know why that error message is displayed.
Because now it is accepting both -c -o options and
earlier it said both cannot be occured. Could u please
say why?
--- "HOLTZ, CORBIN L. (JSC-ER) (LM)"
<corbin.l.holtz1@jsc.nasa.gov> wrote:
> Look very carefully at the actual compile line ("gcc
> ....") output during
> compilation (or repost it for everyone to look at).
> I have seen this many
> times, and it's always an error in the makefile.
> Either the source files
> aren't being put into the compile line or something
> else like that. Make
> sure to check for typos in your macros/rules.
>
> -----Original Message-----
> From: Raghu Ram Murthy [mailto:me_rams@yahoo.com]
> Sent: Monday, October 27, 2003 12:24 PM
> To: gcc-help@gcc.gnu.org
> Subject: Why [cannot specify -o option with -c or
> -S]
>
>
> Hello all,
> Why we can't specify -o option with -c or -S option.
> I
> saw in some Makefiles those are generated by
> configure
> script, containing both options. And while I am
> running make it is giving this error.
>
> Please help mw how to rectify the error without
> changing Makefile, because there are more than 100
> makefiles. I am ready to change the configure
> script.
> Please specify where to change.
>
> Regards
>
>
> =====
> -----------------------------------------
> P.Raghu Ram Murthy, M-tech (Computer Science),
> Room No - 245,
> Brahmaputra Hostel,
> Indian Institute of Technology Madras,
> Chennai - 36.
> ------------------------------------------
>
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site
> design software
> http://sitebuilder.yahoo.com
=====
-----------------------------------------
P.Raghu Ram Murthy, M-tech (Computer Science),
Room No - 245,
Brahmaputra Hostel,
Indian Institute of Technology Madras,
Chennai - 36.
Mobile: (0) 98402 81944
------------------------------------------
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com