home *** CD-ROM | disk | FTP | other *** search
/ ftp.cse.unsw.edu.au / 2014.06.ftp.cse.unsw.edu.au.tar / ftp.cse.unsw.edu.au / pub / homecomputing / linux / gcc / README < prev   
Text File  |  1998-04-28  |  690b  |  27 lines

  1. Installation instructions:
  2.  
  3. Download gcc-2.7.2.1.tar.gz and save in a suitable directory.
  4.  
  5. gunzip -c gcc-2.7.2.1.tar.gz | tar xvf -
  6. cd gcc-2.7.2.1
  7.  
  8. Read the INSTALL file for instructions.  I used the commands below to install
  9. gcc and the other languages:
  10.  
  11. ./configure --prefix=/usr/local/gnu
  12. make LANGUAGES=c
  13. make stage1
  14. make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O2" LANGUAGES=c
  15. make stage2
  16. make CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O2" LANGUAGES=c
  17. make compare
  18. make install CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O" LANGUAGES="LIST"
  19.  
  20.  
  21. If these commands do not work, then refer to the INSTALL documentation for
  22. hints.
  23.  
  24.  
  25. source: ftp://ftp.cse.unsw.edu.au/pub/gnu/
  26. date:   23 April, 1998
  27.