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.
Well, if I just use the cross compiler and still use my version of ld, I still get the wrong addresses though...
Thanks for putting me out of my misery by the way...
And have I ever told you how much I appreciate your work as an admin
Thanks in advance,
Since I pressume you have no problem with calling asm functions, I presume the problems my linker is at fault...
So I'll try to see what I can do with the format to make your linker happy...
Jules
You're still using the host platform's linker (ld), not the cross-linker (i386-elf-ld)
(I bet the same holds for gcc vs i386-elf-gcc)
"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 ]
Damn it..., God,why must you thwart me at each stage of my plan to overtake the world with my super OS
I am now using the i386-elf- cross binutils/compiler, but know GCC is demanding cc1, I've put cc1 in the same file as it, but it still says no such file or directory...
I don't know what to do... damn win32...
Any help?
Thanks in advance,
Jules
P.S. I realise this forum isn't for idiots who can't get their compiler working, but could you make a special exception for me
You may not have to because I don't do that in my HAL.asm but I needed to in my loader because I am using GRUB for stage 1 and 2 and I saw in the GRUB Multiboot specs example code the use of that and without it I could not get my code to work like with my HAL.asm, so once I added that it worked, so maybe for you it will too. So, the short answer is I think it is a linker/djgpp thing. It may not relate to your problem.
Free energy is indeed evil for it absorbs the light.