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

-------------------------------------------------------------------------
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