![]() You also require flex installed ( sudo apt-get install flex), otherwise you will get "checking lex output file root./configure: 1: lex: not found".If you're getting "gas/config/tc-i386.h:451: error: array type has incomplete element type" while compiling binutils, check Debian Bug report #299671 for a fix: a couple of lines have to be modified in binutils sources before compiling.If there are errors compiling gcc when it gets to libstdc++, don't worry about it. Once you've unpacked these archives, run the following commands as root: You can download the specific versions we used via these links, although more recent versions of gcc and binutils should work too: If you are in the minority and using something other than standard x86 Linux® or BSD, you will need the GNU C compiler toolchain, configured and built as a cross-compiler for the target 'i386-jos-elf'. ![]() If your machine is in this camp, disable the i386-jos-elf- tool prefix in your make setup by adding the following line to conf/env.mk: That is, the system-standard gcc, as, ld and objdump should just work. Most modern Linuxes and BSDs have an ELF toolchain compatible with the 6.828 labs. Install cygwin, and be sure to install the flex and bison packages (they are under the development header). It should be possible to get this development environment running under windows with the help of Cygwin. Of course, we cannot guarantee that these tools will be portable to every possible machine you might want to run them on they should at least compile easily on most recent versions of Linux®, however. If you would like to compile and run the tools on your own machine, here is the information you need.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |