* [PATCH RFA] tweak expect EXP_LIB_SPEC to use libdir.
@ 2003-10-02 4:40 cgd
2003-10-02 4:53 ` DJ Delorie
0 siblings, 1 reply; 6+ messages in thread
From: cgd @ 2003-10-02 4:40 UTC (permalink / raw)
To: dj; +Cc: binutils, gdb-patches
Problem found on mips64-linux. On that system type (with default
compile flags), one configures with --prefix=/usr --libdir=/usr/lib32,
since the default ABI is n32 and you want the n32 libs to go in the
right place.
(exec_prefix not specially defined, so it's ${prefix}. By default,
libdir is ${exec_prefix}/lib.)
expect would install its lib under ${libdir} as expected, but would
try to link the expect-to-be-installed against the expect library
under ${exec_prefix}/lib.
Once that's fixed, it works quite nicely. 8-)
cgd
--
2003-10-01 Chris Demetriou <cgd@broadcom.com>
* configure.in (EXP_LIB_SPEC): Use ${libdir} rather than
${exec_prefix}/lib.
* configure: Regenerate.
Index: configure.in
===================================================================
RCS file: /cvs/src/src/expect/configure.in,v
retrieving revision 1.7
diff -u -p -r1.7 configure.in
--- configure.in 29 Jan 2003 23:46:22 -0000 1.7
+++ configure.in 2 Oct 2003 04:22:24 -0000
@@ -1165,7 +1165,7 @@ if test $ac_cv_sys_long_file_names = no;
fi
EXP_BUILD_LIB_SPEC="-L`pwd` -lexpect${EXP_LIB_VERSION}"
-EXP_LIB_SPEC="-L\${exec_prefix}/lib -lexpect${EXP_LIB_VERSION}"
+EXP_LIB_SPEC="-L\${libdir} -lexpect${EXP_LIB_VERSION}"
EXP_UNSHARED_LIB_FILE=libexpect${EXP_LIB_VERSION}.a
EXP_BUILD_LIB_SPEC=${EXP_UNSHARED_LIB_FILE}
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: [PATCH RFA] tweak expect EXP_LIB_SPEC to use libdir. 2003-10-02 4:40 [PATCH RFA] tweak expect EXP_LIB_SPEC to use libdir cgd @ 2003-10-02 4:53 ` DJ Delorie [not found] ` <mailpost.1065070425.24076@news-sj1-1> 0 siblings, 1 reply; 6+ messages in thread From: DJ Delorie @ 2003-10-02 4:53 UTC (permalink / raw) To: cgd; +Cc: binutils, gdb-patches > 2003-10-01 Chris Demetriou <cgd@broadcom.com> > > * configure.in (EXP_LIB_SPEC): Use ${libdir} rather than > ${exec_prefix}/lib. > * configure: Regenerate. Looks good to me. Tested on other platforms too? ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailpost.1065070425.24076@news-sj1-1>]
* Re: [PATCH RFA] tweak expect EXP_LIB_SPEC to use libdir. [not found] ` <mailpost.1065070425.24076@news-sj1-1> @ 2003-10-02 5:25 ` cgd 2003-10-02 5:29 ` cgd [not found] ` <mailpost.1065072338.24856@news-sj1-1> 0 siblings, 2 replies; 6+ messages in thread From: cgd @ 2003-10-02 5:25 UTC (permalink / raw) To: dj; +Cc: binutils, gdb-patches At Thu, 2 Oct 2003 04:53:45 +0000 (UTC), "DJ Delorie" wrote: > > 2003-10-01 Chris Demetriou <cgd@broadcom.com> > > > > * configure.in (EXP_LIB_SPEC): Use ${libdir} rather than > > ${exec_prefix}/lib. > > * configure: Regenerate. > > Looks good to me. Tested on other platforms too? I think i may have had it in some x86-linux builds, but I can't say for sure. I was justabout to start a host=x86-linux target=mipsisa64-elf build/check, so i've thrown it in there. Since that's still linux, i've just started a host=sparc-solaris target=mips-elf build/check too. Assuming those go fine, OK to apply? chris ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH RFA] tweak expect EXP_LIB_SPEC to use libdir. 2003-10-02 5:25 ` cgd @ 2003-10-02 5:29 ` cgd [not found] ` <mailpost.1065072338.24856@news-sj1-1> 1 sibling, 0 replies; 6+ messages in thread From: cgd @ 2003-10-02 5:29 UTC (permalink / raw) To: dj; +Cc: binutils, gdb-patches At 01 Oct 2003 22:25:14 -0700, Chris G. Demetriou wrote: > I was justabout to start a host=x86-linux target=mipsisa64-elf > build/check, so i've thrown it in there. Since that's still linux, > i've just started a host=sparc-solaris target=mips-elf build/check > too. should have mentioned: in 'build' i include install. 8-) (important, since that's where the variable in question is used...) cgd ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <mailpost.1065072338.24856@news-sj1-1>]
* Re: [PATCH RFA] tweak expect EXP_LIB_SPEC to use libdir. [not found] ` <mailpost.1065072338.24856@news-sj1-1> @ 2003-10-02 18:10 ` cgd 2003-10-02 18:35 ` DJ Delorie 0 siblings, 1 reply; 6+ messages in thread From: cgd @ 2003-10-02 18:10 UTC (permalink / raw) To: dj; +Cc: binutils, gdb-patches At Thu, 2 Oct 2003 05:25:38 +0000 (UTC), cgd@broadcom.com wrote: > I was justabout to start a host=x86-linux target=mipsisa64-elf > build/check, so i've thrown it in there. Since that's still linux, > i've just started a host=sparc-solaris target=mips-elf build/check > too. the former went fine. the latter had some unrelated (NLS-related) problems so i just ran a binutils + tcl/expect/dejagnu build/install/test w/ the patch (host=sparc-solaris, target=mips-elf), and that went fine. So, OK to apply? cgd ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH RFA] tweak expect EXP_LIB_SPEC to use libdir. 2003-10-02 18:10 ` cgd @ 2003-10-02 18:35 ` DJ Delorie 0 siblings, 0 replies; 6+ messages in thread From: DJ Delorie @ 2003-10-02 18:35 UTC (permalink / raw) To: cgd; +Cc: binutils, gdb-patches > So, OK to apply? Ok. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-10-02 18:35 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-02 4:40 [PATCH RFA] tweak expect EXP_LIB_SPEC to use libdir cgd
2003-10-02 4:53 ` DJ Delorie
[not found] ` <mailpost.1065070425.24076@news-sj1-1>
2003-10-02 5:25 ` cgd
2003-10-02 5:29 ` cgd
[not found] ` <mailpost.1065072338.24856@news-sj1-1>
2003-10-02 18:10 ` cgd
2003-10-02 18:35 ` DJ Delorie
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox