[ GOMP ] cross compilation ..

Ghassan Almaless ghassan.almaless@gmail.com
Sat Apr 10 14:58:00 GMT 2010

Dear devloppers,

I'm encountering trouble to get my gcc cross compiler to interpret 
#pragma omp directives even with -fopenmp compilation flag.

Leaking of full libC, I compiled a cross gcc and binutils  for mipsel. 
Than i separately compiled libgomp which i found in gcc sources, so I 
dispose of mipsel-unknown-gcc &  libgomp.a

My question is how enabling omp's pragm ?
Put it in another way, how can i generate a gcc for mipsel which 
generates calls to gomp functions so i can link with my static libgomp.a ?

Here you output of my  mipsel-unknown-elf-gcc -v

Using built-in specs.
Target: mipsel-unknown-elf
Configured with: 
--build=i486-build_pc-linux-gnu --host=i486-build_pc-linux-gnu 
--with-newlib --enable-threads=no --disable-shared --with-arch=mips32 
--disable-__cxa_atexit --disable-nls --enable-symvers=gnu 
--enable-languages=c --enable-target-optspace
Thread model: single
gcc version 4.3.2 (GCC)

Many thanks in advance,

More information about the Gcc-help mailing list