SPARC-RTEMS5-GCC ignores or don't find librariesCompiler Error on code with GCC that worked on WindowsCannot find include for limits.h when building a GCC Cross-CompilerWhat is this weird error when I compile my source code with android-ndk-10d?RTEMS compilation and installation errorUndefined reference to `nfsInit`glibc Cross Compile Configure ErrorCompiler errors for GCC (via CUDA) intrinsic functions, but I'm not using anygccgo-gcc510-cross-compile-for-sparc error: 1. libgcc_s.so.1: version `GCC_4.2.0' not found 2. libgcc_s.so.1: wrong ELF type: ELFCLASS32Compile Cython Extensions Error - Pycharm IDEHow to Build RTEMS 4.11 environment properly in a Linux Mint

Is it possible to measure lightning discharges as Nikola Tesla?

Why the difference in metal between 銀行 and お金?

get exit status from system() call

Do I have an "anti-research" personality?

What word means to make something obsolete?

What is the difference between `a[bc]d` (brackets) and `ab,cd` (braces)?

Why didn't this hurt this character as badly?

Why are the 2nd/3rd singular forms of present of « potere » irregular?

When and why did journal article titles become descriptive, rather than creatively allusive?

gnu parallel how to use with ffmpeg

Phrase for the opposite of "foolproof"

What is the point of Germany's 299 "party seats" in the Bundestag?

Can a creature tell when it has been "Portented"?

Can my Warlock be invisible and attack with its familiar?

Examples of non trivial equivalence relations , I mean equivalence relations without the expression " same ... as" in their definition?

Reverse the word in a string with the same order in javascript

Has any spacecraft ever had the ability to directly communicate with civilian air traffic control?

Pulling the rope with one hand is as heavy as with two hands?

Can not tell colimits from limits

How to set the font color of quantity objects (Version 11.3 vs version 12)?

What does "rf" mean in "rfkill"?

In gnome-terminal only 2 out of 3 zoom keys work

Any examples of headwear for races with animal ears?

Can solid acids and bases have pH values? If not, how are they classified as acids or bases?



SPARC-RTEMS5-GCC ignores or don't find libraries


Compiler Error on code with GCC that worked on WindowsCannot find include for limits.h when building a GCC Cross-CompilerWhat is this weird error when I compile my source code with android-ndk-10d?RTEMS compilation and installation errorUndefined reference to `nfsInit`glibc Cross Compile Configure ErrorCompiler errors for GCC (via CUDA) intrinsic functions, but I'm not using anygccgo-gcc510-cross-compile-for-sparc error: 1. libgcc_s.so.1: version `GCC_4.2.0' not found 2. libgcc_s.so.1: wrong ELF type: ELFCLASS32Compile Cython Extensions Error - Pycharm IDEHow to Build RTEMS 4.11 environment properly in a Linux Mint






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I'm a beginner with RTEMS and I have built a RTEMS5 environment for an erc32 chip (the example in RTEMS Docs) in my computer with
linux mint. The environment comes with sample applications. I'm trying to compile the
sample from "hello" (init.c) using sparc-rtems5-gcc, here's the command line:



sparc-rtems5-gcc -g -O2 /home/michel/masters_project/src/rtems/testsuites/samples/hello/init.c -o /home/michel/masters_project/compile_test/hello2.exe


but it returns the following error:



fatal error: rtems.h: No such file or directory
#include <rtems.h>
^~~~~~~~~
compilation terminated.


So I tried to comment rtems.h in the init.c code and leave the next library of the code,
tmacros.h, so I tried to compile again and had the following error:



fatal error: tmacros.h: No such file or directory
#include <tmacros.h>
^~~~~~~~~~~
compilation terminated.


I have used the locate command and found these libraries in the envinronment tree.
As far as I perceived the sparc-rtems5-gcc does not find or ignore the libraries.
I added the bin folder to the PATH variable.
command line:



export PATH=$HOME/masters_project/rtems/5/bin:"$PATH"


Also I have created the variable
RTEMS_MAKEFILE_PATH based in older versions instructions. I found
that RTEMS_MAKEFILE_PATH variable should point to where the BSP files are. But
I'm not sure if in the present version of RTEMS it is still necessary to create this environment variable since I have not found any instructions for this in the main docs.



command line:



export RTEMS_MAKEFILE_PATH=/home/michel/masters_project/build/b-erc32


Could someone help ? Also if you have a working environment could you copy your project
tree for me ?



my uname -a command output:



Linux michel-COM 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux









