Hi
I am trying to use this command in linux. I don't know much about 'ld'
so i am not able to interpret this error message.
This is a small basic opertaing system and i am going to build over it but i could link these two files
please help
Command
ld -Ttext=0x9000 -o ../source/temp/kernel32 ../source/object/kernelasm.o ../source/object/kernel32.o -e 0x0
Error
../source/object/kernel32.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
Thanks in Advance
Johnny ???
Problem with "ld" while liniking
Re:Problem with "ld" while liniking
It means you've tried to use C++. If you want to do this, you will need to write a certain amount of support code to get things to link.
What you could do is either:
-- write all your code in C, not C++
-- link against libgcc.a, or follow the instructions in Writing a Kernel in C++
What you could do is either:
-- write all your code in C, not C++
-- link against libgcc.a, or follow the instructions in Writing a Kernel in C++