-pthread support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I try to generate cross-compiler to support -pthread in command line with gcc-4.1.1. I build the cross-compiler targeted on or32 architecture using the following configuration.

./configure --enable-threads=posix --target=or32

I only want to use cc1 to generate assembler code to support pthread. In linux native gcc, it generated assmbler code if I type command line: gcc -pthread -O3 source.c -S assembler.s

When I use the generated cross-compiler cc1 instead of gcc, it doesn't support -pthread command.

cc1: error: unrecognized command line option "-pthread"

Could anyone give me some advice?

Thanks in advances

Best regards

Maggie

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux