64 bit

vamsi krishna vamsi.krishnak at gmail.com
Mon Jun 13 07:41:47 UTC 2005


Hello,

Add the following flags for 32-bit compilation on amd64 bit machine.

gcc: add option -m32
ld: add -melf_i386

I dont think you need to recompile any gcc/gnu software.

Thanks
Vamsi kundeti

On 6/13/05, Saurabh Bathe <sbathe at gmail.com> wrote:
> ravi chandra wrote:
> 
> >how to cross compile a 64 bit kernel on 32 bit environment
> >
> >
> >
> >__________________________________
> >Yahoo! Mail Mobile
> >Take Yahoo! Mail with you! Check email on your mobile phone.
> >http://mobile.yahoo.com/learn/mail
> >
> >
> >
> Hi,
> 
> This is not impossible but quite difficult to achieve.
> I have never done this myself, but what I know is that you need to
> recompile the complete gcc-toolchain so that it recognizes and compiles
> 64 bit. (this includes glibc and gcc and possibly kernel as well)
> Please correct me if I am wrong though.
> 
> Infact the reverse is quite possible and simple. If possible I would
> prefer to have a 64 bit machine (AMD64 or Intel EM64T) which can do 32
> bit compile easily just by installing the proper devel libs.
> 
> Regards,
> Saurabh
> 
> --
> amd64-list mailing list
> amd64-list at redhat.com
> https://www.redhat.com/mailman/listinfo/amd64-list
>




More information about the amd64-list mailing list