[Top][All Lists]

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

libtool should handle -fopenmp/-openmp similar to -pthreads and similar

From: justin
Subject: libtool should handle -fopenmp/-openmp similar to -pthreads and similar
Date: Mon, 20 Dec 2010 08:29:38 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20101214 Lightning/1.0b3pre Thunderbird/3.1.7

Hi all,

when passing -fopenmp or -openmp to the linker, it will handle the
addition of the openmp lib to the linker line by itself. Sadly libtool
filters this flags out. I assume that similar happend to -pthread and
equal flags, because of the section in libtool. If I just add
|-fopenmp|-openmp there the linking is fine and the flags are passed to
the linker.
one drawback still survives, the openmp libs aren't recorded into the
.la files. This also has to be fixed.

thanks justin

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]