Linux Mint + FriendlyARM 2440: Cannot install and execute cross-compiler and toolschain...












1














I have installed Linux Mint 17 on my 32-bit laptop and bought a FriendlyARM Mini2440 development board to do some basic programming and learn concepts of Linux.



However, I couldn't find any documentation on how to install the cross-compiler and toolchain for FriendlyARM Mini2440 on Linux Mint (I found it for Ubuntu, though). I am using this tutorial to start my system and have followed all the steps.



My problem is that while I am able to install and execute the cross-compiler and toolchain correctly for the first time, after restarting, when I issue the command arm-none-linux-gnueabi-cc –v, it gives me an error.



How can I get FriendlyARM Mini2440 to work on Linux Mint?










share|improve this question




















  • 2




    Hi and welcome to the site. Please take a moment and read through our help center or take the tour to understand how the site works. Each question should only be about a single issue, separate issues should be posted as different questions. I have edited your question and removed the second one.
    – terdon
    Feb 20 '16 at 12:18










  • Hi terdon, thanks a ton !!
    – Abhishek
    Feb 23 '16 at 3:48
















1














I have installed Linux Mint 17 on my 32-bit laptop and bought a FriendlyARM Mini2440 development board to do some basic programming and learn concepts of Linux.



However, I couldn't find any documentation on how to install the cross-compiler and toolchain for FriendlyARM Mini2440 on Linux Mint (I found it for Ubuntu, though). I am using this tutorial to start my system and have followed all the steps.



My problem is that while I am able to install and execute the cross-compiler and toolchain correctly for the first time, after restarting, when I issue the command arm-none-linux-gnueabi-cc –v, it gives me an error.



How can I get FriendlyARM Mini2440 to work on Linux Mint?










share|improve this question




















  • 2




    Hi and welcome to the site. Please take a moment and read through our help center or take the tour to understand how the site works. Each question should only be about a single issue, separate issues should be posted as different questions. I have edited your question and removed the second one.
    – terdon
    Feb 20 '16 at 12:18










  • Hi terdon, thanks a ton !!
    – Abhishek
    Feb 23 '16 at 3:48














1












1








1


1





I have installed Linux Mint 17 on my 32-bit laptop and bought a FriendlyARM Mini2440 development board to do some basic programming and learn concepts of Linux.



However, I couldn't find any documentation on how to install the cross-compiler and toolchain for FriendlyARM Mini2440 on Linux Mint (I found it for Ubuntu, though). I am using this tutorial to start my system and have followed all the steps.



My problem is that while I am able to install and execute the cross-compiler and toolchain correctly for the first time, after restarting, when I issue the command arm-none-linux-gnueabi-cc –v, it gives me an error.



How can I get FriendlyARM Mini2440 to work on Linux Mint?










share|improve this question















I have installed Linux Mint 17 on my 32-bit laptop and bought a FriendlyARM Mini2440 development board to do some basic programming and learn concepts of Linux.



However, I couldn't find any documentation on how to install the cross-compiler and toolchain for FriendlyARM Mini2440 on Linux Mint (I found it for Ubuntu, though). I am using this tutorial to start my system and have followed all the steps.



My problem is that while I am able to install and execute the cross-compiler and toolchain correctly for the first time, after restarting, when I issue the command arm-none-linux-gnueabi-cc –v, it gives me an error.



How can I get FriendlyARM Mini2440 to work on Linux Mint?







compiling arm






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 hours ago









Rui F Ribeiro

39.2k1479130




39.2k1479130










asked Feb 9 '16 at 6:03









Abhishek

251112




251112








  • 2




    Hi and welcome to the site. Please take a moment and read through our help center or take the tour to understand how the site works. Each question should only be about a single issue, separate issues should be posted as different questions. I have edited your question and removed the second one.
    – terdon
    Feb 20 '16 at 12:18










  • Hi terdon, thanks a ton !!
    – Abhishek
    Feb 23 '16 at 3:48














  • 2




    Hi and welcome to the site. Please take a moment and read through our help center or take the tour to understand how the site works. Each question should only be about a single issue, separate issues should be posted as different questions. I have edited your question and removed the second one.
    – terdon
    Feb 20 '16 at 12:18










  • Hi terdon, thanks a ton !!
    – Abhishek
    Feb 23 '16 at 3:48








