* Compiling emacs 19.25 on DEC Alpha: What is "gcc -Olimit 2000"?
@ 1994-06-20 11:32 Wolfram Klaus
1994-06-20 14:00 ` Andrew Gallatin
1994-06-20 14:31 ` Kim Peter Nyberg
0 siblings, 2 replies; 3+ messages in thread
From: Wolfram Klaus @ 1994-06-20 11:32 UTC (permalink / raw)
I got the emacs-19.25 distribution, applied the alpha patches as
indicated and did a "configure alpha-dec-osf".
When I now do a *make*, gcc is started with the option "-Olimit 2000"
and chokes on that. It doesn't know the option -Olimit, ignores it and
thus cannot find the file 2000.
I cannot find an entry for this switch either in the man pages or
the info pages of gcc.
So: What is this switch supposed to do, why does configure add it to
the CFLAGS in all the makefiles??
--
Wolfram Klaus klaus@risc4.physik.fu-berlin.de
Freie Universitaet Berlin
FB Physik
14195 Berlin, Germany
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compiling emacs 19.25 on DEC Alpha: What is "gcc -Olimit 2000"?
1994-06-20 11:32 Compiling emacs 19.25 on DEC Alpha: What is "gcc -Olimit 2000"? Wolfram Klaus
@ 1994-06-20 14:00 ` Andrew Gallatin
1994-06-20 14:31 ` Kim Peter Nyberg
1 sibling, 0 replies; 3+ messages in thread
From: Andrew Gallatin @ 1994-06-20 14:00 UTC (permalink / raw)
In article <0RVPBY5W@math.fu-berlin.de>,
Wolfram Klaus <klaus@omega.physik.fu-berlin.de> wrote:
> I got the emacs-19.25 distribution, applied the alpha patches as
>indicated and did a "configure alpha-dec-osf".
>
> When I now do a *make*, gcc is started with the option "-Olimit 2000"
>and chokes on that. It doesn't know the option -Olimit, ignores it and
>thus cannot find the file 2000.
>
> I cannot find an entry for this switch either in the man pages or
>the info pages of gcc.
>
> So: What is this switch supposed to do, why does configure add it to
>the CFLAGS in all the makefiles??
This switch is used by DEC's cc compiler:
-Olimit num
Specify the maximum size, in basic blocks, of a routine that will be
optimized by the global optimizer. If a routine has more than this
number of basic blocks it will not be optimized and a message will be
printed. A flag specifying that the global optimizer is to be run (-O,
-O2, or -O3) must also be specified. The num is assumed to be a
decimal number. The default value for num is 500 basic blocks.
Gcc doesn't use this option.
The easiest thing to do would be to re-run configure & tell it
--with-gcc=no as one of the options. This will make it use DEC's
compiler.
I've heard of people having problems with the makefile using the DEC
supplied make. You might want to grab GNU's make & use that if you
have problems later on.
Drew
##############################################################################
# Andrew Gallatin, System Administrator #
# Institute of Statistics and Decision Sciences #
# Box 90251, Duke University, Durham, NC 27708-0251 #
# email: gallatin@isds.duke.edu #
##############################################################################
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Compiling emacs 19.25 on DEC Alpha: What is "gcc -Olimit 2000"?
1994-06-20 11:32 Compiling emacs 19.25 on DEC Alpha: What is "gcc -Olimit 2000"? Wolfram Klaus
1994-06-20 14:00 ` Andrew Gallatin
@ 1994-06-20 14:31 ` Kim Peter Nyberg
1 sibling, 0 replies; 3+ messages in thread
From: Kim Peter Nyberg @ 1994-06-20 14:31 UTC (permalink / raw)
In article <0RVPBY5W@math.fu-berlin.de> klaus@omega.physik.fu-berlin.de (Wolfram Klaus) writes:
> When I now do a *make*, gcc is started with the option "-Olimit 2000"
>and chokes on that. It doesn't know the option -Olimit, ignores it and
>thus cannot find the file 2000.
It's a cc-specific option.
Use cc instead of gcc (I got an internal error with gcc 2.5.8 when
I tried to compile 19.22, haven't tried it with 19.25 tho).
>Wolfram Klaus klaus@risc4.physik.fu-berlin.de
Kim
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1994-06-20 14:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-06-20 11:32 Compiling emacs 19.25 on DEC Alpha: What is "gcc -Olimit 2000"? Wolfram Klaus
1994-06-20 14:00 ` Andrew Gallatin
1994-06-20 14:31 ` Kim Peter Nyberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox