This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/31224] New: some installation scripts and Makefiles do not run on stock Solaris


Some scripts and Makefiles used during the bootstrap process use options
provided by GNU tools (bash, test, diff) which are not supported by stock
Solaris 2.8 tools.

The errors I have encountered so far (I'm still fighting with installation)
are:

 missing -a flag between two tests

 use of test -e, which should be replaced by test -f
  (or test -d for directories)

 use of set -C in shell (which has no equivalent)

 use of diff -U 0, which should be replaced by diff -C 0 with the additional
  trick to add a space between the initial '-' or '+' character and the line

The concerned files are libjava/classpath/lib/gen-classlist.sh.in,
libjava/classpath/lib/Makefile.am and
libjava/classpath/scripts/check_jni_methods.sh.

I will post a patch for this in a few minutes.


-- 
           Summary: some installation scripts and Makefiles do not run on
                    stock Solaris
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Luc dot Maisonobe at free dot fr
 GCC build triplet: sparc-sun-solaris2.8
  GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]