can linux be built with a coff compiler?
Clash Royale CLAN TAG#URR8PPP
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty margin-bottom:0;
up vote
0
down vote
favorite
Is it possible to make a bootable linux kernel from a gcc build that outputs COFF files instead of ELF?
Does it even matter to the kernel?
linux-kernel compiling gcc
 |Â
show 4 more comments
up vote
0
down vote
favorite
Is it possible to make a bootable linux kernel from a gcc build that outputs COFF files instead of ELF?
Does it even matter to the kernel?
linux-kernel compiling gcc
4
COFF is dead since 30 years, why do you ask?
â schily
2 days ago
i know it's completely crazy and i will probably not be able to get it working at all but i want to try to make a backend for the z80 cpu in gcc and then try to build linux and there is some code in binutils for assembling z80 code in COFF. Also i whould have to not comply with ELF standard since i think it only supports 32bit and 64bit in EI_CLASS
â H32
2 days ago
If there is no ELF postprocessing done in Linux, it could work. Never attempt to give the microsoft compiler a try as it does not support recent compiler features that are needed by the source.
â schily
2 days ago
i know that the linux sources are tied up with gcc, that's why i want to make a backend for gcc.
â H32
2 days ago
@H32 You do realize the Z-80 address space is limited to 64 kB? Your target board would need to do some serious bank switching.
â Johan Myréen
2 days ago
 |Â
show 4 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Is it possible to make a bootable linux kernel from a gcc build that outputs COFF files instead of ELF?
Does it even matter to the kernel?
linux-kernel compiling gcc
Is it possible to make a bootable linux kernel from a gcc build that outputs COFF files instead of ELF?
Does it even matter to the kernel?
linux-kernel compiling gcc
edited 2 days ago
Jeff Schaller
30.7k846104
30.7k846104
asked 2 days ago
H32
42
42
4
COFF is dead since 30 years, why do you ask?
â schily
2 days ago
i know it's completely crazy and i will probably not be able to get it working at all but i want to try to make a backend for the z80 cpu in gcc and then try to build linux and there is some code in binutils for assembling z80 code in COFF. Also i whould have to not comply with ELF standard since i think it only supports 32bit and 64bit in EI_CLASS
â H32
2 days ago
If there is no ELF postprocessing done in Linux, it could work. Never attempt to give the microsoft compiler a try as it does not support recent compiler features that are needed by the source.
â schily
2 days ago
i know that the linux sources are tied up with gcc, that's why i want to make a backend for gcc.
â H32
2 days ago
@H32 You do realize the Z-80 address space is limited to 64 kB? Your target board would need to do some serious bank switching.
â Johan Myréen
2 days ago
 |Â
show 4 more comments
4
COFF is dead since 30 years, why do you ask?
â schily
2 days ago
i know it's completely crazy and i will probably not be able to get it working at all but i want to try to make a backend for the z80 cpu in gcc and then try to build linux and there is some code in binutils for assembling z80 code in COFF. Also i whould have to not comply with ELF standard since i think it only supports 32bit and 64bit in EI_CLASS
â H32
2 days ago
If there is no ELF postprocessing done in Linux, it could work. Never attempt to give the microsoft compiler a try as it does not support recent compiler features that are needed by the source.
â schily
2 days ago
i know that the linux sources are tied up with gcc, that's why i want to make a backend for gcc.
â H32
2 days ago
@H32 You do realize the Z-80 address space is limited to 64 kB? Your target board would need to do some serious bank switching.
â Johan Myréen
2 days ago
4
4
COFF is dead since 30 years, why do you ask?
â schily
2 days ago
COFF is dead since 30 years, why do you ask?
â schily
2 days ago
i know it's completely crazy and i will probably not be able to get it working at all but i want to try to make a backend for the z80 cpu in gcc and then try to build linux and there is some code in binutils for assembling z80 code in COFF. Also i whould have to not comply with ELF standard since i think it only supports 32bit and 64bit in EI_CLASS
â H32
2 days ago
i know it's completely crazy and i will probably not be able to get it working at all but i want to try to make a backend for the z80 cpu in gcc and then try to build linux and there is some code in binutils for assembling z80 code in COFF. Also i whould have to not comply with ELF standard since i think it only supports 32bit and 64bit in EI_CLASS
â H32
2 days ago
If there is no ELF postprocessing done in Linux, it could work. Never attempt to give the microsoft compiler a try as it does not support recent compiler features that are needed by the source.
â schily
2 days ago
If there is no ELF postprocessing done in Linux, it could work. Never attempt to give the microsoft compiler a try as it does not support recent compiler features that are needed by the source.
â schily
2 days ago
i know that the linux sources are tied up with gcc, that's why i want to make a backend for gcc.
â H32
2 days ago
i know that the linux sources are tied up with gcc, that's why i want to make a backend for gcc.
â H32
2 days ago
@H32 You do realize the Z-80 address space is limited to 64 kB? Your target board would need to do some serious bank switching.
â Johan Myréen
2 days ago
@H32 You do realize the Z-80 address space is limited to 64 kB? Your target board would need to do some serious bank switching.
â Johan Myréen
2 days ago
 |Â
show 4 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Â
draft saved
draft discarded
Â
draft saved
draft discarded
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f460531%2fcan-linux-be-built-with-a-coff-compiler%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4
COFF is dead since 30 years, why do you ask?
â schily
2 days ago
i know it's completely crazy and i will probably not be able to get it working at all but i want to try to make a backend for the z80 cpu in gcc and then try to build linux and there is some code in binutils for assembling z80 code in COFF. Also i whould have to not comply with ELF standard since i think it only supports 32bit and 64bit in EI_CLASS
â H32
2 days ago
If there is no ELF postprocessing done in Linux, it could work. Never attempt to give the microsoft compiler a try as it does not support recent compiler features that are needed by the source.
â schily
2 days ago
i know that the linux sources are tied up with gcc, that's why i want to make a backend for gcc.
â H32
2 days ago
@H32 You do realize the Z-80 address space is limited to 64 kB? Your target board would need to do some serious bank switching.
â Johan Myréen
2 days ago