Article View: gnu.emacs.bug
Article #87701Wrong CFLAGS setting when building emacs 19.25 on hppa1.1-hp-hpux
From: Jochen Voss
Date: Fri, 02 Sep 1994 14:53
Date: Fri, 02 Sep 1994 14:53
41 lines
2245 bytes
2245 bytes
I tried to build emacs version 19.25 on a HP9000/700 running HP-UX
9.01 (the configuration name is hppa1.1-hp-hpux9). The C compiler in
use was version 2.6.0 of gcc; it was compiled using the same
configuration name and the option "--with-gnu-as". The gnu assembler
says "GNU assembler version 2.3 (hppa1.1-hp-hpux), using BFD version
2.4" when called as "as -version".
The compilation (in a directory different from the source directory)
with the commands
bash ../emacs-19.25/configure hppa1.1-hp-hpux9
make
aborts with the error message:
Producing `src/paths.h' from `src/paths.h.in'.
cd lib-src; make all \
CC='gcc' CFLAGS='-g -O ' CPPFLAGS='' \
LDFLAGS='' MAKE='make'
gcc -o test-distrib /users/soft/home/gnu/emacs-19.25/lib-src/test-distrib.c
./test-distrib /users/soft/home/gnu/emacs-19.25/lib-src/testfile
gcc -Wp,-H200000 -Demacs -DHAVE_CONFIG_H -I. -I../src -I/users/soft/home/gnu/emacs-19.25/lib-src -I/users/soft/home/gnu/emacs-19.25/lib-src/../src -g -O /users/soft/home/gnu/emacs-19.25/lib-src/make-path.c -o make-path
cc1: Invalid option `-Wp,-H200000'
*** Error code 1
Stop.
*** Error code 1
Stop.
The setting of these options comes from the lines
/* Make room for enough symbols, so dispnew.c does not fail. */
#define C_SWITCH_SYSTEM -Wp,-H200000
of the file src/s/hpux9.h, which, in my opinion, should be
conditionalized to reflect the choice of the C compiler.
Jochen.
Technical Details
Message-ID:
<9409020924.aa06596@io.mathematik.uni-kl.de>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!mathematik.uni-kl.DE!vossShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,a3acb8f57f1e8dc0,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-09-02 09:32:38 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!cis.ohio-state.edu!mathematik.uni-kl.DE!voss From: voss@mathematik.uni-kl.DE (Jochen Voss) Newsgroups: gnu.emacs.bug Subject: Wrong CFLAGS setting when building emacs 19.25 on hppa1.1-hp-hpux Date: 2 Sep 1994 10:53:16 -0400 Organization: GNUs Not Usenet Lines: 41 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <9409020924.aa06596@io.mathematik.uni-kl.de>