sudo dpkg -i (deb_name)
#-------------------------------------------------
gcc4.2:
1:gcc-4.2-base (The GNU Compiler Collection)
2:libc6 & libgcc1_4.2 (GNU C Library: Shared libraries & GCC support library )
3:binutils_2.18 (The GNU assembler, linker and binary utilities)
4:cpp-4.2 (The GNU C preprocessor)
5:libgomp1 (GCC OpenMP (GOMP) support library )
6:gcc-4.2_4
7:linux-libc-dev
8:libc6-dev_2.7
#-------------------------------------------------
g++4.2:
9:libstdc++6_4.2 (The GNU Standard C++ Library v3 )
10:libstdc++6-4.2-dev & g++-4.2 (The GNU Standard C++ Development Libraries and Header Files & GNU C++ compiler)
sudo ln -s /usr/bin/gcc-4.2 /usr/bin/gcc
sudo ln -s /usr/bin/g++-4.2 /usr/bin/g++
#-------------------------------------------------
make 3.81:
1:libc6
2:make3.81
#--------------------------------------------------
有時候需要下列檔案
libncurses5_5.6+20071124-1ubuntu2_i386.deb
libncurses5-dev_5.6+20071124-1ubuntu2_i386.deb
libc6-i686_2.7-10ubuntu8.1_i386.deb
sudo dpkg -L gcc-4.2
sudo dpkg -L g++-4.2
sudo dpkg -L make
沒有留言:
張貼留言