OSDev.org https://forum.osdev.org/ |
|
Porting Binutils https://forum.osdev.org/viewtopic.php?f=1&t=33368 |
Page 1 of 1 |
Author: | MrLolthe1st [ Wed Dec 12, 2018 4:18 pm ] |
Post subject: | Porting Binutils |
Hi, all! Today i'm building binutils with compiler, that compiled under compiler, that compiled under gcc. So, i'm made that steps: 1. Have already built Cross GCC 2. Have already built host compiler, that targets to my os 3. Already have compiled binutils under my compiler from step 2. 4. Got a tonns of errors like '/gcc/bin_ok/intl/../../binutils-2.28/intl/l10nflist.c:326: undefined reference to `malloc' So, what i'm need to do to get a ready-to-use-under-my-os binutils? Thanks for all, Aleksandr |
Author: | Octocontrabass [ Wed Dec 12, 2018 4:47 pm ] |
Post subject: | Re: Porting Binutils |
It sounds like you missed one of the steps here. Where is your C standard library? |
Author: | MrLolthe1st [ Wed Dec 12, 2018 6:09 pm ] |
Post subject: | Re: Porting Binutils |
i'm have only .h files in /root/myos/sysroot/usr/include. What i'm need to do? I'm isn't native english speaker, i'm may understand something wrong. |
Author: | Octocontrabass [ Wed Dec 12, 2018 7:20 pm ] |
Post subject: | Re: Porting Binutils |
You need a C standard library for your OS. You can port an existing C library, or you can write your own. Read this page and come back if you have questions. |
Author: | MrLolthe1st [ Wed Dec 12, 2018 9:35 pm ] |
Post subject: | Re: Porting Binutils |
Great thanks! Now remains realize some functions. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |