------- Comment #29 from ebotcazou at gcc dot gnu dot org  2006-03-30 06:20 
-------
> Here's the selected_int_kind.inc file generated on Solaris 8 with gcc 4.0.3.

Thanks.  Victory, at last something obviously broken. :-)  The file reads:

  integer, parameter :: c = 0
  type (int_info), parameter :: int_infos(c) = (/ &

while it should read:

  integer, parameter :: c = 4
  type (int_info), parameter :: int_infos(c) = (/ &
    int_info (1, range(0_1)), &
    int_info (2, range(0_2)), &
    int_info (4, range(0_4)), &
    int_info (8, range(0_8)) /)

so again the Fortran compiler either doesn't work or is not correctly invoked.


In the $objdir/sparc-sun-solaris2.8/libgfortran directory, delete the file
(selected_int_kind.inc) and type 'gmake selected_int_kind.inc'.  You should see
something like:

/bin/ksh /home/eric/svn/gcc-4_0-branch/libgfortran/mk-sik-inc.sh
'/opt/build/eric/gcc-4_0-branch/gcc/gfortran
-B/opt/build/eric/gcc-4_0-branch/gcc/
-B/opt/build/eric/local/gcc-4_0-branch/sparc-sun-solaris2.8/bin/
-B/opt/build/eric/local/gcc-4_0-branch/sparc-sun-solaris2.8/lib/ -isystem
/opt/build/eric/local/gcc-4_0-branch/sparc-sun-solaris2.8/include -isystem
/opt/build/eric/local/gcc-4_0-branch/sparc-sun-solaris2.8/sys-include -I .
-Wall -fno-repack-arrays -fno-underscoring-g -O2' > selected_int_kind.inc

Could you try to re-play the script mk-sik-inc.sh by hand and find out when
things start to go awry?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26889

Reply via email to