ld for windows and ELF

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
Brill

ld for windows and ELF

Post by Brill »

Hi, is there a version of ld (windows version) that supports the elf file format?
I have a copy of binutils from djgpp but supplied version of ld has no elf support.
I was using linux happily but the bochs emulator started having nasty effects with my installation of kde, causing parts to crash and vmware needs a compiled active kernel which just screws up when i try and compile one with gcc saying segmentation fault on pretty much any .c file (plus every time i try to re-compile it the file that causes the segmentation fault changes :/).
My code works fine under windows vmware, and i don't really want to change file formats. I'm using elf because i don't have to define table locations of my os to multiboot.
So, is there another version out there. What other linkers support the elf format?
Chase

RE:ld for windows and ELF

Post by Chase »

Supposedly you can rebuild the djgpp build tools to work.
See: http://www.mega-tokyo.com/os/os-faq-elf.html#elf_files

-Chase
Post Reply