Sorry, I got confused. I'm using 10.6, Snow Leopard. That must be the  
problem. I'll just use another OS for C++ unless you know some trick  
for building the source on Mac. I haven't had much success with that  
yet.

Jim


On 3 Nov 2009, at 8:46 AM, Igor Peshansky wrote:

> It is 10.5.8, according to system_profiler:
>
>    System Software Overview:
>
>      System Version: Mac OS X 10.5.8 (9L30)
>      Kernel Version: Darwin 9.8.0
>
> It's obviously finding the libraries correctly, but somehow is not
> recognizing the format...
>
> It would be a bit disturbing if the libraries built on 10.5 do not
> work with 10.6...  We'll get a 10.6 machine here and investigate.
>        Igor
>
> Jim LaGrone <jlagr...@cs.uh.edu> wrote on 11/03/2009 09:32:44 AM:
>
>> I used wget to download the files. I untarred them in the same
>> directory.
>>
>> I assume you meant 10.5.6, not 10.5.8. Compiling with x10c seems to  
>> go
>> fine. The problem seems to be with x10c++. I get the following to
>> begin the output:
>>
>> delta:tests$ x10c++ -MAIN_CLASS=Test Test.x10 -commandlineonly - 
>> report
>> postcompile=1
>> Executing post-compiler g++ -g -I/Users/jlagrone/GradSchool/Research/
>> hpcs-compilers/x10-1.7.7/lib/include -I/Users/jlagrone/GradSchool/
>> Research/hpcs-compilers/x10-1.7.7 -I/Users/jlagrone/GradSchool/
>> Research/hpcs-compilers/x10-1.7.7/gen -I/Users/jlagrone/GradSchool/
>> Research/hpcs-compilers/x10-1.7.7/include -I. -DTRANSPORT=sockets - 
>> Wno-
>> long-long -Wno-unused-parameter -pthread -msse2 -mfpmath=sse -o / 
>> Users/
>> jlagrone/GradSchool/Research/workspace/X10-code/tests/Test Test.cc - 
>> L/
>> Users/jlagrone/GradSchool/Research/hpcs-compilers/x10-1.7.7/lib/lib  
>> -L/
>> Users/jlagrone/GradSchool/Research/hpcs-compilers/x10-1.7.7 -L/Users/
>> jlagrone/GradSchool/Research/hpcs-compilers/x10-1.7.7/lib -lx10 -
>> lupcrts_sockets -ldl -lm -lpthread
>> x10c++: ld: warning: in /Users/jlagrone/GradSchool/Research/hpcs-
>> compilers/x10-1.7.7/lib/libx10.a, file is not of required  
>> architecture
>>      ld: warning: in /Users/jlagrone/GradSchool/Research/hpcs-
>> compilers/x10-1.7.7/lib/libupcrts_sockets.a, file is not of required
>> architecture
>>      Undefined symbols:
>>      "x10aux::RuntimeType::BooleanType", referenced from:
>>      x10aux::RuntimeType const* x10aux::getRTT<bool>()in cc8mZksb.o
>>      "x10aux::RuntimeType::DoubleType", referenced from:
>>      x10aux::RuntimeType const* x10aux::getRTT<double>()in cc8mZksb.o
>> ...
>>
>> I know this is supposed to be unsupported, so thanks for the help.
>>
>> Jim
>>
>>
>> On 2 Nov 2009, at 10:32 PM, Igor Peshansky wrote:
>>
>>> Strange.  I've built on 10.5.8, but it shouldn't matter, should it?
>>>
>>> I've just verified that downloading the files out on the web site
>>> and untarring both into the same directory allow me to compile one
>>> of the samples with no errors.
>>>
>>> Here are the exact files I've used:
>>>
>>>
> http://iweb.dl.sourceforge.net/project/x10/x10/1.7.7/x10-1.7.7_macos_x86.tgz
>>>
> http://dist.codehaus.org/x10/binaryReleases/1.7.7/pgas-1.7.7_macos_x86.tgz
>>>
>>> Hope this works for you.
>>>       Igor
> -- 
> Igor Peshansky  (note the spelling change!)
> IBM T.J. Watson Research Center
> XJ: No More Pain for XML's Gain (http://www.research.ibm.com/xj/)
> X10: Parallel Productivity and Performance (http://x10.sf.net/)


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to