Successfull Build of gcc on Cygwin WinXp SP2

Dave Korn
Wed May 2 18:14:00 GMT 2007

On 02 May 2007 15:59, Brian Dessent wrote:

> Dave Korn wrote:
>>> that are shared across gcc/binutils/gdb/sim/etc.  If you later do "cvs
>>> up" from the toplevel you'll accidently get the entire "src" tree
>>   No, you won't, unless you deliberately add the '-d' option.
> Well sure, but then when someone checks in a change that involves
> renaming or adding a subdirectory somewhere, your tree is silently
> broken without any warning or indication, and you have to track it
> down. 

  If you examine the wording carefully, you can infer that doing "cvs up" from
toplevel without the -d option does not preclude using -d at levels below

> This can be a lot of head scratching and cursing until you figure
> out that cvs was too dumb to add the directory to your repository.

  Hmmm, I can't think off the top of my head of anything much better than

find . -maxdepth 1 -type d | grep -v '\.$' | grep -v CVS | xargs cvs -q -z9 up
> I prefer to always use cvs up -dP outside of toplevel, which I update
> with cvs up -lP.

  I believe the -P option is probably superfluous in that second example! :)

Can't think of a witty .sigline today....

Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list