User:Tjmonk15/WSL Notes: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
Content deleted Content added
m Cleanup line
mNo edit summary
Line 2: Line 2:
== Random Notes ==
== Random Notes ==


* Sot 100% working yet on my end (still fighting with a lack of grub, and the best way to solve that)
* 100% working on my end for Bare Bone and Meaty Skeleton
* WSL is running Ubuntu 14.04
* WSL is running Ubuntu 14.04
* WSL does not have an install of GRUB ([https://www.gnu.org/software/grub/grub-download.html GRUB Download] for git clone command)
* WSL does not have an install of GRUB (use grub-pc-bin)
* WSL has a rather out of date version of GCC install by default (4.8.2)
* WSL has a rather out of date version of GCC install by default (4.8.2)
* To build GCC need bison, flex, byacc, as well as the prereqs mentioned on [[GCC_Cross-Compiler#Downloading_the_Source_Code]]
* To build GCC need bison, flex, byacc, as well as the prereqs mentioned on [[GCC_Cross-Compiler#Downloading_the_Source_Code]]
* Need to update pre-built gcc, [http://askubuntu.com/a/581497/353923 Server Fault - How do I use the latest GCC on Ubuntu?] use gcc-6 instead of gcc-4.9
* Need to update pre-built gcc, [http://askubuntu.com/a/581497/353923 Server Fault - How do I use the latest GCC on Ubuntu?] use gcc-6 instead of gcc-4.9
* Recommended list of packges to apt-get before starting
* Recommended list of packages to apt-get before starting
** git
** git
** bison
** bison
Line 27: Line 27:
* [[Bare_Bones]] does work with all prereqs mentioned above. Running the kernel (with -kernel) or the iso (with -cdrom) in QEMU works (confirmed by myself +2 on the forums)
* [[Bare_Bones]] does work with all prereqs mentioned above. Running the kernel (with -kernel) or the iso (with -cdrom) in QEMU works (confirmed by myself +2 on the forums)
* [[Meaty_Skeleton]] works same as the Bare Bones (works for me in qemu, maybe others, though unconfirmed by myself)
* [[Meaty_Skeleton]] works same as the Bare Bones (works for me in qemu, maybe others, though unconfirmed by myself)
* For cleanup purposes, [url=http://askubuntu.com/questions/17823/how-to-list-all-installed-packages]This is a good way to see all "installed" packages.[/url] Adding a "> file.txt" after it will allow you to easily reference and review the list to decide what needs to be removed. And "sudo apt-get autoremove" should be your final command (repeated until nothing shows up if necessary)
* For cleanup purposes, [http://askubuntu.com/questions/17823/how-to-list-all-installed-packages]This is a good way to see all "installed" packages. Adding a "> file.txt" after it will allow you to easily reference and review the list to decide what needs to be removed. And "sudo apt-get autoremove" should be your final command (repeated until nothing shows up if necessary)

Revision as of 06:57, 7 September 2016

Random Notes

  • 100% working on my end for Bare Bone and Meaty Skeleton
  • WSL is running Ubuntu 14.04
  • WSL does not have an install of GRUB (use grub-pc-bin)
  • WSL has a rather out of date version of GCC install by default (4.8.2)
  • To build GCC need bison, flex, byacc, as well as the prereqs mentioned on GCC_Cross-Compiler#Downloading_the_Source_Code
  • Need to update pre-built gcc, Server Fault - How do I use the latest GCC on Ubuntu? use gcc-6 instead of gcc-4.9
  • Recommended list of packages to apt-get before starting
    • git
    • bison
    • flex
    • byacc
    • build-essential
    • gcc-6 (After adding PPA: sudo add-apt-repository ppa:ubuntu-toolchain-r/test)
    • libgmp3-dev
    • libmpfr-dev
    • libmpc-dev
    • texinfo
    • grub-pc-bin
    • xorriso
  • Need to come up with steps and test all of the above to make sure it is enough.
  • Optional/Helpful packages to apt-get
    • genisoimage (provides "isoinfo" which can be helpful for sanity checking iso files)
    • nasm (if you prefer Intel syntax over AT&T)
  • Bare_Bones does work with all prereqs mentioned above. Running the kernel (with -kernel) or the iso (with -cdrom) in QEMU works (confirmed by myself +2 on the forums)
  • Meaty_Skeleton works same as the Bare Bones (works for me in qemu, maybe others, though unconfirmed by myself)
  • For cleanup purposes, [1]This is a good way to see all "installed" packages. Adding a "> file.txt" after it will allow you to easily reference and review the list to decide what needs to be removed. And "sudo apt-get autoremove" should be your final command (repeated until nothing shows up if necessary)