This is the mail archive of the gcc@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]

Re: cannot specify -o with -c or -S


On Sun, Nov 08, 1998 at 04:47:43AM -0800, David B. Rees wrote:
> On 07-Nov-98 Peter Dyer wrote:
> > I get the following when trying to compile with egcs1.1b, latest kernel and
> > binutils:-
> > 
> > gcc: cannot specify -o with -c or -S and multiple compilations
> > 
> > I have searched the archives but have not found any other posts.  Is there an
> > easy solution
> 
> In the past, I have found this to be a problem with imake(xmkmf), and the later
> compilers.  I don't recall the exact solution, but it involves editing the
> imake config files a bit.  Search dejanews for a solution.

Its really a bug in imake ;) A quick fix is to add

#define i386	# if you are on intel
#define linux

to the top of your image.cf

This should be a FAQ ;) I get one of these reports every week with pgcc :(

      -----==-                                              |
      ----==-- _                                            |
      ---==---(_)__  __ ____  __       Marc Lehmann       +--
      --==---/ / _ \/ // /\ \/ /       pcg@goof.com       |e|
      -=====/_/_//_/\_,_/ /_/\_\                          --+
    The choice of a GNU generation                        |
                                                          |


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