Environment:
UWIN 4.2, installed to D:\UWIN
MinGW 3.2.0, installed to D:\MinGW
PACKAGE_cc=/D/MinGW
VERSION_ENVIRONMENT=PACKAGE_cc
When building Perl, I noticed that ar -r lib file... for the environment
unconditionally re-created lib with the specified contents, i.e. if lib
already existed, then those contents would be replaced, not added to.
The following edit in /usr/bin/ar (lines 367-372) fixed that:
if [[ $DM ]]
then blib="$(basename "$ulib")"
[[ -s "$ulib" ]] && cp -- "$ulib" "$blib"
###HDB
"$DM" -r$vflag "$blib" "[EMAIL PROTECTED]"
else "$AR" $ARFLAGS $verbose ${out:+"${out}"}
${lib:+"${lib}"} ${def:+"${def}"} "[EMAIL PROTECTED]//\//\\}" >&2
fi
Howard Bryden,
UNIX Administrator,
Qld. Govt. Dept. of Emergency Services,
AUSTRALIA
Tel. 07 3109 5087
------------------------------------------------------------------------
----------------------------------
Rocket J. Squirrel: "... we're going to have to think!"
Bullwinkle J. Moose: "There must be an easier way than that."
This correspondence is for the named persons only. It may contain confidential
or privileged information or both. No confidentiality or privilege is waived or
lost by any mis transmission. If you receive this correspondence in error
please delete it from your system immediately and notify the sender. You must
not disclose, copy or relay on any part of this correspondence, if you are not
the intended recipient. Any opinions expressed in this message are those of the
individual sender except where the sender expressly, and with the authority,
states them to be the opinions of the Department of Emergency Services,
Queensland.
_______________________________________________
uwin-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/uwin-users