Bruno Haible <[EMAIL PROTECTED]> wrote: > Hi Jim, > >> FYI, I've just created the sha256 and sha512 modules ... >> I expect to move them into gnulib eventually, so if you see >> anything wrong ... please let me know. > > The compilation of these files with -g -O2 and newer gcc releases takes > an awful lot of time (5 minutes or so). Is there some way to make gcc work > faster, without decreasing the runtime speed too much?
Wow. What version of gcc, and what type of CPU? On a uniprocessor AMD Athlon(tm) 64 Processor 3400+, with gcc version 4.3.0 20080117 (experimental) (GCC), it takes less than 8 seconds to build all three .o files and create libcoreutils.a, using -O3: $ cd coreutils/lib && rm sha*.o $ /usr/bin/time make --quiet 7.13user 0.22system 0:07.73elapsed 95%CPU (0avgtext+0avgdata 0maxresident)k 0inputs+2808outputs (0major+36582minor)pagefaults 0swaps