This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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 2/3] Remove the directory of DEST in proc gdb_compile_shlib


>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

Yao> 2013-07-10  Yao Qi  <yao@codesourcery.com>
Yao> 	* lib/gdb.exp (gdb_compile_shlib): Pass the tail name of $dest
Yao> 	to link options.  Move the generated file to $dest.a on host.

If I understand this properly, it makes the "--out-implib" always be in
".".

This seems fine for the remote host case, but for the local host case, I
think it would be better for the file to appear in the "correct" output
directory, according to the parallelization work I've been doing.  I
realize this isn't all done; but it is helpful not to introduce new
cases to try to fix, and I think easy to do as well.  Here "correct"
just means making sure it is in the same directory as $dest.

I suspect just checking [is_remote host] would be sufficient here.
What do you think?

Tom


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