Where would I learn C and Assembly?

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.
User avatar
iansjack
Member
Member
Posts: 4706
Joined: Sat Mar 31, 2012 3:07 am
Location: Chichester, UK

Re: Where would I learn C and Assembly?

Post by iansjack »

Schol-R-LEA wrote:I sincerely apologize for this. This is a genuine failure on the part of this group, and points to a real need to review all of the older material in the wiki, especially in the parts aimed at new OS-Devvers.

In this case, the solution - which is the solution that the wiki should have emphasized more in the first place - is to add an .rodata section to your linker script.
I cannot help but think that if the problem were this simple someone would have noticed this already.

The problem is that we have no information of how the code is being booted. Is the OP following bare bones? Who knows? And is the OP using a cross-compiler? I'm 101% sure what the answer to that is. So the real problem is not with the code or the computer or whatever. It is the abysmally framed question. (It doesn't work. Why doesn't it work? That's it.) I assure you, such a question wouldn't get the same treatment on SE - they wouldn't bother; they'd just delete it.
Post Reply