[mpich-discuss] building libraries

Pavan Balaji balaji at mcs.anl.gov
Sat Jul 18 15:44:36 CDT 2009


Does this simple problem work correctly for you:

$ cat conftest.c
int main()
{
	return 0;
}

$ xcc -target=XS1-G4B-FB512 conftest.c

$ ./a.out

  -- Pavan

On 07/18/2009 03:39 PM, samantha lin wrote:
> Hi,
> 
> Sorry, still got problem when re-building the libraries. Here is the error 
> message:
> 
> checking for C compiler default output file name... 
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> 
> The compiler should be able to produce executables as I saw
> a file generated which is "a.xe".  I added the log file to this email. 
> Hope someone can help. Thanks.
> 
> wl
> 
> On Sat, Jul 18, 2009 at 8:17 PM, Pavan Balaji <balaji at mcs.anl.gov 
> <mailto:balaji at mcs.anl.gov>> wrote:
> 
> 
>     To replace the C compiler with foo, you can do
> 
>      $ CC=foo ./configure
> 
>     For C++, Fortran 77 and Fortran 90, you can use CXX, F77 and F90
>     respectively.
> 
>      -- Pavan
> 
> 
>     On 07/18/2009 02:04 PM, samantha lin wrote:
> 
>         Hi,
> 
>         Is it possible to build the mpi libraries by a compiler which isn't
>         assigned by the configure file?
> 
>         Thanks,
>         WL
> 
> 
>     -- 
>     Pavan Balaji
>     http://www.mcs.anl.gov/~balaji
> 
> 

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji


More information about the mpich-discuss mailing list