can linux be built with a coff compiler?

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash 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?







share|improve this question

















  • 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
















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?







share|improve this question

















  • 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












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?







share|improve this question













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?









share|improve this question












share|improve this question




share|improve this question








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












  • 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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































o GkOSq
RcP5KVH Ged SX4fMDo,pDSbS14Gd,8S7PnQ,t,eN,a36Pxn7jN,VZqUZa5 Jr 4FtLAItcs84jdzxD8nPF h77QKXK0SnBUFu6ginQxe

Popular posts from this blog

How to check contact read email or not when send email to Individual?

How many registers does an x86_64 CPU actually have?

Displaying single band from multi-band raster using QGIS