flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > What is the best file format to my asm files? |
What is the best file format to my asm files (OS Construction Context)? | ||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||
Total Votes : 17 |
Author |
|
Dex4u 19 Jun 2006, 14:46
The file format for my kernel is a mz exe file, i use a bootloader call bootprog to load it, as it can load com or exe files put anyware on the disk, this mean it very easy for testing, and will also run from dos.
I thing the best file format for programs run in your OS would be a bin file with simple header. NOTE: This is for a OS writen in 100% ASM. |
|||
19 Jun 2006, 14:46 |
|
amcl 19 Jun 2006, 21:13
Does the djgpp linker support ELF?
Try the following with the djgpp ld to see what formats it supports. This was issued under Cygwin. Since Windows can't load an ELF file, that format is not supported under the Cygwin toolchain. Code: $ ld -V GNU ld version 2.16.91 20050610 Supported emulations: i386pe If for some reason the djgpp linker does support elf, you could direct it to use that output format like this (assuming elf_i386 was listed): Code:
$ ld -m elf_i386 ...
|
|||
19 Jun 2006, 21:13 |
|
rugxulo 20 Jun 2006, 02:51
I don't think DJGPP by default supports ELF, but try the following (untested by me but might work):
http://elfbinutils.narod.ru/ http://membres.lycos.fr/placr/binutils.html |
|||
20 Jun 2006, 02:51 |
|
Octavio 20 Jun 2006, 10:24
MarcoAlves wrote: Please, what (and why, of course) is the best format to asm files? Consider OS Construction context. On my Os i use 'txt' source files, because programs are assembled at load time ,i found this is the simpler solution. I also use ELF relocatable for programs written in 'C' but donĀ“t know if it is better than the other formats.By default djgpp do not support elf but if the links given by Rugxulo works ,then you can download binutils wich supports elf format. |
|||
20 Jun 2006, 10:24 |
|
MarcoAlves 20 Jun 2006, 12:53
rugxulo wrote: I don't think DJGPP by default supports ELF, but try the following (untested by me but might work): The last link opens. But i can't download the file. Do you have it? Can give it to us? |
|||
20 Jun 2006, 12:53 |
|
rugxulo 20 Jun 2006, 14:15
Yeah, I have it, not sure why people keep having trouble downloading that file though. That's really weird.
It's too big to attach here, so e-mail me, and I'll send it to you. |
|||
20 Jun 2006, 14:15 |
|
MarcoAlves 20 Jun 2006, 17:00
|
|||
20 Jun 2006, 17:00 |
|
rugxulo 20 Jun 2006, 19:17
I have a Gmail account too, and I think they don't allow binaries in .ZIPs, but I'll send it UHarc'd, okay? (should be smaller anyways)
ftp://ftp.sac.sk/pub/sac/pack/uharc06b.zip |
|||
20 Jun 2006, 19:17 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.