LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   multicore compiler (http://www.linuxquestions.org/questions/linux-general-1/multicore-compiler-800729/)

sujith4u87 04-08-2010 01:16 AM

multicore compiler
 
I wish to know that which gcc release version had support on ARM 9 multicore system by using pthread library for its parallelizing method on ecos rtos.I assume that the compiler that support the single ARM 9 processor will surely compile its multicore version also.But i need a clarification about it.It is good if you give a article or provide a suitable link on the ARM multicore programming and its compilation method

indelible 05-03-2010 04:01 PM

Multicore processors generally don't have anything to do with the compiler - only with the programmer and scheduler. So any version of gcc which supports at least some sort of ARM 9 instruction set will work. Don't quote me on this, because it was over a year ago when I was looking into ARM compilers, but I think it was gcc 4.4 which introduced support for the thumb 2 instruction set (or maybe it was support for the cortex-m3 then?). Anyway, ARM support has seen a lot of work go into it recently, so I would recommend getting the most recent version of gcc that your version of ecos supports. Sorry, I don't have a link to an article, but I can tell you one hundred percent that the compiler absolutely does not have any idea how many cores it is compiling for.


All times are GMT -5. The time now is 11:48 PM.