[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] Mini-OS Makefile and Cross Compilation
On 3/4/07 00:11, "John D. Ramsdell" <ramsdell@xxxxxxxxx> wrote:
> I decided to carefully read the makefiles in the Mini-OS directories.
> I discovered that the one in the root directory calls for $(OBJCOPY).
> When using a cross compiler, this variable evaluates to objcopy, but
> the installation of a cross compiler does not produce a binary named
> objcopy. When the target is i386-elf, it puts i386-elf-objcopy in the
> bin directory where it is installed, but objcopy is not put the
> i386-elf/bin directory. Is this makefile intended to be used with a
> cross compiler? I'd gladly specify a target of i386-elf on the
> command line if that helps.
I doubt anyone has ever cross-compiled the minios. I'd suggest making its
build system more like Xen's in terms of how it picks up the tool chain (Xen
can be cross compiled). I have no specific pointers on how to do that.
Xen-devel mailing list