2 msgCompilation error while return function pointers
2 msgprogram with various files be compiled
2 msghelp!!
3 msgHelp installing GCC on to from-scratch system
1 msgOut of Office AutoReply: ezmlm warning
3 msgYet another aliasing question.
3 msginfo files under windows
3 msgGUI programming
1 msgARM startup file
3 msghelp....

Output of (estimated) remaining compile time fo...
\ M. Koehrer (22 Dec 2006)
. \ Brian Dessent (22 Dec 2006)
. . \ M. Koehrer (27 Dec 2006)

2 msgFw: About the precision of cos() sin() and tan(...
2 msgInitialization of zero globals
1 msgloop vectorization vs. sequential code vectoriz...
1 msg__thread storage specifier documentation
6 msgmingw help!!!
2 msggcc core gcc++
2 msgSyntax error when building gfortran in gcc-4.0.3
2 msg'Woodcrest' Xeon 3.0ghz optimal -march and opti...
2 msgLinking problems with gcc and AIX
Subject:Re: Re: Output of (estimated) remaining compile time for huge source files
Group:Gcc-help
From:M. Koehrer
Date:27 Dec 2006


Hi Brian,

thanks for your answer.
Perhaps I have to do it with a bash script that runs gcc in background and checks in foreground
if it is still running and printing out alive messages.

Regards

Mathias

> > I am using gcc 4.1.2 (Debian Linux Etch) on a Pentium 4.
> > I have a code generator that generates really huge C source code files
> > (up to 5-8 MByte source code in a single file) that have to be compiled
> with gcc 4.1.2.
> > However, the compilation of this huge C source files takes really long,
> > sometimes up to 1 hour for a single file.
> > Unfortunately I do not get any feedback about the current progress of gcc
> once
> > it is started.
> > My question is now, is it somehow possible to force gcc to print out
> regularly
> > a progress information (like: estimated percentage done or the steps that
> > are already done and still have to be done or something else)?
> >
> > I have not found any information about that in the gcc documentation.
>
> I don't think any such thing exists. The closest would be -fmem-report
> or -ftime-report, but those are generated at the end of the compile, not
> in real time.
>
> The problem is that the compiler itself doesn't know how long any given
> stage will take without actually running it, so there is no way to give
> any kind of accurate percentage. You could try patching the pass
> manager to print something at the beginning of each pass, but that would
> only really be an "I'm here" message, it would not indicate anything
> about percentage or ETA, since many passes would probably fly by very
> quickly and some would take very long.
>
> Brian
>

--
Mathias Koehrer
mathias_koehrer


Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig
und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer,
nur 44,85 € inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2


© 2004-2008 readlist.com