Bug 7665

Summary: Cannot specify a full path for ar when configuring gdb
Product: gdb Reporter: jrspwmjxeltd
Component: buildAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED OBSOLETE    
Severity: normal CC: gdb-prs, sergiodj
Priority: P3    
Version: 5.2   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description jrspwmjxeltd 2002-05-27 12:38:04 UTC
[Converted from Gnats 560]

I have an hp-ux 10.20 machine with various versions of ar on the path, so I wanted to be able to do

CC=cc CFLAGS='-O -Ae' AR=/bin/ar ./configure

when configuring gdb.  This doesn't work because the top-level Makefile.in overrides AR (and various other variables ith hardwired path-relative settings).  The generated Makefiles in the subdirectories (gdb etc) do contain the correct setting, but are overridden by the top-level Makefile when it invokes the subdirectory makes.

Release:
gdb-5.2

Environment:
HP-UX monty B.10.20 A 9000/730 970406112 two-user license
This GDB was configured as "hppa1.1-hp-hpux10.20".

How-To-Repeat:
Try to configure the top-level of gdb-5.2 with a specific setting for AR, e.g.

CC=cc CFLAGS='-O -Ae' AR=/bin/ar ./configure

and notice that the generated Makefile doesn't contain this setting.
Comment 1 Sergio Durigan Junior 2014-09-16 19:48:04 UTC
Bug does not exist anymore.  Closing as OBSOLETE.