This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: Using crosstool-ng on OpenBSD


On Monday 23 January 2012 19:30:17 Renaud Allard wrote:
> On 23/01/12 19:25, Yann E. MORIN wrote:
> > OK, -r is not even in POSIX, while -R is. Can you check that BSD's cp
> > does handle the -pR combination? If so, I'll chamge it.
> Yes, it does support -pR, which is indeed the correct way to pass the 
> recursive argument.

OK.

> > -v missing is not too problematic either. Its only use is to make the
> > progress bar rotate, so as to give the user some feedback that the
> > process is not hung. If we remove it, the progress bar will hang for
> > some time during very big copies, but if that's the price to pay...
> Doesn't it also affect debugging output?

Well, partialy. At least, the command being executed is logged, its stdout,
as well as its stderr. So, if the commands prints some progress status (as
'cp -v' was used for), or prints errors (on stderr), it should be logged
appropriately. And because the command being executed is logged, it's always
possible to hand-type it for further investigation.

The 'cp -v' was really intended for cases where the copy could take a bunch
of time, see eg. this changeset:
    http://crosstool-ng.org/hg/crosstool-ng/rev/c3ff88a0c788

So, removing the '-v' from 'cp' incantations would just look like no progress
for a little while for unsuspecting users. That should be eventually worked
around with a _usability_ fix, but for now, it's time for a _feature_ fix.

And yes, I know, there are a bunch of pending patches on the list. I'll
catter to them during the week, and then hope for the release to be ready
before the end of the month (and obviously, before FOSDEM! Beer, yeah! :-))

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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