2




2




Hi and welcome to the site. Please take a moment and read through our help center or take the tour to understand how the site works. Each question should only be about a single issue, separate issues should be posted as different questions. I have edited your question and removed the second one.
– terdon
Feb 20 '16 at 12:18




Hi and welcome to the site. Please take a moment and read through our help center or take the tour to understand how the site works. Each question should only be about a single issue, separate issues should be posted as different questions. I have edited your question and removed the second one.
– terdon
Feb 20 '16 at 12:18












Hi terdon, thanks a ton !!
– Abhishek
Feb 23 '16 at 3:48




Hi terdon, thanks a ton !!
– Abhishek
Feb 23 '16 at 3:48










1 Answer
1






active

oldest

votes


















1














In the link https://alselectro.wordpress.com/category/friendly-arm-mini2440/
they suggest pasting the following line into /root/.bashrc:



export PATH=$PATH:/opt/FriendlyArm/toolschain/4.4.3/bin


However, I didn't have the /root/.bashrc file in my Linux Mint, so I was getting an error for arm-none-linux-gnueabi-cc –v.



After much searching, I found that I can paste the path /root/.profile/ instead.



After doing this, the arm compiler is initialized on start-up and seems to be working fine now.



Although the procedures in the link are for FriendlyARM2440 + Ubuntu, I have tested all of them for Linux Mint 17, and except for this small change, all seem to work fine.






share|improve this answer



















  • 1




    Note that /root/.bashrc simply doesn't exist by default. You could have just as easily created it yourself but, in any case, ~/.profile is better. However, you really shouldn't be doing this as root. You should do it as a regular user and use your ~/.profile file instead.
    – terdon
    Feb 20 '16 at 12:24










  • Can you provide some references regarding FriendlyARM2440 + Linux Mint ?? For eg. sample examples, rtos, cross compiler etc.
    – Abhishek
    Feb 23 '16 at 3:50











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%2f260901%2flinux-mint-friendlyarm-2440-cannot-install-and-execute-cross-compiler-and-too%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














In the link https://alselectro.wordpress.com/category/friendly-arm-mini2440/
they suggest pasting the following line into /root/.bashrc:



export PATH=$PATH:/opt/FriendlyArm/toolschain/4.4.3/bin


However, I didn't have the /root/.bashrc file in my Linux Mint, so I was getting an error for arm-none-linux-gnueabi-cc –v.



After much searching, I found that I can paste the path /root/.profile/ instead.



After doing this, the arm compiler is initialized on start-up and seems to be working fine now.



Although the procedures in the link are for FriendlyARM2440 + Ubuntu, I have tested all of them for Linux Mint 17, and except for this small change, all seem to work fine.






share|improve this answer



















  • 1




    Note that /root/.bashrc simply doesn't exist by default. You could have just as easily created it yourself but, in any case, ~/.profile is better. However, you really shouldn't be doing this as root. You should do it as a regular user and use your ~/.profile file instead.
    – terdon
    Feb 20 '16 at 12:24










  • Can you provide some references regarding FriendlyARM2440 + Linux Mint ?? For eg. sample examples, rtos, cross compiler etc.
    – Abhishek
    Feb 23 '16 at 3:50
















1














In the link https://alselectro.wordpress.com/category/friendly-arm-mini2440/
they suggest pasting the following line into /root/.bashrc:



export PATH=$PATH:/opt/FriendlyArm/toolschain/4.4.3/bin


However, I didn't have the /root/.bashrc file in my Linux Mint, so I was getting an error for arm-none-linux-gnueabi-cc –v.



After much searching, I found that I can paste the path /root/.profile/ instead.



After doing this, the arm compiler is initialized on start-up and seems to be working fine now.



Although the procedures in the link are for FriendlyARM2440 + Ubuntu, I have tested all of them for Linux Mint 17, and except for this small change, all seem to work fine.






