From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,efa94e864c4ee248 X-Google-Attributes: gid103b8b,public X-Google-Thread: fee84,efa94e864c4ee248 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-20 07:01:47 PST Path: nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!cs.utexas.edu!convex!news.duke.edu!gallatin From: gallatin@isds.duke.edu (Andrew Gallatin) Newsgroups: comp.unix.osf.osf1,gnu.emacs.help Subject: Re: Compiling emacs 19.25 on DEC Alpha: What is "gcc -Olimit 2000"? Date: 20 Jun 1994 14:00:39 GMT Organization: Duke University, Durham, N.C. Message-ID: <2u47e7$nt5@news.duke.edu> References: <0RVPBY5W@math.fu-berlin.de> NNTP-Posting-Host: davinci.isds.duke.edu Cc: Xref: nntp.gmd.de comp.unix.osf.osf1:3877 gnu.emacs.help:16203 In article <0RVPBY5W@math.fu-berlin.de>, Wolfram Klaus 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 # ##############################################################################