I have tried to install gbd-4.18 on my hp b-180,
without success. I am trying to do the "simple install".
I am using the "native" HP C compiler.
( ll `which cc` gives: /usr/bin/cc -> /opt/ansic/bin/cc )

Here is what I have tried:
1) gunzip < gdb-4_18_tar.gz | tar xvf -
(creates directory gdb-4.18)
2) cd gdb-4.18
3a) ./configure
 b) make

Fails on error message:
        cc -c -g  -D__HP_CURSES   -I. -I. -I./config -DHAVE_CONFIG_H 
-I./../include/opcode -I./../readline/..  -I../bfd -I./../bfd  -I./../include  
-I../intl -I./../intl -I./tui   blockframe.c
cc: "defs.h", line 990: error 1709: Long double is an ANSI feature.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
------------------------------------------------------------------------------

Alternately, I tried this:
(after deleting the gdb-4.18 directory and repeating
steps 1 & 2 above.)
3a) setenv CFLAGS -Aa (to get HP ANSI C complier)
 b) ./configure
 c) make

This one fails on error message:
          cc -c -DHAVE_CONFIG_H -Aa -I. -I./../include   fdmatch.c -o pic/fdmatch.o
        cc -c -DHAVE_CONFIG_H -Aa -I. -I./../include  fdmatch.c
cc: "fdmatch.c", line 59: error 1574: Unknown size for "sbuf1".
cc: "fdmatch.c", line 60: error 1574: Unknown size for "sbuf2".
cc: "fdmatch.c", line 64: error 1530: Undefined struct or union.
cc: "fdmatch.c", line 64: error 1530: Undefined struct or union.
cc: "fdmatch.c", line 65: error 1530: Undefined struct or union.
cc: "fdmatch.c", line 65: error 1530: Undefined struct or union.
cc: "fdmatch.c", line 62: error 1563: Expression in if must be scalar.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
------------------------------------------------------------------------------

Note, configure is using this H/W definition:
        hppa1.1-hp-hpux10.20
Thanks for your attention and suggestions on this matter.

Ken Walker, P.E.
MSC.Software Corp.              e-mail: [EMAIL PROTECTED]
1000 Main Street, #190          Phone:  817.424.5590  x-53
Grapevine, TX   76051           FAX:    817.251.8094
----------------------------------------------------------------
       "Quality is not an act, its a habit." - Aristotle
                     Visit MSC's Web Sites: 
       www.mscsoftware.com   -AND-   www.engineering-e.com        
----------------------------------------------------------------

Reply via email to