Re: Compiling packages from source on Ultrasparc

From: Ben Collins (bcollins@debian.org)
Date: Sun Nov 17 2002 - 20:23:02 EST


On Sun, Nov 17, 2002 at 08:00:11PM -0500, Shanti Katta wrote:
> Hi,
> I understand that userland is 32-bit on Ultrasparc. I am trying to
> compile user-mode-linux on Ultrasparc, and I guess I need to compile it
> in 32-bit mode for it to run as a normal user-level process. UML make
> use of certain files in asm-{base-arch} during compilation. Now, to
> compile uml in 32-bit mode, I did not include any flags in
> makefiles(like -m64, -mcpu=ultrasparc) that would include 64-bit
> specific asm code.
> My question is that, what difference does it make when I compile UML, in
> a sparc32 shell, as compared to the above process without executing the
> sparc32 shell. I understand that if compiled in sparc32 shell, it
> recognizes the host-arch as "sparc" instead of "sparc64". But other than
> that, does it make any other difference? I am also not sure, which is
> the right method for compiling UML.
> Any pointers will be appreciated.

To compile it as a 32bit app, use the sparc32 wrapper to be safe, or
pass sparc as the target arch for UML.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:20 EST