This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
build and install of egcs-1.0.3a
- To: egcs at cygnus dot com
- Subject: build and install of egcs-1.0.3a
- From: Robley Hall <rrh at dial dot pipex dot com>
- Date: 04 Jun 1998 15:50:08 +0000
Hi,
as you requested, this is to let you know about my experience
installing egcs.
In brief, Everything worked flawlessly.
However egcs is slower than my old gcc-2.7, as well as generating
significantly larger programs. (Maybe this is expected, but I'll pass
along the details anyway. Discard if you already know this.)
Output from config.guess is:
i586-pc-linux-gnulibc1
Next I am including output from a make of gnu bzip2-0.1p12
under both gcc2.7 and egcs-1.0.3a. Appended at the end
of each "make" output are three further bits of information:
1) output of the time command,as in "time make"
2) "gcc -v" version output
3) "ls -l" directory output for the two programs produced by make
I haven't yet tried gcc-2.8... maybe it will have similar increases in
time and size over gcc2.7. I'll probably install gcc-2.8 sometime over
the next few weeks, time allowing.
My environment is Caldera OpenLinux Lite 1.1, running on an IBM PC750,
P133, 48mb, with an IBM ide drive.
If you want any other details, please let me know and I'll do what I
can.
Just to emphasize, in case this all sounds negative, it isn't. I'm
glad that projects like egcs exist. I hope to be able to contribute
more effort in the future but in the meantime hope that my feedback is
at least useful.
Regards,
Robley Hall
<<< - - - - - start of output from make using egcs - - - - - >>>
cat words0
***-------------------------------------------------***
***--------- IMPORTANT: READ WHAT FOLLOWS! ---------***
***--------- viz: pay attention :-) ---------***
***-------------------------------------------------***
Compiling bzip2 ...
gcc -O3 -fomit-frame-pointer -funroll-loops -o bzip2 bzip2.c
gcc -O3 -fomit-frame-pointer -funroll-loops -o bzip2recover bzip2recover.c
rm -f bunzip2
ln -s ./bzip2 ./bunzip2
cat words1
Doing 4 tests (2 compress, 2 uncompress) ...
If there's a problem, things might stop at this point.
./bzip2 -1 < sample1.ref > sample1.rb2
./bzip2 -2 < sample2.ref > sample2.rb2
./bunzip2 < sample1.bz2 > sample1.tst
./bunzip2 < sample2.bz2 > sample2.tst
cat words2
Checking test results. If any of the four "cmp"s which follow
report any differences, something is wrong. If you can't easily
figure out what, please let me know (jseward@acm.org).
cmp sample1.bz2 sample1.rb2
cmp sample2.bz2 sample2.rb2
cmp sample1.tst sample1.ref
cmp sample2.tst sample2.ref
cat words3
If you got this far and the "cmp"s didn't find anything amiss, looks
like you're in business. You should install bzip2 and bunzip2:
copy bzip2 to a public place, maybe /usr/bin.
In that public place, make bunzip2 a symbolic link
to the bzip2 you just copied there.
Put the manual page, bzip2.1, somewhere appropriate;
perhaps in /usr/man/man1.
Complete instructions for use are in the preformatted
manual page, in the file bzip2.1.preformatted.
You can also do "bzip2 --help" to see some helpful information.
"bzip2 -L" displays the software license.
Please read the README file carefully.
Finally, note that bzip2 comes with ABSOLUTELY NO WARRANTY.
Happy compressing!
******* output from time make **********
38.03user 0.90system 0:39.29elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+0minor)pagefaults 0swaps
******* output from gcc -v ************
Reading specs from /usr/local/lib/gcc-lib/i586-pc-linux-gnulibc1/egcs-2.90.29/specs
gcc version egcs-2.90.29 980515 (egcs-1.0.3 release)
******* output from ls -l **************
-rwxr-xr-x 1 rrh users 93226 Jun 4 15:25 bzip2*
-rwxr-xr-x 1 rrh users 34397 Jun 4 15:25 bzip2recover*
<<< - - - - - end of output from make using egcs - - - - - >>>
<<< - - - - - start of output from make using gcc 2.7.2.1 - - - - - >>>
cat words0
***-------------------------------------------------***
***--------- IMPORTANT: READ WHAT FOLLOWS! ---------***
***--------- viz: pay attention :-) ---------***
***-------------------------------------------------***
Compiling bzip2 ...
gcc -O3 -fomit-frame-pointer -funroll-loops -o bzip2 bzip2.c
gcc -O3 -fomit-frame-pointer -funroll-loops -o bzip2recover bzip2recover.c
rm -f bunzip2
ln -s ./bzip2 ./bunzip2
cat words1
Doing 4 tests (2 compress, 2 uncompress) ...
If there's a problem, things might stop at this point.
./bzip2 -1 < sample1.ref > sample1.rb2
./bzip2 -2 < sample2.ref > sample2.rb2
./bunzip2 < sample1.bz2 > sample1.tst
./bunzip2 < sample2.bz2 > sample2.tst
cat words2
Checking test results. If any of the four "cmp"s which follow
report any differences, something is wrong. If you can't easily
figure out what, please let me know (jseward@acm.org).
cmp sample1.bz2 sample1.rb2
cmp sample2.bz2 sample2.rb2
cmp sample1.tst sample1.ref
cmp sample2.tst sample2.ref
cat words3
If you got this far and the "cmp"s didn't find anything amiss, looks
like you're in business. You should install bzip2 and bunzip2:
copy bzip2 to a public place, maybe /usr/bin.
In that public place, make bunzip2 a symbolic link
to the bzip2 you just copied there.
Put the manual page, bzip2.1, somewhere appropriate;
perhaps in /usr/man/man1.
Complete instructions for use are in the preformatted
manual page, in the file bzip2.1.preformatted.
You can also do "bzip2 --help" to see some helpful information.
"bzip2 -L" displays the software license.
Please read the README file carefully.
Finally, note that bzip2 comes with ABSOLUTELY NO WARRANTY.
Happy compressing!
******* output from time make **********
30.80user 1.01system 0:31.84elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+0minor)pagefaults 0swaps
******* output from gcc -v ************
Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.1/specs
gcc version 2.7.2.1
******* output from ls -l **************
-rwxr-xr-x 1 rrh users 73361 Jun 4 15:11 bzip2*
-rwxr-xr-x 1 rrh users 13780 Jun 4 15:11 bzip2recover*
<<< - - - - - end of output from make using gcc2.7.2.1 - - - - - >>>