This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

[ GCC/GOMP ] cross compilation ..


Dear devloppers,

I'm looking to build cross compiled gcc for mipsel barre-metal
platform with gomp interpreting support.

I don't have a full libC (like glibC, uLibC ..etc ). so i can't
rebuild gcc's liberary libgomp with gcc build system.
For this reason, i had compiled libgomp separately (i have a
libpthread which supply posix functions need it by libgomp).

My problem is, when compiling a bench (using -fopenomp) gcc don't
generate calls to gomp functions, it's seem to don't care about
-fopenomp flag.

Is there any way to have a mipsel-unknown-elf corss compiler that
interpret omp pragma and generate calls to libgomp functions so by
given the right path, the linker can use "my" libgomp.a ?

here you my mipsel-unknown-elf -v result :

Using built-in specs.
Target: mipsel-unknown-elf
Configured with:
/home/almaless/crossenv/build/targets/src/gcc-4.3.2/configure
--build=i586-build_redhat-linux-gnu --host=i586-build_redhat-linux-gnu
--target=mipsel-unknown-elf
--prefix=/home/almaless/x-tools/mipsel-unknown-elf
--with-local-prefix=/home/almaless/x-tools/mipsel-unknown-elf/mipsel-unknown-elf/sys-root
--disable-multilib
--with-sysroot=/home/almaless/x-tools/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/x-tools/mipsel-unknown-elf
--with-mpfr=/home/almaless/x-tools/mipsel-unknown-elf
--disable-__cxa_atexit --disable-nls --enable-symvers=gnu
--enable-languages=c --enable-target-optspace --enable-libgomp
Thread model: single
gcc version 4.3.2 (GCC)


Many thanks in advance,
J.M

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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