This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch, rfa] charset testsuite patches, take 2


>>>>> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]