[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: conftest files
From: |
Albert Chin |
Subject: |
Re: conftest files |
Date: |
Fri, 11 Aug 2006 15:47:10 -0500 |
User-agent: |
Mutt/1.5.6i |
On Fri, Aug 11, 2006 at 08:52:00AM -0400, Christopher Hulbert wrote:
> I have a problem when compiling with intraprocedural analysis flags
> (currently with the PGI compilers, I haven't checked other IPA/IPO
> capable compilers) where after testing for a library with AC_TRY_LINK,
> I test for another library. The first library was compiled with IPA
> information, so the PGI compiler creates some updated IPA information
> for the conftest. When testing for the next library compiled without
> IPA information, it doesn't overwrite the original IPA file and gets
> an undefined symbol resulting from the first library.
>
> So, to boil that confusion down, is there any way (other than issuing
> an explicit rm -f *conftest* in my autoconf function) to make sure all
> conftest files are deleted?
Presumably, the IPA information is stored in the directory of the
test. Why not create a shell script that wraps the compiler executable
that removes these temporary files? Then, rebuild with:
./configure CC=<path to IPA-compiler wrapper> ...
--
albert chin (address@hidden)
- conftest files, Christopher Hulbert, 2006/08/11
- Re: conftest files,
Albert Chin <=
- Re: conftest files, Christopher Hulbert, 2006/08/11
- Re: conftest files, Stepan Kasal, 2006/08/13
- Re: conftest files, Christopher Hulbert, 2006/08/15
- Re: conftest files, Stepan Kasal, 2006/08/16
- Re: conftest files, Paul Eggert, 2006/08/16
- Re: conftest files, Albert Chin, 2006/08/16
- Re: conftest files, Stepan Kasal, 2006/08/17
Re: conftest files, Ralf Wildenhues, 2006/08/25