* Re: HPUX `make'
@ 2002-11-02 14:11 John David Anglin
0 siblings, 0 replies; 4+ messages in thread
From: John David Anglin @ 2002-11-02 14:11 UTC (permalink / raw)
To: gcc, gdb, drow
> I didn't get terribly far after that, either. I'm using the installed
> compiler, which I believe is the ANSI rather than bundled one; at least the
> documentation says so and -Aa / -Ae work. With cc:
> cc: "../../gdb/intl/gettextP.h", line 49: error 1000: Unexpected symbol: "nls_uint32".
> cc: "../../gdb/intl/gettextP.h", line 50: error 1584: Inconsistent type declaration: "SWAP".
I usually build with gcc but this is the configure command that I use:
../src/configure --host=hppa2.0w-hp-hpux11.00 --prefix=/opt/gnu --with-included-regex --disable-nls
Disabling NLS, should avoid the above error.
Dave
--
J. David Anglin dave.anglin@nrc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6605)
^ permalink raw reply [flat|nested] 4+ messages in thread
* HPUX `make'
@ 2002-11-02 11:20 Daniel Jacobowitz
2002-11-02 11:44 ` Andrew Cagney
2002-11-02 16:29 ` Joel Brobecker
0 siblings, 2 replies; 4+ messages in thread
From: Daniel Jacobowitz @ 2002-11-02 11:20 UTC (permalink / raw)
To: gcc, gdb
Joel, you said you'd built GDB 5.3 on HP/UX recently, right? Were you using
GNU tools?
I just tried to build GDB on an HP/UX (11i I think) system for the first
time. It appears that /usr/bin/make can't handle at least two things in the
makefiles: $(VAR): targets, and "-include". I ended up having to build GNU make.
I didn't get terribly far after that, either. I'm using the installed
compiler, which I believe is the ANSI rather than bundled one; at least the
documentation says so and -Aa / -Ae work. With cc:
cc: "../../gdb/intl/gettextP.h", line 49: error 1000: Unexpected symbol: "nls_uint32".
cc: "../../gdb/intl/gettextP.h", line 50: error 1584: Inconsistent type declaration: "SWAP".
Some limitation in the accepted syntax for "inline", I think.
I reconfigured forcing -Aa, and it did a little better, but bombed out in
libiberty not knowing how big a 'struct stat' was; some definition not
getting picked up...
I restarted using "cc -Aa -D_HPUX_SOURCE", based on a vague memory from this
list, and got much further; it went until <sys/core.h> is included in BFD.
That file apparently requires -Ae. Similar problems in GDB, which uses long
long. So I ran "make CC='cc -Ae -D_HPUX_SOURCE', after configuring with
-Aa, and then I got out a working GDB binary.
So: how should one configure on this system to use the native tools, and can
we document it? Any idea why configuring with -Ae didn't work?
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-11-03 0:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-02 14:11 HPUX `make' John David Anglin
-- strict thread matches above, loose matches on Subject: below --
2002-11-02 11:20 Daniel Jacobowitz
2002-11-02 11:44 ` Andrew Cagney
2002-11-02 16:29 ` Joel Brobecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox