Hello All,
Please if anyone had reached the stage of porting the GNU toolchain, share your knoweledge with the others.
http://libosdk.berlios.de/wiki/index.php/Toolchain
Any help will be appreciated.
Thanks alot
[Request] Porting the toolchain
[Request] Porting the toolchain
Systems and Computer Engineering Researcher
"Do you pine for the nice days of Minix-1.1, when men were men and wrote their own device drivers?" -- Linus Torvalds
http://sce.carleton.ca/~maslan
"Do you pine for the nice days of Minix-1.1, when men were men and wrote their own device drivers?" -- Linus Torvalds
http://sce.carleton.ca/~maslan
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
spix on this forum has successfully ported binutils to his operating system (And newlib by redhat). He might have a few tips.
I've also made a few unified diff's of his modification's to binutils/newlib that show the various changes he made.
(Although he's making a fork of newlib.. It won't be patch-able against the released newlib for long..)
My advice would be to contact him more about it, I can email you those patches if you want also.
I'm fairly sure he's close to a GCC port also (Compiles.. just doesn't run... yet..)
http://www.mort-os.com/
I've also made a few unified diff's of his modification's to binutils/newlib that show the various changes he made.
(Although he's making a fork of newlib.. It won't be patch-able against the released newlib for long..)
My advice would be to contact him more about it, I can email you those patches if you want also.
I'm fairly sure he's close to a GCC port also (Compiles.. just doesn't run... yet..)
http://www.mort-os.com/
If you can provide a link to the diffs that would be great.
You know i've spix "Andrew" on my msn list, but i didn't know that he has ported the binutils, great work.
Thanks.
You know i've spix "Andrew" on my msn list, but i didn't know that he has ported the binutils, great work.
Thanks.
Systems and Computer Engineering Researcher
"Do you pine for the nice days of Minix-1.1, when men were men and wrote their own device drivers?" -- Linus Torvalds
http://sce.carleton.ca/~maslan
"Do you pine for the nice days of Minix-1.1, when men were men and wrote their own device drivers?" -- Linus Torvalds
http://sce.carleton.ca/~maslan
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
I currently have them on my home server.. Thus I'll attach them to this post.
He runs an IRC, sadly nobody joins it lol..
I managed to update his binutils port to 2.17...
I did make a diff for his newlib-1.14.0 port, Although he's since merged to 1.15.0 in his SVN repository.. And has started making a great deal of changes for his port.
(chase/mods if the attached files are too large I'll locate other suitable hosting..)
He runs an IRC, sadly nobody joins it lol..
I managed to update his binutils port to 2.17...
I did make a diff for his newlib-1.14.0 port, Although he's since merged to 1.15.0 in his SVN repository.. And has started making a great deal of changes for his port.
(chase/mods if the attached files are too large I'll locate other suitable hosting..)
- Attachments
-
- binutils-and-newlib.tar.gz
- I made these patches from an early release of mort-os against their vanilla counterparts. (spix "Andrew"'s local SVN changes might be slightly different) but the work was his.
- (63.15 KiB) Downloaded 108 times
- spix
- Member
- Posts: 128
- Joined: Mon Jun 26, 2006 8:41 am
- Location: Millicent, South Australia
- Contact:
You do?You know i've spix "Andrew" on my msn list, but i didn't know that he has ported the binutils, great work.
Are you on my list?
As for porting a toolchain, it's fairly easy to port binutils, basically I copied i386-pc-elf configuration files and modified them slightly so ld would link executables in the right place by default.
Newlib is also fairly easy to port, however it's not complete and missing a lot of functions you might see in glibc. To get started on newlib you need to provide syscall stubs, for things like read, write, open, close and so on. Check out the newlib site.
GCC I haven't figured out yet. It's quite portable, it shouldn't take many modifications at all to port it. I'm having trouble making it accept my strange filesystem layout and getting a native build to cross compile.
Hope that helps.
Andrew
Yes I'mspix wrote: You do?
Are you on my list?
I'm "Микоян-Гуревич МиГ"
Systems and Computer Engineering Researcher
"Do you pine for the nice days of Minix-1.1, when men were men and wrote their own device drivers?" -- Linus Torvalds
http://sce.carleton.ca/~maslan
"Do you pine for the nice days of Minix-1.1, when men were men and wrote their own device drivers?" -- Linus Torvalds
http://sce.carleton.ca/~maslan