Ben Abbott wrote:
> On Jun 12, 2007, at 8:51 PM, Alexander Hansen wrote:
>
>   
>> On 6/11/07, Ben Abbott <[EMAIL PROTECTED]> wrote:
>>     
>>> I'm having some intermitent crashes of Matlab with only result  
>>> after running
>>> a mexmac file which I wrote using g95. My 1st thought was to check my
>>> compilers. I checked both g95 and gcc.
>>>
>>> g95 -v
>>>
>>>  Using built-in specs.
>>>  Target:
>>>  Configured with: ../configure
>>> --prefix=/sw/lib/gcc-lib/powerpc-apple-darwin8/4.0.3
>>> --enable-languages=c --with-as=/sw/lib/odcctools590/bin/as
>>> --with-ld=/sw/lib/odcctools590/bin/ld
>>> --with-nm=/sw/lib/odcctools590/bin/nm --with-included-gettext
>>>  Thread model: posix
>>>  gcc version 4.0.3 (g95 0.90!) Feb  2 2007
>>>
>>> gcc -v
>>>
>>>  Using built-in specs.
>>>  Target: powerpc-apple-darwin8
>>>  Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure
>>> --disable-checking -enable-werror --prefix=/usr --mandir=/share/man
>>> --enable-languages=c,objc,c++,obj-c++
>>> --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
>>> --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
>>> --build=powerpc-apple-darwin8
>>> --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8
>>>  Thread model: posix
>>>  gcc version 4.0.1 (Apple Computer, Inc. build 5367)
>>>
>>> I'm using the unstable tree for 10.4 distribution.
>>>
>>> Trees: local/main stable/main stable/crypto unstable/main unstable/ 
>>> crypto
>>> Distribution: 10.4
>>>
>>> My question is whether or not there is a problem associated with  
>>> g95 being
>>> based upon gcc 4.0.3 while using gcc 4.0.1? ... and how I managed  
>>> to compile
>>> g95 using gcc 4.0.3 when my gcc compiler appears to be an earlier  
>>> version?
>>>
>>> TiA, Ben
>>>
>>>
>>>
>>>       
>> Compilers are generated through earlier compiler versions, of  
>> course. :-)
>> Our g95 is derived from the gcc4.0.3 sources, and was built using the
>> system's 4.0.1 (or earlier) compiler.  It's the same deal when you
>> build gcc4.2 (e.g. for gfortran).
>>
>> I don't know whether that's the cause of your problem, though.
>>
>> -- 
>> Alexander K. Hansen
>> akh AT finkproject DOT org
>> Fink User Liaison and Documenter
>>
>>     
>
> Thanks for the  explanation.
>
> Any chance there is a way to derive a gcc4.0.3 install from Fink? ...  
> or another source?
>
>
>   
Fink doesn't have a full gcc4.0.3 package--you would have to find 
another option, such as building it by hand.

Another option might be to try compling your file with gfortran--though 
that's from Fink's gcc42 package, and is thus yet more out of sync with 
the Xcode Tools.  On the other hand, that package provides the full 
compiler suite, so if you do in fact need synchronous versions for the 
Fortran and C compilers, this would satisfy those goals, too.

-- 
Alexander K. Hansen
Fink User Liaison/Documenter
akh AT finkproject DOT org


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Fink-beginners mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to