I want to build an x86 project, which I want to run in an emulator such as bochs. I guess --native is the wrong way to go about this.
Is there any way to build such an x86 project using the native compiler on the development host rather than a cross compiler? I want to use the same version of gcc and glibc that are on the development host to build the ptxdist project, without building a whole cross compile toolchain that is the same as the native toolchain. Thanks, Aqeel Marc Kleine-Budde wrote: > Robert Schwebel wrote: > >> Please use the mailing list for community questions. Thanks. >> >> On Sun, Nov 04, 2007 at 09:50:16PM -0600, Aqeel Mahesri wrote: >> >>> I am using ptxdist 1.0.0 >>> >> You should switch to 1.0.1, which is in the stable 1.0 series, but has >> the latest bug fixes. >> >> >>> and am having a problem building the linux kernel. I started with the >>> OSELAS.BSP-Pengutronix-GenericI586Glibc-3 project which I then >>> customized to add some libraries and to use kernel 2.6.20. I then >>> build the system with ptxdist --native go. >>> >> Building with --native builds the project, but not for the target >> system, but non-cross, for the development host. So it especially uses >> kernelconfig.native and tries to build it as an UML kernel, to be >> started on the devel machine. >> >> >>> I have the within the configuration, I have the kernel image type set >>> to bzImage. However, when I run ptxdist --native go, it always builds >>> the image as vmlinux, without a bzImage. I don't understand why this >>> is happening and cannot boot the system that is built. I would >>> appreciate your help in fixing this. >>> > > If you use --native a uml kernel is build. And vmlinux is the only valid > target kernel image for uml kernels. > > Marc > -- ptxdist mailing list [email protected]
