Bug 7665 - Cannot specify a full path for ar when configuring gdb
Summary: Cannot specify a full path for ar when configuring gdb
Status: RESOLVED OBSOLETE
Alias: None
Product: gdb
Classification: Unclassified
Component: build (show other bugs)
Version: 5.2
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-27 05:38 UTC by jrspwmjxeltd
Modified: 2014-09-16 19:48 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.