[GCC] Has anyone successfully ported GCC for their OS ?
Posted: Sat Feb 18, 2012 9:07 am
Hello,
Having built an OS Specific Toolchain following the tutorial on the Wiki, I would like now to run GCC on my own OS to go self-hosted.
I could see by looking at the topic "What does your OS look like? (Screen Shots..)" that some members of this forum had managed to do it.
Could anyone explain me how I should proceed ? I have tried many times unsuccessfully.
(I especially don't know how to deal with paths. Indeed, when I launch the configure script for configuring the GCC build, I set the 'prefix' option to '/mnt/mydisk', which is the location where the disk image used by my OS is mounted. Thus, when executing on my OS, GCC fetches the specs file in '/mnt/mydisk/lib/gcc/i586-pc-myos/', and then it can't find it.)
I'd really need a detailed procedure. The GCC version I used to build the OS Specific Toolchain is 4.4.3, while the version of GCC used in my OS Specific Toolchain is 4.6.1. The GCC version I'm trying to run on my OS is also 4.6.1.
Thanks for your help and sorry for my English.
Having built an OS Specific Toolchain following the tutorial on the Wiki, I would like now to run GCC on my own OS to go self-hosted.
I could see by looking at the topic "What does your OS look like? (Screen Shots..)" that some members of this forum had managed to do it.
Could anyone explain me how I should proceed ? I have tried many times unsuccessfully.
(I especially don't know how to deal with paths. Indeed, when I launch the configure script for configuring the GCC build, I set the 'prefix' option to '/mnt/mydisk', which is the location where the disk image used by my OS is mounted. Thus, when executing on my OS, GCC fetches the specs file in '/mnt/mydisk/lib/gcc/i586-pc-myos/', and then it can't find it.)
I'd really need a detailed procedure. The GCC version I used to build the OS Specific Toolchain is 4.4.3, while the version of GCC used in my OS Specific Toolchain is 4.6.1. The GCC version I'm trying to run on my OS is also 4.6.1.
Thanks for your help and sorry for my English.