Page 1 of 1

Questions about Hosted GCC Compiler

Posted: Tue Nov 21, 2017 11:55 am
by AwfulMint
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

Re: Questions about Hosted GCC Compiler

Posted: Wed Nov 22, 2017 6:14 pm
by mariuszp
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).