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;
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
add a comment |
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
add a comment |
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
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
compiler-errors sparc rtems
asked Mar 22 at 18:47
MacenaMacena
164
164
add a comment |
add a comment |
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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