share|improve this question




























    0















    I'm a beginner with RTEMS and I have built a RTEMS5 environment for an erc32 chip (the example in RTEMS Docs) in my computer with
    linux mint. The environment comes with sample applications. I'm trying to compile the
    sample from "hello" (init.c) using sparc-rtems5-gcc, here's the command line:



    sparc-rtems5-gcc -g -O2 /home/michel/masters_project/src/rtems/testsuites/samples/hello/init.c -o /home/michel/masters_project/compile_test/hello2.exe


    but it returns the following error:



    fatal error: rtems.h: No such file or directory
    #include <rtems.h>
    ^~~~~~~~~
    compilation terminated.


    So I tried to comment rtems.h in the init.c code and leave the next library of the code,
    tmacros.h, so I tried to compile again and had the following error:



    fatal error: tmacros.h: No such file or directory
    #include <tmacros.h>
    ^~~~~~~~~~~
    compilation terminated.


    I have used the locate command and found these libraries in the envinronment tree.
    As far as I perceived the sparc-rtems5-gcc does not find or ignore the libraries.
    I added the bin folder to the PATH variable.
    command line:



    export PATH=$HOME/masters_project/rtems/5/bin:"$PATH"


    Also I have created the variable
    RTEMS_MAKEFILE_PATH based in older versions instructions. I found
    that RTEMS_MAKEFILE_PATH variable should point to where the BSP files are. But
    I'm not sure if in the present version of RTEMS it is still necessary to create this environment variable since I have not found any instructions for this in the main docs.



    command line:



    export RTEMS_MAKEFILE_PATH=/home/michel/masters_project/build/b-erc32


    Could someone help ? Also if you have a working environment could you copy your project
    tree for me ?



    my uname -a command output:



    Linux michel-COM 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux









    share|improve this question
























      0












      0








      0








      I'm a beginner with RTEMS and I have built a RTEMS5 environment for an erc32 chip (the example in RTEMS Docs) in my computer with
      linux mint. The environment comes with sample applications. I'm trying to compile the
      sample from "hello" (init.c) using sparc-rtems5-gcc, here's the command line:



      sparc-rtems5-gcc -g -O2 /home/michel/masters_project/src/rtems/testsuites/samples/hello/init.c -o /home/michel/masters_project/compile_test/hello2.exe


      but it returns the following error:



      fatal error: rtems.h: No such file or directory
      #include <rtems.h>
      ^~~~~~~~~
      compilation terminated.


      So I tried to comment rtems.h in the init.c code and leave the next library of the code,
      tmacros.h, so I tried to compile again and had the following error:



      fatal error: tmacros.h: No such file or directory
      #include <tmacros.h>
      ^~~~~~~~~~~
      compilation terminated.


      I have used the locate command and found these libraries in the envinronment tree.
      As far as I perceived the sparc-rtems5-gcc does not find or ignore the libraries.
      I added the bin folder to the PATH variable.
      command line:



      export PATH=$HOME/masters_project/rtems/5/bin:"$PATH"


      Also I have created the variable
      RTEMS_MAKEFILE_PATH based in older versions instructions. I found
      that RTEMS_MAKEFILE_PATH variable should point to where the BSP files are. But
      I'm not sure if in the present version of RTEMS it is still necessary to create this environment variable since I have not found any instructions for this in the main docs.



      command line:



      export RTEMS_MAKEFILE_PATH=/home/michel/masters_project/build/b-erc32


      Could someone help ? Also if you have a working environment could you copy your project
      tree for me ?



      my uname -a command output:



      Linux michel-COM 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux









      share|improve this question














      I'm a beginner with RTEMS and I have built a RTEMS5 environment for an erc32 chip (the example in RTEMS Docs) in my computer with
      linux mint. The environment comes with sample applications. I'm trying to compile the
      sample from "hello" (init.c) using sparc-rtems5-gcc, here's the command line:



      sparc-rtems5-gcc -g -O2 /home/michel/masters_project/src/rtems/testsuites/samples/hello/init.c -o /home/michel/masters_project/compile_test/hello2.exe


      but it returns the following error:



      fatal error: rtems.h: No such file or directory
      #include <rtems.h>
      ^~~~~~~~~
      compilation terminated.


      So I tried to comment rtems.h in the init.c code and leave the next library of the code,
      tmacros.h, so I tried to compile again and had the following error:



      fatal error: tmacros.h: No such file or directory
      #include <tmacros.h>
      ^~~~~~~~~~~
      compilation terminated.


      I have used the locate command and found these libraries in the envinronment tree.
      As far as I perceived the sparc-rtems5-gcc does not find or ignore the libraries.
      I added the bin folder to the PATH variable.
      command line:



      export PATH=$HOME/masters_project/rtems/5/bin:"$PATH"


      Also I have created the variable
      RTEMS_MAKEFILE_PATH based in older versions instructions. I found
      that RTEMS_MAKEFILE_PATH variable should point to where the BSP files are. But
      I'm not sure if in the present version of RTEMS it is still necessary to create this environment variable since I have not found any instructions for this in the main docs.



      command line:



      export RTEMS_MAKEFILE_PATH=/home/michel/masters_project/build/b-erc32


      Could someone help ? Also if you have a working environment could you copy your project
      tree for me ?



      my uname -a command output:



      Linux michel-COM 4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux






      compiler-errors sparc rtems






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 22 at 18:47









      MacenaMacena

      164




      164






















          0






          active

          oldest

          votes












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          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: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2fstackoverflow.com%2fquestions%2f55306034%2fsparc-rtems5-gcc-ignores-or-dont-find-libraries%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • 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%2fstackoverflow.com%2fquestions%2f55306034%2fsparc-rtems5-gcc-ignores-or-dont-find-libraries%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

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

          155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해