Questions about Hosted GCC Compiler

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
AwfulMint
Member
Member
Posts: 35
Joined: Wed Nov 01, 2017 7:41 pm

Questions about Hosted GCC Compiler

Post 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
OS Development is awesome!

|AetherOS Project|
mariuszp
Member
Member
Posts: 587
Joined: Sat Oct 16, 2010 3:38 pm

Re: Questions about Hosted GCC Compiler

Post 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).
Post Reply