share|improve this answer



















  • 1




    Note that /root/.bashrc simply doesn't exist by default. You could have just as easily created it yourself but, in any case, ~/.profile is better. However, you really shouldn't be doing this as root. You should do it as a regular user and use your ~/.profile file instead.
    – terdon
    Feb 20 '16 at 12:24










  • Can you provide some references regarding FriendlyARM2440 + Linux Mint ?? For eg. sample examples, rtos, cross compiler etc.
    – Abhishek
    Feb 23 '16 at 3:50














1












1








1






In the link https://alselectro.wordpress.com/category/friendly-arm-mini2440/
they suggest pasting the following line into /root/.bashrc:



export PATH=$PATH:/opt/FriendlyArm/toolschain/4.4.3/bin


However, I didn't have the /root/.bashrc file in my Linux Mint, so I was getting an error for arm-none-linux-gnueabi-cc –v.



After much searching, I found that I can paste the path /root/.profile/ instead.



After doing this, the arm compiler is initialized on start-up and seems to be working fine now.



Although the procedures in the link are for FriendlyARM2440 + Ubuntu, I have tested all of them for Linux Mint 17, and except for this small change, all seem to work fine.






share|improve this answer














In the link https://alselectro.wordpress.com/category/friendly-arm-mini2440/
they suggest pasting the following line into /root/.bashrc:



export PATH=$PATH:/opt/FriendlyArm/toolschain/4.4.3/bin


However, I didn't have the /root/.bashrc file in my Linux Mint, so I was getting an error for arm-none-linux-gnueabi-cc –v.



After much searching, I found that I can paste the path /root/.profile/ instead.



After doing this, the arm compiler is initialized on start-up and seems to be working fine now.



Although the procedures in the link are for FriendlyARM2440 + Ubuntu, I have tested all of them for Linux Mint 17, and except for this small change, all seem to work fine.







share|improve this answer














share|improve this answer



share|improve this answer








edited Feb 20 '16 at 12:23









terdon

128k31252427




128k31252427










answered Feb 12 '16 at 4:49









Abhishek

251112




251112








  • 1




    Note that /root/.bashrc simply doesn't exist by default. You could have just as easily created it yourself but, in any case, ~/.profile is better. However, you really shouldn't be doing this as root. You should do it as a regular user and use your ~/.profile file instead.
    – terdon
    Feb 20 '16 at 12:24










  • Can you provide some references regarding FriendlyARM2440 + Linux Mint ?? For eg. sample examples, rtos, cross compiler etc.
    – Abhishek
    Feb 23 '16 at 3:50














  • 1




    Note that /root/.bashrc simply doesn't exist by default. You could have just as easily created it yourself but, in any case, ~/.profile is better. However, you really shouldn't be doing this as root. You should do it as a regular user and use your ~/.profile file instead.
    – terdon
    Feb 20 '16 at 12:24










  • Can you provide some references regarding FriendlyARM2440 + Linux Mint ?? For eg. sample examples, rtos, cross compiler etc.
    – Abhishek
    Feb 23 '16 at 3:50








1




1




Note that /root/.bashrc simply doesn't exist by default. You could have just as easily created it yourself but, in any case, ~/.profile is better. However, you really shouldn't be doing this as root. You should do it as a regular user and use your ~/.profile file instead.
– terdon
Feb 20 '16 at 12:24




Note that /root/.bashrc simply doesn't exist by default. You could have just as easily created it yourself but, in any case, ~/.profile is better. However, you really shouldn't be doing this as root. You should do it as a regular user and use your ~/.profile file instead.
– terdon
Feb 20 '16 at 12:24












Can you provide some references regarding FriendlyARM2440 + Linux Mint ?? For eg. sample examples, rtos, cross compiler etc.
– Abhishek
Feb 23 '16 at 3:50




Can you provide some references regarding FriendlyARM2440 + Linux Mint ?? For eg. sample examples, rtos, cross compiler etc.
– Abhishek
Feb 23 '16 at 3:50


















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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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%2f260901%2flinux-mint-friendlyarm-2440-cannot-install-and-execute-cross-compiler-and-too%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

濃尾地震