Ignore:
Timestamp:
May 12, 2013 12:08:52 AM (8 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
b096834
Parents:
dca5e98
Message:

improvements to jbigi scripts

support for Solaris (tested with Solaris 11 x86)

mbuild-all.sh:

  • output correctly formatted file names (tested in Solaris x86, FreeBSD (x86 and x64) and Linux (x86 & x64))
  • switch from echo -e to the more portable printf
  • more error checking, comments

debian/patches: refreshed based on changes to core/c/*
libjcpuid-x86_64-solaris.so: built in solaris 11 x86 with

java 1.7.0_07 and gcc 4.5.2, stripped

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/c/jcpuid/build.sh

    rdca5e98 rc1da7f7  
    2020mkdir -p lib/freenet/support/CPUInformation
    2121
    22 CC="gcc"
     22[ -z $CC ] && CC="gcc"
    2323
    2424case `uname -s` in
     
    6363            i?86*)
    6464                ARCH="x86";;
     65            # Solaris x86
     66            i86pc)
     67                if $(echo $CC | grep -q '\-m64') ; then
     68                    ARCH="x86_64"
     69                else
     70                    ARCH="x86"
     71                fi
     72                ;;
    6573            *)
    6674                echo "Unsupported build environment. jcpuid is only used on x86 systems."
Note: See TracChangeset for help on using the changeset viewer.