<div><br></div>The compilation is done correctly and the output file is "a.xe" rather than "a.out".<div>Moreover, the executable file should run on a simulator.</div><div>That is:</div><div>$xsim a.xe</div>
<div>Is it possible to change the configure to get this supported? </div><div><br></div><div>wl<br><div class="gmail_quote">On Sat, Jul 18, 2009 at 9:44 PM, Pavan Balaji <span dir="ltr"><<a href="mailto:balaji@mcs.anl.gov">balaji@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Does this simple problem work correctly for you:<br>
<br>
$ cat conftest.c<br>
int main()<br>
{<br>
return 0;<br>
}<br>
<br>
$ xcc -target=XS1-G4B-FB512 conftest.c<br>
<br>
$ ./a.out<br>
<br>
-- Pavan<div class="im"><br>
<br>
On 07/18/2009 03:39 PM, samantha lin wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br><div class="im">
Sorry, still got problem when re-building the libraries. Here is the error message:<br>
<br>
checking for C compiler default output file name... configure: error: C compiler cannot create executables<br>
See `config.log' for more details.<br>
<br>
The compiler should be able to produce executables as I saw<br>
a file generated which is "a.xe". I added the log file to this email. Hope someone can help. Thanks.<br>
<br>
wl<br>
<br></div><div class="im">
On Sat, Jul 18, 2009 at 8:17 PM, Pavan Balaji <<a href="mailto:balaji@mcs.anl.gov" target="_blank">balaji@mcs.anl.gov</a> <mailto:<a href="mailto:balaji@mcs.anl.gov" target="_blank">balaji@mcs.anl.gov</a>>> wrote:<br>
<br>
<br>
To replace the C compiler with foo, you can do<br>
<br>
$ CC=foo ./configure<br>
<br>
For C++, Fortran 77 and Fortran 90, you can use CXX, F77 and F90<br>
respectively.<br>
<br>
-- Pavan<br>
<br>
<br>
On 07/18/2009 02:04 PM, samantha lin wrote:<br>
<br>
Hi,<br>
<br>
Is it possible to build the mpi libraries by a compiler which isn't<br>
assigned by the configure file?<br>
<br>
Thanks,<br>
WL<br>
<br>
<br>
-- Pavan Balaji<br>
<a href="http://www.mcs.anl.gov/~balaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
<br>
<br>
</div></blockquote><div><div></div><div class="h5">
<br>
-- <br>
Pavan Balaji<br>
<a href="http://www.mcs.anl.gov/~balaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
</div></div></blockquote></div><br></div>