flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Help with compiling a C OS... |
Author |
|
DataHunter2009 13 Jun 2005, 18:40
Really sorry about the double post, but I am having problems with the LD linker program...
when i try to link two files called ks.o and kernel.o together, i get an error about the file format ".o" not being recognized. Has anyone else had thos problem, and how can I fix it? |
|||
13 Jun 2005, 18:40 |
|
bogdanontanu 13 Jun 2005, 23:41
Just in case you have not noticed... this is an ASM forum. Many here are C/C++ programmers for a living; but there are forums for this also.
As a word of advice get to know your tools. If you like C i guess you should already have a favourite toolchain. If not learn one Starting an OS is not for newbies... although it looks like the most popular occupation lately It might be a good thing for learning low level stuff but you should be very good in one general programming language first. Anyway if you have the sources for a certain OS in C (not written by you as I presume) please do respect the tool chain suggested by the author. And I do suggest that you go on and download gcc, VC, plus whatever C/C++ tools or IDE's you might need. The error is probaly because you are not using the right makefiles, shell scripts, .BAT or command line options for your linker/compiler and project. |
|||
13 Jun 2005, 23:41 |
|
DataHunter2009 14 Jun 2005, 00:04
Sorry about posting this here. But it turns out that it won't work by using the ELF format... it has to use COFF. Anyway, that's fixed now.
|
|||
14 Jun 2005, 00:04 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.