This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[ GOMP ] cross compilation ..


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: /home/almaless/linux/crosstool-ng-1.3.2/mipsel-unknown-elf/src/gcc-4.3.2/configure --build=i486-build_pc-linux-gnu --host=i486-build_pc-linux-gnu --target=mipsel-unknown-elf --prefix=/home/almaless/linux/crosstool-ng-1.2.3/mipsel-unknown-elf --with-local-prefix=/home/almaless/linux/crosstool-ng-1.2.3/mipsel-unknown-elf/mipsel-unknown-elf/sys-root --disable-multilib --with-sysroot=/home/almaless/linux/crosstool-ng-1.2.3/mipsel-unknown-elf/mipsel-unknown-elf/sys-root --with-newlib --enable-threads=no --disable-shared --with-arch=mips32 --with-float=soft --with-gmp=/home/almaless/linux/crosstool-ng-1.2.3/mipsel-unknown-elf --with-mpfr=/home/almaless/linux/crosstool-ng-1.2.3/mipsel-unknown-elf --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, G.A


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]