![]() ![]() Make all-target-libgcc make install-target-libgcc # This step may require privilege ( sudo make install-target-libgcc) configure -prefix=/usr/local -prefix=$PFX -with-gmp=$PFX -with-mpfr=$PFX -with-mpc=$PFX \ -target=i386-jos-elf -disable-werror \ -disable-libssp -disable-libmudflap -with-newlib \ -without-headers -enable-languages=c,c make all-gcc make install-gcc # This step may require privilege ( sudo make install-gcc) Tar xjf gcc-core-4.5.1.tar.bz2 tar xjf gcc-g -4.5.1.tar.bz2 cd gcc-4.5.1 mkdir build # GCC will not compile correctly unless you build in a separate directoryĬd build. ![]() # (header little endian, data little endian) # BFD header file version (GNU Binutils) 2.0303 configure -prefix=/usr/local -prefix=$PFX -target=i386-jos-elf -disable-werror make make install # This step may require privilege ( sudo make install) configure -prefix=/usr/local -prefix=$PFX -with-gmp=$PFX -with-mpfr=$PFX make make install # This step may require privilege ( sudo make install)Ĭd. configure -prefix=/usr/local -prefix=$PFX -with-gmp=$PFX make make install # This step may require privilege ( sudo make install)Ĭd. configure -prefix=/usr/local -prefix=$PFX make make install # This step may require privilege ( sudo make install)Ĭd. Building Your Own ToolchainĮxport PATH=$PFX/bin:$PATH export LD_LIBRARY_PATH=$PFX/lib:$LD_LIBRARY_PATH # On Mac OS X, use DYLD_LIBRARY_PATH Type objdump -i, as above, to verify that your Procedure differs among VMs but is pretty simple. Use the downloaded Ubuntu image as a boot disk the Virtualization platform and create a new (32-bit) virtual machine. This will download a file named something like Once the virtualization platform is installed, download a bootĭisk image for the Linux distribution of your choice. VirtualBox is a little slower and less flexible, but free! Player (free for Linux and Windows, registration required)įusion ($80 for Mac, $40 with academic discount) (free for Mac, Linux, Windows) - Download Linux virtual machine is a two step process. With platform virtualization, Linux canĬohabitate with your normal computing environment. Toolchain is to install a modern Linux distribution on Otherwise, the easiest way to get a compatible
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |