Discussion:
[BusyBox] How can i compile the busybox for big-endian mode?
Daniel Yu
2004-10-20 04:14:48 UTC
Permalink
Hi all:
I am using busybox-1.00-rc3 for linux-2.6.6 + ixp425. I add the
CFLAGS: -mbig-endian at "build option"--> "Any extra CFLAGS
options for the compiler". Then i make it and get the busybox
successfully. It is "ELF 32-bit MSB ..." by using command "file busybox".

However, When linux kernel run to the point of invoking /sbin/init,
the busybox can't be executed because i traced the execution flow.
Now, i want to know whether it is right way to compile the busybox
in big-endian mode following my way? Can anyone give some suggestions?
Thank you all in advance.
Daniel
Daniel Yu
2004-10-20 04:54:27 UTC
Permalink
Hi all:
I am using busybox-1.00-rc3 for linux-2.6.6 + ixp425. I add the
CFLAGS: -mbig-endian at "build option"--> "Any extra CFLAGS
options for the compiler". Then i make it and get the busybox
successfully. It is "ELF 32-bit MSB ..." by using command "file busybox".

However, When linux kernel run to the point of invoking /sbin/init,
the busybox can't be executed because i traced the execution flow.
Now, i want to know whether it is right way to compile the busybox
in big-endian mode following my way? Can anyone give some suggestions?
Thank you all in advance.
Daniel

Loading...