>It works here on 10.6/x86_64. A few things to investigate would be:
>1)  Verify that you're using the right compiler.  At around line 85 in
>the config.log file I have ...

I have exactly the same outputs that you have for "checking for gcc" and 
"checking for g++"

>2)  What Xcode version are you using?

I just downloaded and installed Xcode 3.2.5  
Same result.

>3)  What happens when you run the remainder bug test manually?  There's
>a C++ header file and program file in
>/sw/src/fink.build/ppl-0.10.2-3/ppl-0.10.2/build/config.log at about
>line 925, and the test is slightly above that. If you extract the
>confdefs.h header and the conftest.cpp, you can build a little program
>using the exact command noted below the line saying "checking if the
>compiler has the remainder bug" and then run the program.

The test that you asked me to extract from config.log runs ok. It returns 1. 
However, if I look in the configure script itself, I find the following test 
program at the point where it is testing for the remainder bug (I added the 
comment lines). This hangs after printing "Entering the ozone..." 

#include <climits>
#include <iostream>
using namespace std;

int minus_one(int n) {
  return (n+1)*(n-1)-n*n;
}

int p(int x, int y) {
  printf("Entering the ozone...\n");
  int z = x % y;
  return z;
}

int main(int argc, char** argv) {
  printf("%d\n", minus_one(argc));
  printf("%d\n", INT_MIN);
  if (p(INT_MIN, minus_one(argc)) != 0)
    return 1;
  else
    return 0;
}
===========================================
Jonathan A. Dantzig
Professor Emeritus / Research Professor 
University of Illinois 
Vox: 217-333-4107      Fax: 217-244-6534

Invited Professor
Laboratory for the Simulation of Materials
Ecole Polytechnique Federale de Lausanne
Swiss NATEL: (+41) 076 204 93 65
===========================================

------------------------------------------------------------------------------
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to