LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   how to run .c file in tq2440 board (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/how-to-run-c-file-in-tq2440-board-4175541549/)

AbdulWahab 05-04-2015 12:15 AM

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

michaelk 05-04-2015 06:41 AM

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.

John VV 05-05-2015 06:52 PM

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

michaelk 05-05-2015 07:01 PM

The OP never replied as to the need to run RH9.

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


All times are GMT -5. The time now is 10:16 AM.