Ty >-----Original Message----- >From: uclinux-dev-boun...@uclinux.org [mailto:uclinux-dev- >boun...@uclinux.org] On Behalf Of David McCullough >Sent: Tuesday, April 13, 2010 12:29 PM >To: uClinux development list >Subject: Re: [uClinux-dev] Creating a new arch > > >Jivin Ben Kloosterman lays it down ... >> I have been working on uCLinux on Arm, since Mono has Arm with the >idea of a >> prototype for a ucLinx + Mono base kernel to start with. >> >> I got it booting in an emulator but now have some issue loading the >root rom >> file system (not a Question I will work it out) I'm quite impressed by >the >> functionality in the lib/toolkit though. >> >> I just want to get a feel of how hard it will be to create an x86_64 >arch eg >> if I copy the latest kernel , apply the ucLinux kernel patch will it >compile >> the Kernel ? How much work is in the libs or will these mostly compile >to >> x86_64 ? Obviously mono will be easier to compile under x86_64. > >Building the uClinux-dist for x86/x86_64 is easy, you just need a good >uClibc config and a kernel config. > >I am not sure there are any x86_64 targets in the tree, but plenty >of systems are x86: > > grep -l i386 vendors/*/*/config.arch > >so that may be a good start. You can just override the compiler options >in your config.arch to get a 64bit build happening. I have done it but >don't seem to have it hanging around any more and can't really recall >the >gotchs. An example might look something like (with a big dose of >maybe): > > ... > CPUFLAGS = -m64 > CPU_CFLAGS = -m64 > TARGETARCH = x86_64-linux > CONFIGURE_HOST = x86_64-linux > CROSS_COMPILE := some-tools-chain-prefix-here- > > include $(ROOTDIR)/vendors/config/i386/config.arch > ... > >You may need to tweak vendors/config/i386/config.arch to get the >settings >right for x86_64 builds though. > >Cheers, >Davidm > >-- >David McCullough, david_mccullo...@mcafee.com, Ph:+61 734352815 >McAfee - SnapGear http://www.mcafee.com >http://www.uCdot.org >_______________________________________________ >uClinux-dev mailing list >uClinux-dev@uclinux.org >http://mailman.uclinux.org/mailman/listinfo/uclinux-dev >This message was resent by uclinux-dev@uclinux.org >To unsubscribe see: >http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev