Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
because when i compile plugin in i686-linux-gnu mode every thing is ok but in i486-linux-gnu the plugin crach so i need to change my gcc and g++ in i686-linux-gnu mode
then the "computer" IS restarting if the set-top box is rebooting ( a set top is a computer)
-- edit - added later ---
or is "dreambox" a very bad language translation ? if so is it VirtualBox VB)
the 486 cpu is a bit old
what is it you are doing ?
building software for the very old 486 hardware ?
i need to Switching gcc and g++ from i486-linux-gnu to i686-linux-gnu target
Why do you think that would help?
I'm sure you are ignoring a lot of differences between the situation that worked and the situation that failed. It is most likely one of the differences you are ignoring is responsible for the failure.
You haven't given enough information for us to make reasonable estimates of the correct diagnosis for your problem.
Recompiling gcc would be needed to make the change you think you need. You could download gcc source code and follow the included instructions and do that. But I suspect the process would be too difficult for you and more importantly wouldn't do you any good, because I'm pretty sure you are wrong about the gcc target even mattering.
There is also an option -march=i686 that can be used to make gcc produce roughly the same compiled code that it would have produced if gcc itself had been built for a target of i686. The makefile you are using for enigma probably would take such options via the CFLAGS environment variable, so you could compile enigma for i686 even using a gcc whose target is i486. That would be much easier than recompiling gcc itself. If you were correct (which I still really doubt) that the gcc target is a significant factor in your problem, the likely using -march=i686 would be as good as changing the gcc target.
Quote:
Originally Posted by weibullguy
Are you sure the problem is the target and not the gcc version?
I would guess the problem is something else entirely, neither the target nor the gcc version. We don't know exactly what the OP tried on each machine, so it is reasonable to expect there are a wide variety of differences between the two situations.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.