From: gallatin@isds.duke.edu (Andrew Gallatin)
Subject: Re: Compiling emacs 19.25 on DEC Alpha: What is "gcc -Olimit 2000"?
Date: 20 Jun 1994 14:00:39 GMT [thread overview]
Message-ID: <2u47e7$nt5@news.duke.edu> (raw)
In-Reply-To: 0RVPBY5W@math.fu-berlin.de
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 #
##############################################################################
next prev parent reply other threads:[~1994-06-20 14:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
1994-06-20 14:31 ` Kim Peter Nyberg
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox