Jump to content

Recommended Posts

Posted

Доброе время суток господа линуксоманы! Тут балуюсь в линуксе, хочу написать ОС(типа hello

world Wink Неполучается откомпилить img файл. Команда ld86 выдает no start symbol. В чем может

быть проблема??

[root@localhost my_oc]# ld86 -0 -s -o boot.img boot.o

ld86: no start symbol

  • 3 weeks later...
Posted

Файл img - это что? Если ассемблер, то нудно (по крайней мере, в nasm) определить метку _start начале программы и в начале секции .text написать global _start - туда линкер будет передавать управление.

Posted

Не "нудно", а "нужно", конечно. Хотя можно и так сказать... Smile

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...