• Tag Archives Linux LFS OS Install
  • Evo T20 project OS choice

    So i have Decide on my Distro that I want to use for my Evo. Its called Linux from Scratch,
    its a way to build your OS from compiling all the components, into a working linux.
    You can find more info here
    so far i have completed the Pre setup and getting the too chain compiled for the enviroment.
    there have been a few Hiccups here and there which i will get into in just a moment. Currently my Goal is to have a working linux under 16 megs so i dont have to buy more smart media cards, especially at $30+ for 128 megs, on out dated technology. but that is besides the point..

    Issues that  i have had so far

    1. Wget list has 2 broken links, I will list the 2 packages a little later
    2. Binutils would not compile, it was my mistake that i had made a few days ago while i was, the Tools link was pointing at the wrong Device, deleted it and remade it so it point to the correct folder
    3. after that i have run into another compile error dealing with GCC the error stated ../../gcc-4.3.2/gcc/double-int.h:184: error: expected ')' before 'double_int'
      ../../gcc-4.3.2/gcc/double-int.h:185: error: expected declaration specifiers or '...' before 'mpz_t'
      In file included from ../../gcc-4.3.2/gcc/c-lang.c:26:
      ../../gcc-4.3.2/gcc/tree.h:4895: error: expected declaration specifiers or '...' before 'mpz_t'
      ../../gcc-4.3.2/gcc/tree.h:4895: error: expected declaration specifiers or '...' before 'mpz_t'
      and still looking into what that means but shouldn’t take too long to figure out
    4. maybe more later

    So far This has been an interesting adventure, and would highly recomend that any linux admin should try this out and learn about how linux actuelly works, not many people understand how it all fits together and what it takes to make your own distro that you have complete control over…

    well now back to some more compilling! 🙂

    Edit : these are the errors after the warnings make[3]: *** [c-lang.o] Error 1
    make[3]: Leaving directory `/mnt/lfs/sources/gcc-build/gcc'
    make[2]: *** [all-stage2-gcc] Error 2
    make[2]: Leaving directory `/mnt/lfs/sources/gcc-build'
    make[1]: *** [stage2-bubble] Error 2
    make[1]: Leaving directory `/mnt/lfs/sources/gcc-build'
    make: *** [all] Error 2

    update 8/20/09

    So i went to the mailing list and asked my question and apperently the mpfr and gmp need to be in the source directory of gcc,  in my opnion the note in 5.3 assumes that your in the source directory of the package after its unpacked “Before issuing the build instructions for a package, the package should be unpacked as user lfs, and a
    cd into the created directory should be performed. The build instructions assume that the bash shell is
    in use.” is the exact wording, this should be rephrased  to be more clear, but that’s my opinion so back to compiling the tool chain

    Update 9/1/09

    Using V6.5 i started over and have had no diffuculty in compiling the OS on a USB drive except of my own typos, as soon as i can boot it i will put up a screenshot and also a copy of the USB drive image

    Update 12/26/09

    Never buy crappy USB drives…….Never again will i buy that really cheap drive from that off brand you have never heard of……..i lost my image on that drive but i am recompiling it and doing it again it was fun project and now i can do it a little faster now. This time it will only take a few days to create again.