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]

Re: V3 PATCH: mkcheck.in buglet


On Thu, Nov 02, 2000 at 07:30:36PM -0700, Mark P Mitchell wrote:
> 
> I changed mkcheck.in to use -rpath instead of --rpath -- but I didn't
> change it to to echo the command correctly to the log file.

Yeah, this is one of the things that should go away with libtoolizing
the library.  With - or -- it still won't work under Solaris (at least
using the native linker).

But...

> !  echo "$CXX $CXX_FLAG $S_FLAG $INC_PATH -L$LIB_PATH -Wl,-rpath -Wl,$LIB_PATH \
>            $SRC_NAME -o $EXENAME" 2>> $LOG_FILE

This was originally copy'n'pasted from earlier in the file where the
compiler is actually called, and 'echo' added.  (I deduce.)  But echo
writes to stdout, not stderr, so this will not show up in the log file,
and is displayed to the screen instead.

Even if the call were written to the logfile, it would still /follow/
the error messages, which is just confusing.

I fixed this up in my local version; which I might check in soon.
(It's not libtoolized yet, but it's Cleaner and Better[tm].)


-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.

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