6.828 and 6.S081 will be offered as two separate classes. 6.S081 (Introduction to Operating Systems) will be taught as a stand-alone AUS subject for undergraduates, and will provide an introduction to operating systems. 6.828 will be offered as a graduate-level seminar-style class focused on research in operating systems. 6.828 will assume you have taken 6.S081 or an equivalent class.
wget https://ftp.gnu.org/gnu/termcap/termcap-1.3.1.tar.gz tar xzf termcap-1.3.1.tar.gz cd termcap-1.3.1/ ./configure --prefix=$PFX make && sudo make install cd ..
tar xjf gmp-5.0.2.tar.bz2 cd gmp-5.0.2 ./configure --prefix=$PFX make make install # This step may require privilege (sudo make install) cd ..
tar xjf mpfr-3.1.2.tar.bz2 cd mpfr-3.1.2 ./configure --prefix=$PFX --with-gmp=$PFX #这里指定gmp.h的path make make install # This step may require privilege (sudo make install) cd ..
tar xzf mpc-0.9.tar.gz cd mpc-0.9 ./configure --prefix=$PFX --with-gmp=$PFX #这里指定gmp.h的path make make install # This step may require privilege (sudo make install) cd ..
tar xjf binutils-2.21.1.tar.bz2 cd binutils-2.21.1 ./configure --prefix=$PFX --target=i386-jos-elf --disable-werror make make install # This step may require privilege (sudo make install) cd ..
tar xjf gcc-core-4.6.4.tar.bz2 cd gcc-4.6.4 mkdir build # GCC will not compile correctly unless you build in a separate directory cd build ../configure --prefix=$PFX \ --with-gmp=$PFX --with-mpfr=$PFX --with-mpc=$PFX \ #指定gmp, mpfr, mpc位置 --target=i386-jos-elf --disable-werror \ --disable-libssp --disable-libmudflap --with-newlib \ --without-headers --enable-languages=c MAKEINFO=missing make all-gcc make install-gcc # This step may require privilege (sudo make install-gcc) make all-target-libgcc make install-target-libgcc # This step may require privilege (sudo make install-target-libgcc) cd ../..
wget https://ftp.gnu.org/gnu/termcap/termcap-1.3.1.tar.gz tar xzf termcap-1.3.1.tar.gz cd termcap-1.3.1/ ./configure --prefix=$PFX make && make install cd ..
tar xjf gdb-7.3.1.tar.bz2 cd gdb-7.3.1 ./configure --prefix=$PFX \ --target=i386-jos-elf --program-prefix=i386-jos-elf- \ --disable-werror make all make install # This step may require privilege (sudo make install) cd ..
i386-jos-elf-objdump -i # Should produce output like: # BFD header file version (GNU Binutils) 2.21.1 # elf32-i386 # (header little endian, data little endian) # i386...
i386-jos-elf-gcc -v # Should produce output like: # Using built-in specs. # COLLECT_GCC=i386-jos-elf-gcc # COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i386-jos-elf/4.6.4/lto-wrapper # Target: i386-jos-elf
qga/commands-posix.c: In function ‘dev_major_minor’: qga/commands-posix.c:633:13: error: In the GNU C Library, "major" is defined by <sys/sysmacros.h>.