compile busybox on a Pentium3 for Pentium-mmx = segmentation fault
Felipe C.
felipe33662 at gmail.com
Fri Nov 24 15:01:00 PST 2006
Let me try again:
I don't have any problems compiling bb. It works just fine no matter the
configuration. I even know that the executable works (on any machine with a
Pentium 2 or better). When I run it on the Pentium mmx I get a segmentation
fault.
What I am trying to figure out is how to tell busybox to compile without the
default optimizations for the current host. The only way out that I figured
out so far was to create a gcc cross-compiler with target=i586 and then
change the busybox configuration to use it. It works but I would assume that
there must be an easier way to compile the busybox using the host gcc as
long the host and the target share the same architecture (something like
compiling the kernel - I can compile it for any x86 on the i686 using the
standard gcc).
Thanks
Felipe
On 11/24/06, Denis Vlasenko <vda.linux at googlemail.com> wrote:
>
> On Friday 24 November 2006 12:04, Felipe C. wrote:
> > When I compile busybox on my Pentium 3 (running Suse 10) and try to run
> it
> > on my pentium mmx I get a segmentation fault. Is there a way to tell
> busybox
> > to not optimize too much?
> >
> > The only way I could get busybox to compile on the Pentium 3 and run on
> the
> > Pentium mmx was using a "cross-compiler" created for i386. Is that the
> only
> > way? I would assume I could use any compiler for the architecture x86 to
> > optimize to any of its CPUs, isn't that right?
>
> Please give more details:
> .config
> gcc -v
> make V=1
>
> --
> vda
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/busybox/attachments/20061124/6e679f44/attachment.htm
More information about the busybox
mailing list