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.
i have big problems with strings in my user applications ... if i want to send the kernel strings from a user application there are strange problems ..
For example: If i use this way to write a string it works ...
Sounds like a missing .rodata in your linker script... have you checked that?
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
gcc normally puts strings in a special section in your executable: .rodata
If you use a linker script, you should check that it copies .rodata to the output. (common knowledge. see one of Solar's post for an example)
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
I have add the .rodata part in my linker file ... but it doesn't work ...
I have two linker files one for the kernel and an other for the user programs ..