Skip to content

Commit

Permalink
Re-add untrasnfered files
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@9273 72102866-910b-0410-8b05-ffd578937521
  • Loading branch information
fedor committed Mar 2, 2001
1 parent 1610b70 commit 9688862
Show file tree
Hide file tree
Showing 7 changed files with 359 additions and 12 deletions.
14 changes: 7 additions & 7 deletions Documentation/README.MinGW
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,21 @@ compile correctly:
have one installed):

cd location_of_the_libobjc_library
/usr/bin/make target=i386-mingw32
/usr/bin/make target=i386-mingw32 install
/usr/bin/make target=i386-mingw32 BUILD_DLL=yes WITH_DLL=yes
/usr/bin/make target=i386-mingw32 BUILD_DLL=yes WITH_DLL=yes install

7. Now we can configure and make the base library.

cd location_of_the_core_package/base
./configure --target=i386-mingw32
/usr/bin/make target=i386-mingw32
/usr/bin/make target=i386-mingw32 install
./configure --target=i386-mingw32
/usr/bin/make target=i386-mingw32 BUILD_DLL=yes WITH_DLL=yes
/usr/bin/make target=i386-mingw32 BUILD_DLL=yes WITH_DLL=yes install

Note that the base library is not completely ported to run on MinGW yet.
In particular, the gstep-base DLL doesn't seem to be set up correctly.
To compile the gstep-base as a static library, use:

/usr/bin/make shared=no
/usr/bin/make shared=no target=i386-mingw32

If you get tired of typing "target=i386-mingw32" all the time, then before
you exec the GNUstep.sh script, just set the GNUSTEP_HOST:
Expand All @@ -95,7 +95,7 @@ Native MinGW
(Information provided by Craig Miskell)

So far, this configuration only works when compiling the Makefile package
(gstep-make). It should, in the future work on the libraries. First, you
(gnustep-make). It should, in the future work on the libraries. First, you
need to get a port of sh (probably zsh) for Windows
(ftp://ftp.blarg.net/users/amol/).

Expand Down
28 changes: 23 additions & 5 deletions Documentation/machines.texi
Original file line number Diff line number Diff line change
Expand Up @@ -549,28 +549,46 @@ work.
@c -----------------------------------------
@node Windows with CYGWIN, , Unixware-2.1.3/Intel, Machine Specific
@section Windows with CYGWIN (@emph{Unstable!})
@c Contact?: Adam Fedor <[email protected]>

@table @samp
@item Recommended compiler
gcc 2.95.2 (Cygwin release 1.1.2 or later)

@item Extra libs needed
Objective-C library DLL (@url{ftp://ftp.gnustep.org/pub/gnustep/contrib})
Objective-C library DLL (@url{ftp://ftp.gnustep.org/pub/gnustep/libs})
for shared libs.

@item Special Instructions
Static libs require no extra effort (just make shared=no), however, DLLs
(shared=yes) are compiled by default, and for this you need a special
version of the Objective-C library that also compiles as a DLL. Make sure
files and compilation done in Unix mode (no ^M in files). Due to some
interesting dependancies, it is recommended that you compile and install
each sub-package (make, base, etc) independantly. Gdomap services
files and compilation done in Unix mode (no ^M in files). For shared libs
you have to type @samp{make BUILD_DLL=yes WITH_DLL=yes} for all packages,
despite the fact that this should be set automatically.
Gdomap services
not set up correctly. Must add services lines to @file{C:\WINDOWS\services}
(on Windows 98) or xxx (on Windows NT).
Base library only. No native GUI backend.
@end table

@c -----------------------------------------
@node Windows with MinGW, , Unixware-2.1.3/Intel, Machine Specific
@section Windows with MinGW (@emph{Unstable!})

@table @samp
@item Recommended compiler
gcc 2.95.2 (MingW release 1999-11-07)

@item Extra libs needed
Objective-C library DLL (@url{ftp://ftp.gnustep.org/pub/gnustep/libs})
for shared libs.

@item Special Instructions
See the @file{README.MinGW} file located in the gnustep-make Documentation
directory for instructions.
Base library only. No native GUI backend.
@end table

@ifclear HOWTO
@include end.texi
@end ifclear
50 changes: 50 additions & 0 deletions GNUmakefile.preamble
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
#
# GNUmakefile.preamble
#
# Project specific makefile variables, and additional
#
# Do not put any GNUmakefile rules in this file, instead they should
# be put into GNUmakefile.postamble.
#

#
# Flags dealing with compiling and linking
#

# Additional flags to pass to the preprocessor
ADDITIONAL_CPPFLAGS +=

# Additional flags to pass to the Objective-C compiler
ADDITIONAL_OBJCFLAGS +=

# Additional flags to pass to the C compiler
ADDITIONAL_CFLAGS +=

# Additional LDFLAGS to pass to the linker
ADDITIONAL_LDFLAGS +=

# Additional include directories the compiler should search
ADDITIONAL_INCLUDE_DIRS +=

# Additional library directories the linker should search
ADDITIONAL_LIB_DIRS +=

# Additional libraries when linking Objective-C programs
ADDITIONAL_OBJC_LIBS +=

# Additional libraries when linking tools
ADDITIONAL_TOOL_LIBS +=

# Additional libraries when linking applications
ADDITIONAL_GUI_LIBS +=

# Libraries that a shared library depends upon
LIBRARIES_DEPEND_UPON +=

#
# Flags dealing with installing and uninstalling
#

# Additional directories to be created during installation
ADDITIONAL_INSTALL_DIRS +=

33 changes: 33 additions & 0 deletions clean_cpu.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!/bin/sh
#
# clean_cpu.sh
#
# Clean up the target cpu name.
#
# Copyright (C) 1997 Free Software Foundation, Inc.
#
# Author: Scott Christley <[email protected]>
#
# This file is part of the GNUstep Makefile Package.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# You should have received a copy of the GNU General Public
# License along with this library; see the file COPYING.LIB.
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

case "$1" in
# Intel processors are made equivalent
i[3456]86)
echo ix86
exit 0
;;
*)
echo $1
exit 0
;;
esac
34 changes: 34 additions & 0 deletions clean_os.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/bin/sh
#
# clean_os.sh
#
# Clean up the target OS name for GNUstep.
#
# Copyright (C) 1997 Free Software Foundation, Inc.
#
# Author: Scott Christley <[email protected]>
#
# This file is part of the GNUstep Makefile Package.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# You should have received a copy of the GNU General Public
# License along with this library; see the file COPYING.LIB.
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

# Nothing to clean right now
case "$1" in
# Remove version number for FreeBSD
freebsdelf*)
echo freebsdelf
exit 0
;;
*)
echo $1
exit 0
;;
esac
24 changes: 24 additions & 0 deletions clean_vendor.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/sh
#
# clean_vendor.sh
#
# Clean up the target vendor name.
#
# Copyright (C) 1997 Free Software Foundation, Inc.
#
# Author: Scott Christley <[email protected]>
#
# This file is part of the GNUstep Makefile Package.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# You should have received a copy of the GNU General Public
# License along with this library; see the file COPYING.LIB.
# If not, write to the Free Software Foundation,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

# Nothing to clean right now
echo $1
Loading

0 comments on commit 9688862

Please sign in to comment.