* cannot specify -o with -c or -S
@ 1998-11-07 18:30 Peter Dyer
1998-11-08 4:54 ` David B. Rees
0 siblings, 1 reply; 5+ messages in thread
From: Peter Dyer @ 1998-11-07 18:30 UTC (permalink / raw)
To: egcs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 891 bytes --]
I get the following when trying to compile with
egcs1.1b, latest kernel and binutils:-
Â
make[1]: Entering directory
`/usr/src/redhat/BUILD/procps-1.2.9/xproc' gcc -O2 -m486 -fno-strength-reduce
-fno-rtti -O -O4 -Wall   -I/usr/X11R6/include -I/includeÂ
-Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
-D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCEÂ Â -DFUNCPROTO=15
-DNARROWPROTOÂ -DOSMAJORVERSION=2 -DOSMINORVERSION=1Â Â -c
XConsole.c -o XConsole.o gcc: cannot specify -o with -c or -S and multiple
compilations make[1]: *** [XConsole.o] Error 1 make[1]: Leaving directory
`/usr/src/redhat/BUILD/procps-1.2.9/xproc' make: *** [build_xproc] Error
2 Bad exit status from /var/tmp/rpm-tmp.45460 (%build)
I have searched the archives but have not found
any other posts. Is there an easy solution
Â
Regards
Â
Peter Dyer
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: cannot specify -o with -c or -S
1998-11-07 18:30 cannot specify -o with -c or -S Peter Dyer
@ 1998-11-08 4:54 ` David B. Rees
1998-11-08 14:07 ` Marc Lehmann
0 siblings, 1 reply; 5+ messages in thread
From: David B. Rees @ 1998-11-08 4:54 UTC (permalink / raw)
To: Peter Dyer; +Cc: egcs
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.
-Dave
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cannot specify -o with -c or -S
1998-11-08 4:54 ` David B. Rees
@ 1998-11-08 14:07 ` Marc Lehmann
0 siblings, 0 replies; 5+ messages in thread
From: Marc Lehmann @ 1998-11-08 14:07 UTC (permalink / raw)
To: egcs
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 |
|
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: cannot specify -o with -c or -S
1998-11-08 2:10 Peter Dyer
@ 1998-11-08 11:04 ` Gerald Pfeifer
0 siblings, 0 replies; 5+ messages in thread
From: Gerald Pfeifer @ 1998-11-08 11:04 UTC (permalink / raw)
To: egcs, egcs-patches; +Cc: Peter Dyer
On Sun, 8 Nov 1998, Peter Dyer wrote:
> 1 ~23 lines Text/PLAIN
> 2 ~42 lines Text/HTML
Peter, please do not send HTML messages to the egcs lists. (With regard to
your questions, I believe you can simply omit the "-o filename.o".)
egcs-patches, I have installed the patch below.
Gerald
Index: lists.html
===================================================================
RCS file: /egcs/carton/cvsfiles/wwwdocs/htdocs/lists.html,v
retrieving revision 1.7
diff -r1.7 lists.html
36a37
> Please refrain from sending messages in HTML, RTF or similiar formats.
83c84
< <p><i>Last modified: July 17, 1998</i>
---
> <p><i>Last modified: November 8, 1998</i>
^ permalink raw reply [flat|nested] 5+ messages in thread
* cannot specify -o with -c or -S
@ 1998-11-08 2:10 Peter Dyer
1998-11-08 11:04 ` Gerald Pfeifer
0 siblings, 1 reply; 5+ messages in thread
From: Peter Dyer @ 1998-11-08 2:10 UTC (permalink / raw)
To: egcs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 901 bytes --]
Â
Â
I get the following when trying to compile with
egcs1.1b, latest kernel and binutils:-
Â
make[1]: Entering directory
`/usr/src/redhat/BUILD/procps-1.2.9/xproc' gcc -O2 -m486 -fno-strength-reduce
-fno-rtti -O -O4 -Wall   -I/usr/X11R6/include -I/includeÂ
-Dlinux LinuxMachineDefines -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE
-D_XOPEN_SOURCE=500L -D_BSD_SOURCE -D_SVID_SOURCEÂ Â -DFUNCPROTO=15
-DNARROWPROTOÂ -DOSMAJORVERSION=2 -DOSMINORVERSION=1Â Â -c
XConsole.c -o XConsole.o gcc: cannot specify -o with -c or -S and multiple
compilations make[1]: *** [XConsole.o] Error 1 make[1]: Leaving directory
`/usr/src/redhat/BUILD/procps-1.2.9/xproc' make: *** [build_xproc] Error
2 Bad exit status from /var/tmp/rpm-tmp.45460 (%build)
I have searched the archives but have not found
any other posts. Is there an easy solution
Â
Regards
Â
Peter Dyer
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1998-11-08 14:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-11-07 18:30 cannot specify -o with -c or -S Peter Dyer
1998-11-08 4:54 ` David B. Rees
1998-11-08 14:07 ` Marc Lehmann
1998-11-08 2:10 Peter Dyer
1998-11-08 11:04 ` Gerald Pfeifer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).