What is the fastest way to install GCC on Wind River 3.02?












2















I really do not want to just blindly install rpm after rpm of dependencies I think I might need...



I know that this version of Linux is based off of Fedora 11.



I am currently trying to install yum to pull down all of the required files / installers. However, when trying to install yum via a RPM I am missing several dependencies. I have begun the hunt for these dependencies but they are becoming more and more obscure. Before I start installing all of these crazy RPMs is there a better way to approach this?










share|improve this question





























    2















    I really do not want to just blindly install rpm after rpm of dependencies I think I might need...



    I know that this version of Linux is based off of Fedora 11.



    I am currently trying to install yum to pull down all of the required files / installers. However, when trying to install yum via a RPM I am missing several dependencies. I have begun the hunt for these dependencies but they are becoming more and more obscure. Before I start installing all of these crazy RPMs is there a better way to approach this?










    share|improve this question



























      2












      2








      2








      I really do not want to just blindly install rpm after rpm of dependencies I think I might need...



      I know that this version of Linux is based off of Fedora 11.



      I am currently trying to install yum to pull down all of the required files / installers. However, when trying to install yum via a RPM I am missing several dependencies. I have begun the hunt for these dependencies but they are becoming more and more obscure. Before I start installing all of these crazy RPMs is there a better way to approach this?










      share|improve this question
















      I really do not want to just blindly install rpm after rpm of dependencies I think I might need...



      I know that this version of Linux is based off of Fedora 11.



      I am currently trying to install yum to pull down all of the required files / installers. However, when trying to install yum via a RPM I am missing several dependencies. I have begun the hunt for these dependencies but they are becoming more and more obscure. Before I start installing all of these crazy RPMs is there a better way to approach this?







      linux software-installation embedded gcc






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 20 mins ago









      Rui F Ribeiro

      41.8k1483142




      41.8k1483142










      asked Nov 3 '11 at 22:50









      Adam LewisAdam Lewis

      1114




      1114






















          1 Answer
          1






          active

          oldest

          votes


















          1














          The general rule for all Linux distributions and beyond is that you have two options to install a program system-wide:




          1. Use a package manager (like yum) that takes care of all the dependencies and future updates/deinstallation.


          2. Install the program "by hand" and take care of all the dependencies yourself.



          The second option is not recommended on normal systems, especially for large and potentially critical pieces of software like GCC.



          The situation is a bit different with embedded systems, where disk space is much more important than up-to-date software. You don't often do updates on such systems and you don't have as much software installed as on a desktop computer. So a package manager on an embedded system is rarely used.





          But a more important question is: why do you want GCC on such system? If you need to build a specific program from source, you should instead use a cross-compiler on your desktop computer and then copy the binaries over to your device.






          share|improve this answer


























          • Thus far I have used Ubuntu to compile all of the required software. However, we have been informed that we have to build drivers for this specific version of Wind River (it's been modified for our specific project). I was instructed to build the drivers on the target system. Believe me I do not want to put GCC on here, but my hand has been forced.

            – Adam Lewis
            Nov 4 '11 at 14:11











          • A faster solution might be to use qemu to simulate the target platform on your PC. But if that is not possible/allowed, then I'd just compile GCC (an potential dependencies, there shouldn't really be that many) and place in a separated path - like /opt/something on the target.

            – rozcietrzewiacz
            Nov 4 '11 at 14:51











          • You might also consider cross-compiling GCC alone for speed benefits when running on the target. The binaries you might get would probably be rather generic for a given arch.

            – rozcietrzewiacz
            Nov 4 '11 at 14:52













          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f23925%2fwhat-is-the-fastest-way-to-install-gcc-on-wind-river-3-02%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          The general rule for all Linux distributions and beyond is that you have two options to install a program system-wide:




          1. Use a package manager (like yum) that takes care of all the dependencies and future updates/deinstallation.


          2. Install the program "by hand" and take care of all the dependencies yourself.



          The second option is not recommended on normal systems, especially for large and potentially critical pieces of software like GCC.



          The situation is a bit different with embedded systems, where disk space is much more important than up-to-date software. You don't often do updates on such systems and you don't have as much software installed as on a desktop computer. So a package manager on an embedded system is rarely used.





          But a more important question is: why do you want GCC on such system? If you need to build a specific program from source, you should instead use a cross-compiler on your desktop computer and then copy the binaries over to your device.






          share|improve this answer


























          • Thus far I have used Ubuntu to compile all of the required software. However, we have been informed that we have to build drivers for this specific version of Wind River (it's been modified for our specific project). I was instructed to build the drivers on the target system. Believe me I do not want to put GCC on here, but my hand has been forced.

            – Adam Lewis
            Nov 4 '11 at 14:11











          • A faster solution might be to use qemu to simulate the target platform on your PC. But if that is not possible/allowed, then I'd just compile GCC (an potential dependencies, there shouldn't really be that many) and place in a separated path - like /opt/something on the target.

            – rozcietrzewiacz
            Nov 4 '11 at 14:51











          • You might also consider cross-compiling GCC alone for speed benefits when running on the target. The binaries you might get would probably be rather generic for a given arch.

            – rozcietrzewiacz
            Nov 4 '11 at 14:52


















          1














          The general rule for all Linux distributions and beyond is that you have two options to install a program system-wide:




          1. Use a package manager (like yum) that takes care of all the dependencies and future updates/deinstallation.


          2. Install the program "by hand" and take care of all the dependencies yourself.



          The second option is not recommended on normal systems, especially for large and potentially critical pieces of software like GCC.



          The situation is a bit different with embedded systems, where disk space is much more important than up-to-date software. You don't often do updates on such systems and you don't have as much software installed as on a desktop computer. So a package manager on an embedded system is rarely used.





          But a more important question is: why do you want GCC on such system? If you need to build a specific program from source, you should instead use a cross-compiler on your desktop computer and then copy the binaries over to your device.






          share|improve this answer


























          • Thus far I have used Ubuntu to compile all of the required software. However, we have been informed that we have to build drivers for this specific version of Wind River (it's been modified for our specific project). I was instructed to build the drivers on the target system. Believe me I do not want to put GCC on here, but my hand has been forced.

            – Adam Lewis
            Nov 4 '11 at 14:11











          • A faster solution might be to use qemu to simulate the target platform on your PC. But if that is not possible/allowed, then I'd just compile GCC (an potential dependencies, there shouldn't really be that many) and place in a separated path - like /opt/something on the target.

            – rozcietrzewiacz
            Nov 4 '11 at 14:51











          • You might also consider cross-compiling GCC alone for speed benefits when running on the target. The binaries you might get would probably be rather generic for a given arch.

            – rozcietrzewiacz
            Nov 4 '11 at 14:52
















          1












          1








          1







          The general rule for all Linux distributions and beyond is that you have two options to install a program system-wide:




          1. Use a package manager (like yum) that takes care of all the dependencies and future updates/deinstallation.


          2. Install the program "by hand" and take care of all the dependencies yourself.



          The second option is not recommended on normal systems, especially for large and potentially critical pieces of software like GCC.



          The situation is a bit different with embedded systems, where disk space is much more important than up-to-date software. You don't often do updates on such systems and you don't have as much software installed as on a desktop computer. So a package manager on an embedded system is rarely used.





          But a more important question is: why do you want GCC on such system? If you need to build a specific program from source, you should instead use a cross-compiler on your desktop computer and then copy the binaries over to your device.






          share|improve this answer















          The general rule for all Linux distributions and beyond is that you have two options to install a program system-wide:




          1. Use a package manager (like yum) that takes care of all the dependencies and future updates/deinstallation.


          2. Install the program "by hand" and take care of all the dependencies yourself.



          The second option is not recommended on normal systems, especially for large and potentially critical pieces of software like GCC.



          The situation is a bit different with embedded systems, where disk space is much more important than up-to-date software. You don't often do updates on such systems and you don't have as much software installed as on a desktop computer. So a package manager on an embedded system is rarely used.





          But a more important question is: why do you want GCC on such system? If you need to build a specific program from source, you should instead use a cross-compiler on your desktop computer and then copy the binaries over to your device.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 4 '11 at 10:40

























          answered Nov 4 '11 at 10:34









          rozcietrzewiaczrozcietrzewiacz

          29.5k47392




          29.5k47392













          • Thus far I have used Ubuntu to compile all of the required software. However, we have been informed that we have to build drivers for this specific version of Wind River (it's been modified for our specific project). I was instructed to build the drivers on the target system. Believe me I do not want to put GCC on here, but my hand has been forced.

            – Adam Lewis
            Nov 4 '11 at 14:11











          • A faster solution might be to use qemu to simulate the target platform on your PC. But if that is not possible/allowed, then I'd just compile GCC (an potential dependencies, there shouldn't really be that many) and place in a separated path - like /opt/something on the target.

            – rozcietrzewiacz
            Nov 4 '11 at 14:51











          • You might also consider cross-compiling GCC alone for speed benefits when running on the target. The binaries you might get would probably be rather generic for a given arch.

            – rozcietrzewiacz
            Nov 4 '11 at 14:52





















          • Thus far I have used Ubuntu to compile all of the required software. However, we have been informed that we have to build drivers for this specific version of Wind River (it's been modified for our specific project). I was instructed to build the drivers on the target system. Believe me I do not want to put GCC on here, but my hand has been forced.

            – Adam Lewis
            Nov 4 '11 at 14:11











          • A faster solution might be to use qemu to simulate the target platform on your PC. But if that is not possible/allowed, then I'd just compile GCC (an potential dependencies, there shouldn't really be that many) and place in a separated path - like /opt/something on the target.

            – rozcietrzewiacz
            Nov 4 '11 at 14:51











          • You might also consider cross-compiling GCC alone for speed benefits when running on the target. The binaries you might get would probably be rather generic for a given arch.

            – rozcietrzewiacz
            Nov 4 '11 at 14:52



















          Thus far I have used Ubuntu to compile all of the required software. However, we have been informed that we have to build drivers for this specific version of Wind River (it's been modified for our specific project). I was instructed to build the drivers on the target system. Believe me I do not want to put GCC on here, but my hand has been forced.

          – Adam Lewis
          Nov 4 '11 at 14:11





          Thus far I have used Ubuntu to compile all of the required software. However, we have been informed that we have to build drivers for this specific version of Wind River (it's been modified for our specific project). I was instructed to build the drivers on the target system. Believe me I do not want to put GCC on here, but my hand has been forced.

          – Adam Lewis
          Nov 4 '11 at 14:11













          A faster solution might be to use qemu to simulate the target platform on your PC. But if that is not possible/allowed, then I'd just compile GCC (an potential dependencies, there shouldn't really be that many) and place in a separated path - like /opt/something on the target.

          – rozcietrzewiacz
          Nov 4 '11 at 14:51





          A faster solution might be to use qemu to simulate the target platform on your PC. But if that is not possible/allowed, then I'd just compile GCC (an potential dependencies, there shouldn't really be that many) and place in a separated path - like /opt/something on the target.

          – rozcietrzewiacz
          Nov 4 '11 at 14:51













          You might also consider cross-compiling GCC alone for speed benefits when running on the target. The binaries you might get would probably be rather generic for a given arch.

          – rozcietrzewiacz
          Nov 4 '11 at 14:52







          You might also consider cross-compiling GCC alone for speed benefits when running on the target. The binaries you might get would probably be rather generic for a given arch.

          – rozcietrzewiacz
          Nov 4 '11 at 14:52




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f23925%2fwhat-is-the-fastest-way-to-install-gcc-on-wind-river-3-02%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          CARDNET

          Boot-repair Failure: Unable to locate package grub-common:i386

          Aws NAT - Aws IGW- Aws router