[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling Stage1

From: Riaan Jonker
Subject: Compiling Stage1
Date: Thu, 27 Mar 2003 22:56:11 +0200

I was wondering if there is a special way to compile the stage1,
(stage1.S & stage1.h) of GRUB.

First, the compiler gives an error on Line 359 (grub 0.93) when I want
to jump to stage2.

Secondly, the stage1 binary should be 512 bytes, but when I compile
it, it is 2.2Kb.

I use:
  g++ version 3.2 20020903 (Rad Hat Linux 8.0 3.2-7)
  gcc -c stage1.s
  ld stage1.o -o stage1.bin -format binary

Any Ideas??


reply via email to

[Prev in Thread] Current Thread [Next in Thread]