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]

Re: Compiling applications for the new SMP processors


Jerin Joy wrote:
Hi,

I'm a newbie here. A friend of mine got a new dual core processor
laptop. I was wondering if compiling standard applications using gcc
will build binaries which can fully utilize the hardware - 686
instruction set with SMP. I'm assuming here that the application is
multithreaded.
If it does, is there an flag to be passed during compile time?
gcc 4.2 supports OpenMP, requiring appropriate #pragma omp directives, along with -fopenmp flag.


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