On Tue, 11 Aug 2009 09:38:52 -0500 Kirk Strauser <k...@strauser.com>
>On Aug 11, 2009, at 6:54 AM, Anton Shterenlikht wrote:
>> On Mon, Aug 10, 2009 at 11:18:43AM -0500, Kirk Strauser wrote:
>>> On my FreeBSD 7.2-STABLE system (from July 29), I'm trying to enable
>>> OpenMP for the graphics/ImageMagick port.  With the  
>>> option set, I get this from "make configure":
>>> checking for cc -std=gnu99 option to support OpenMP... (cached)  
>>> unsupported
>>> checking for cc -std=gnu99 option to support OpenMP... -fopenmp
>>> If I go on to build it, there's no other mention of OpenMP in the
>>> output.  What am I doing wrong?
>> I think the second like shows that OMP is indeed supported.
>> Have you tested on any OMP test?
>But the rest of the build doesn't give any indication. Specifically,  
>the "-fopenmp" flag isn't used anywhere.  I've tested that OMP works -  
>or at least compiles - but I don't know of any way to find if a given  
>binary was actually compiled with it.

     Have you tried nm(1)?  Unless the symbols were removed via strip(1),
nm(1) should be able to extract an external symbol dictionary from the
ImageMagick binary.  You can then search through that for OpenMP symbols.

                                  Scott Bennett, Comm. ASMELG, CFIAG
* Internet:       bennett at cs.niu.edu                              *
* "A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army."                                               *
*    -- Gov. John Hancock, New York Journal, 28 January 1790         *
freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to