LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 05-04-2015, 12:15 AM   #1
AbdulWahab
LQ Newbie
 
Registered: Apr 2015
Posts: 28

Rep: Reputation: Disabled
how to run .c file in tq2440 board


Hi all, I have a tq2440 board and I want to run Hello.c into board. I compile and make a binary file in redhat linux 9 and it successfully run on it. but It don't run on tq2440. Do I need to install gcc in tq2440 board also. Please tell me

Thanks

--
Abdul Wahab
 
Old 05-04-2015, 06:41 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,760

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
The TQ2440 uses a different processor then the RH 9 system. You will need to setup an ARM toolchain and cross compiler. Did you receive any software with the board? You can run the cross compiler on any linux distribution and suggest running something more current then RH9.
 
1 members found this post helpful.
Old 05-05-2015, 06:52 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
Quote:
I compile and make a binary file in redhat linux 9
WHAT ???

rh9 went END OF LIFE in 2003
it is 12 YEARS OUT OF DATE
-- DO NOT USE!!! --

rh9 will not even install on modern hardware ( except in a VM)

if you MUST!!!! use RedHat , then BUY RHEL7.1
redhat really is NOT free

you HAVE to buy the required support contract

or


install CentOS
the current versions are CentOS 7.1 or CentOS 6.6 or CentOS 5.11


using rh9 would be like using
Win98 to build a Windows7 program

Last edited by John VV; 05-05-2015 at 06:53 PM.
 
Old 05-05-2015, 07:01 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,760

Rep: Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931Reputation: 5931
The OP never replied as to the need to run RH9.

http://www.linuxquestions.org/questi...-a-4175539069/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File transfer using USB in Tq2440 Development board AbdulWahab Linux - Embedded & Single-board computer 3 04-24-2015 07:00 AM
[SOLVED] Install linux on Tq2440 Development board AbdulWahab Linux - Embedded & Single-board computer 3 04-02-2015 06:00 AM
nobbie on board...ey, don't run away! nob LinuxQuestions.org Member Intro 5 09-18-2005 04:37 AM
Can I run MIDI with only an on-board sound card in Linux? CrashProne Linux - Software 3 04-10-2005 11:10 AM
what temp does your M-board and CPU run at Al Bundy Linux - Hardware 3 05-15-2003 09:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 01:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration