OSDev.org
https://forum.osdev.org/

Questions about Hosted GCC Compiler
https://forum.osdev.org/viewtopic.php?f=1&t=32582
Page 1 of 1

Author:  AwfulMint [ Tue Nov 21, 2017 11:55 am ]
Post subject:  Questions about Hosted GCC Compiler

So, I create with success mah compiler targeting for mah OS. So I have some questions about it.

1. Now I have to compile my OS using this compiler or still using the i686-elf compiler?
2. How to compile to x86_64? I need to rebuild the compiler? Bcs the compiler I generated all binaries are i686-aetheros-*.

That's it, thx in advance guys! :D :D :D

Author:  mariuszp [ Wed Nov 22, 2017 6:14 pm ]
Post subject:  Re: Questions about Hosted GCC Compiler

AwfulMint wrote:
So, I create with success mah compiler targeting for mah OS. So I have some questions about it.

1. Now I have to compile my OS using this compiler or still using the i686-elf compiler?
2. How to compile to x86_64? I need to rebuild the compiler? Bcs the compiler I generated all binaries are i686-aetheros-*.

That's it, thx in advance guys! :D :D :D


1. Yes, you now use the hosted compiler (i686-aetheros) to build your OS.
2. Yes, you need a separate build for each architecture (and x86_64 is a different architecture).

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/