>In the guest directory the line that LD uses to make the final object has >kernel: $(OBJS) > $(CC) -o kernel -Wl, -Ttext, 0x100000 -nostartfiles -nostdlib >$(OBJS) > >BeOS does not like the .text section at this location Can this BE ;-) >changed or is this critical to the operation of the test kernels? It is not critical to the operation of the test kernels, but that doesn't mean you should change it. If plex86 doesn't run a kernel compiled at this address, then this is a bug !! After all, they do run on the bare hardware, and plex86 is a virtual machine. Moreover, we should also be able to run closed-source OSes, which may be compiled at this address. So if this doesn't work, then fix the BeOS port (or fix BeOS ;)), not the kernels. >My >second question is does anyone have any idea why BeOS' compiler spits out >"NOT ENOUGH ROOM FOR PROGRAM HEADERS" when -Ttext,0x100000 is left in the >options list? The objects compile successfully if the compiler is allowed >to place the .text section. Perhaps BeOS uses a super-weird linkmap... perhaps we should write a custom linkmap for the test kernels ? -- Ramon
