This is the mail archive of the
mailing list for the Cygwin project.
Re: Problems with archiver "ar"
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com, franki2006 at hotmail dot com
- Date: Mon, 02 Oct 2006 06:19:01 -0600
- Subject: Re: Problems with archiver "ar"
- References: <BAY105-F1140EF95E5B22FAC4613AAD21F0@phx.gbl>
-----BEGIN PGP SIGNED MESSAGE-----
According to Frank Illenseer on 10/2/2006 2:51 AM:
> so I tried (taking your mount as reference)
> mount -f -u -t "C:\DATA\myProject\solution1"
Don't mount to /cygdrive/c/DATA/; mount points to a subdirectory of
/cygdrive don't really do any good, because the path resolution does not
look for mount points residing inside /cygdrive. Instead, mount
c:\data\myproject to a POSIX path (ie. something like /myProject).
> but indeed the directory of interest seems to work in binmode.
> I need the directory in the "surrounding" of the other directories, i.e.
> relative paths are required.
If just one subdirectory needs to be text, relative to others that are
binary, then it may be worth mounting those others as well to preserve
your desired relative hierarchy.
> PS: The problem with "ar" is still there and I think (as Eric pointed
> out) that "ar" is not correctly reading in binmode/textmode. Once I
> solved the mounting problems, I will do some more tests with "ar".
What more needs to be tested? Until cgf releases a new binutils with an
update to ar that forces binary mode on all archival actions, the current
behavior on textmounts isn't going to change.
Life is short - so eat dessert first!
Eric Blake firstname.lastname@example.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v220.127.116.11 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html