VirtualBox

Changeset 1993 in kBuild for trunk/src/kmk/README.W32.template


Ignore:
Timestamp:
Oct 29, 2008 12:37:51 AM (16 years ago)
Author:
bird
Message:

Merged in current GNU Make code (CVS from 2008-10-28). Ref #55.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/README.W32.template

    r903 r1993  
    22It has also been used on Windows 95/98/NT, and on OS/2.
    33
    4 It builds natively with MSVC 2.x, 4.x, 5.x, 6.x, and 2003 as well as
    5 .NET 7.x and .NET 2003.
    6 
    7 It builds with the MinGW port of GCC 3.x (tested with GCC 3.4.2).
     4It builds with the MinGW port of GCC (tested with GCC 3.4.2).
     5
     6It also builds with MSVC 2.x, 4.x, 5.x, 6.x, and 2003 as well as
     7with .NET 7.x and .NET 2003.
    88
    99The Windows 32-bit port of GNU make is maintained jointly by various
     
    2828
    2929 2. Open make_msvc_net2003.vcproj in MSVS71 or MSVC71 or any compatible IDE,
    30     then build this project as usual.
     30    then build this project as usual.  There's also a solution file for
     31    Studio 2003.
    3132
    3233
     
    6970
    7071        This version of make is ported natively to Windows32 platforms
    71         (Windows NT 3.51, Windows NT 4.0, Windows 95, and Windows 98). It
    72         does not rely on any 3rd party software or add-on packages for
    73         building. The only thing needed is a version of Visual C++,
    74         which is the predominant compiler used on Windows32 platforms.
     72        (Windows NT 3.51, Windows NT 4.0, Windows 2000, Windows XP,
     73        Windows 95, and Windows 98). It does not rely on any 3rd party
     74        software or add-on packages for building. The only thing
     75        needed is a Windows compiler.  Two compilers supported
     76        officially are the MinGW port of GNU GCC, and the various
     77        versions of the Microsoft C compiler.
    7578
    7679        Do not confuse this port of GNU make with other Windows32 projects
     
    8083GNU make and sh.exe:
    8184
    82         This port prefers you have a working sh.exe somewhere on your
    83         system. If you don't have sh.exe, the port falls back to
    84         MSDOS mode for launching programs (via a batch file).
    85         The MSDOS mode style execution has not been tested that
    86         carefully though (The author uses GNU bash as sh.exe).
     85        This port prefers if you have a working sh.exe somewhere on
     86        your system. If you don't have sh.exe, the port falls back to
     87        MSDOS mode for launching programs (via a batch file).  The
     88        MSDOS mode style execution has not been tested that carefully
     89        though (The author uses GNU bash as sh.exe).
    8790
    8891        There are very few true ports of Bourne shell for NT right now.
     
    109112        A native Windows32 system with no Bourne shell will also run
    110113        in batch mode.  All command lines will be put into batch files
    111         and executed via $(COMSPEC) (%COMSPEC%).  Note that parallel
    112         builds (-j) require a working Bourne shell; they will not work
    113         with COM.
     114        and executed via $(COMSPEC) (%COMSPEC%).  However, parallel
     115        builds ARE supported with Windows shells (cmd.exe and
     116        command.com).  See the next section about some peculiarities
     117        of parallel builds on Windows.
     118
     119Support for parallel builds
     120
     121        Parallel builds (-jN) are supported in this port, with 2
     122        limitations:
     123
     124          - The number of concurrent processes has a hard limit of 64,
     125            due to the way this port implements waiting for its
     126            subprocesses;
     127
     128          - The job server method (available when Make runs on Posix
     129            platforms) is not supported, which means you must pass an
     130            explicit -jN switch to sub-Make's in a recursive Makefile.
     131            If a sub-Make does not receive an explicit -jN switch, it
     132            will default to -j1, i.e. no parallelism in sub-Make's.
    114133
    115134GNU make and Cygnus GNU Windows32 tools:
     
    172191        sh.exe.  Tests were performed on both Windows NT and Windows 95.
    173192
    174 Building GNU make on Windows NT and Windows 95/98 with Microsoft Visual C:
    175 
    176         I did not provide a Visual C project file with this port as
    177         the project file would not be considered freely distributable
    178         (or so I think). It is easy enough to create one, though, if
    179         you know how to use Visual C.
    180 
    181         I build the program statically to avoid problems locating DLL's
    182         on machines that may not have MSVC runtime installed. If you
    183         prefer, you can change make to build with shared libraries by
    184         changing /MT to /MD in the NMakefile (or in build_w32.bat).
    185 
    186         The program has not been built for non-Intel architectures (yet).
    187 
    188         I have not tried to build with any other compilers than MSVC. I
    189         have heard that this is possible though so don't be afraid to
    190         notify me of your successes!
    191 
    192193Pathnames and white space:
    193194
    194195        Unlike Unix, Windows 95/NT systems encourage pathnames which
    195196        contain white space (e.g. C:\Program Files\). These sorts of
    196         pathnames are legal under Unix too, but are never encouraged.
     197        pathnames are valid on Unix too, but are never encouraged.
    197198        There is at least one place in make (VPATH/vpath handling) where
    198199        paths containing white space will simply not work. There may be
     
    274275-------------------------------------------------------------------------------
    275276Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    276 2006 Free Software Foundation, Inc.
     2772006, 2007, 2008 Free Software Foundation, Inc.
    277278This file is part of GNU Make.
    278279
    279280GNU Make is free software; you can redistribute it and/or modify it under the
    280281terms of the GNU General Public License as published by the Free Software
    281 Foundation; either version 2, or (at your option) any later version.
     282Foundation; either version 3 of the License, or (at your option) any later
     283version.
    282284
    283285GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
     
    286288
    287289You should have received a copy of the GNU General Public License along with
    288 GNU Make; see the file COPYING.  If not, write to the Free Software
    289 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
     290this program.  If not, see <http://www.gnu.org/licenses/>.
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette