www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/09/06/15:42:17

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
Date: Thu, 6 Sep 2001 15:41:27 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-developers AT Cygwin DOT Com
Subject: Re: [Fwd: winsup/mingw libstdc++.a]
Message-ID: <20010906154127.A4457@redhat.com>
Reply-To: cygwin-developers AT Cygwin DOT Com
Mail-Followup-To: cygwin-developers AT Cygwin DOT Com
References: <3B96ACB0 DOT CB3D2063 AT yahoo DOT com> <20010905194426 DOT A15906 AT redhat DOT com> <3B96BA01 DOT 945832A7 AT yahoo DOT com> <20010905195524 DOT A26502 AT redhat DOT com> <3B96C26B DOT A2919522 AT yahoo DOT com> <20010905212457 DOT A1866 AT redhat DOT com> <20010905215403 DOT A15751 AT redhat DOT com> <3B97635B DOT 39E3EC11 AT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <3B97635B.39E3EC11@yahoo.com>
User-Agent: Mutt/1.3.21i

--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Thu, Sep 06, 2001 at 07:51:55AM -0400, Earnie Boyd wrote:
>> I don't have the specific modules for cygwin/mingw/w32api checked in, though,
>> so I can send those or you can just roll your own.
>> 
>go ahead and send me this.  What procedures for uploading the package
>are there?  (I know it's been answered before but since your responding
>anyway...).

Here are the packages.  The procedure uploading packages is via ssh.
Maybe someone here can provide some details.

The way I have things set up is that I have a directory called netrel.

The cygwin sources are in:

/netrel/src/cygwin-1.3.3-1

The attached modules are in:

/netrel/extra

You probably also need to create these empty directories:

/netrel/build
/netrel/uploads
/netrel/inst

The mknetrel script that you check out from sources.redhat.com should allow
you to then:

mknetrel cygwin
mknetrel mingw
mknetrel w32api

The cygwin step is necessary since this actually builds the mingw/w32api
stuff.  The other steps just package up what is in the cygwin build
directory, install it under /netrel/inst and package it up into tar
files in the /netrel/uploads directory.

The files in /netrel/extra are special case settings for building the appropriate
package.

I should mention that I do all of this on linux.  I have no idea if this
works under Cygwin or not.  If you do it on linux, you'll need to use a
cross-compiler, obviously.  I just build the cygwin version of gcc for
linux.  That means that I should be relatively safe.

cgf

--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=cygwin

mkdummy() {
    for f in $*; do
        rm -rf $build/i686-pc-cygwin/$f
        mkdir -p $build/i686-pc-cygwin/$f
        echo 'clean all install configure install-info:;@/bin/true' > $build/i686-pc-cygwin/$f/Makefile
        touch $build/i686-pc-cygwin/$f/config.status
        chmod a+x $build/i686-pc-cygwin/$f/config.status
    done
}

postconfig() {
    mkdummy libio libstdc++
}

prepackage() {
    rm -f $inst/usr/bin/setup.exe
    rm -f $inst/usr/include/unctrl.h
    cd $inst/usr/lib || exit 1
    ln -sf libcygwin.a libc.a
    ln -sf libcygwin.a libm.a
    ln -sf libcygwin.a libg.a
}

prebuild() {
    EXTRAINSTALLARGS='"INSTALL_SUBDIRS=install_cygwin install_utils install_doc"'
    opt='-O2 -g -fnative-struct'
}

--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=mingw

. $extra/cygwin

prebuild() {
    EXTRAINSTALLARGS="INSTALL_SUBDIRS=install_$what"
}

prepackage() {
    cd $inst/usr/include || exit 1
    [ -d mingw32 ] && ln -sf mingw32 mingw
    cd $inst || exit 1
}

first() {
    oinst=$inst
    otarstem=$tarstem
    opackage_name=$package_name
    owhat=$what
    setvars cygwin
    inst=$oinst
    tarstem=$otarstem
    package_name=$opackage_name
    package_src=$package_src/winsup/$owhat
}

preinstall() {
    build=$build/i686-pc-cygwin/winsup
}

--6TrnltStXW4iwmi0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=w32api

. $extra/cygwin

prebuild() {
    EXTRAINSTALLARGS="INSTALL_SUBDIRS=install_$what"
}

prepackage() {
    cd $inst/usr/include || exit 1
    [ -d mingw32 ] && ln -sf mingw32 mingw
    cd $inst || exit 1
}

first() {
    oinst=$inst
    otarstem=$tarstem
    opackage_name=$package_name
    owhat=$what
    setvars cygwin
    inst=$oinst
    tarstem=$otarstem
    package_name=$opackage_name
    package_src=$package_src/winsup/$owhat
}

preinstall() {
    build=$build/i686-pc-cygwin/winsup
}

--6TrnltStXW4iwmi0--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019