This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, rfa] charset testsuite patches, take 2
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Eric Christopher <echristo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 01 Mar 2004 18:16:41 -0500
- Subject: Re: [patch, rfa] charset testsuite patches, take 2
- References: <1077678897.3387.35.camel@dzur.sfbay.redhat.com> <200402280456.i1S4ulT27294@makai.watson.ibm.com> <1078038883.4272.6.camel@dzur.sfbay.redhat.com> <200402292013.i1TKDBT32370@makai.watson.ibm.com> <1078174805.3353.2.camel@dzur.sfbay.redhat.com>
>>>>> Eric Christopher writes:
Eric> Can you give this a shot please?
Closer. But I think we need something like
- set lines [${tool}_target_compile "tmp.c" "tmp.x" executable ""]
+ set lines [${tool}_target_compile "tmp.c" "tmp.x" executable "libs=$LIBICONV"]
modulo getting substitution to work.
set lines [${tool}_target_compile "tmp.c" "tmp.x" executable "libs=-liconv"]
does work on AIX.
The last paramter is for any option, which means providing a
correct variable assignment. The value is not just appended to the
compile line itself.
David