mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@18437 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ea56446d4e
commit
2ee1c20d24
6 changed files with 39 additions and 39 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-01-18 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Documentation/gnustep-howto.texi: Add gui image libs.
|
||||
* Documentation/install.texi: Update info on #import.
|
||||
* Documentation/userfaq.texi: Idem.
|
||||
* Documentation/machines.texi: Update Darwin compiler.
|
||||
|
||||
Fri Jan 16 17:01:55 2004 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* Instance/bundle.make: Recognize xxx_INSTALL_DIR and use it if
|
||||
|
|
|
@ -104,21 +104,11 @@ This is a library that provides stack frame handling for NSInvocation
|
|||
and NSConnection similar to ffcall.
|
||||
Use this instead of ffcall. You don't need both.
|
||||
|
||||
@item WindowMaker (Version >= 0.62) (OPTIONAL)
|
||||
GNUstep and WindowMaker work together to provide a consistant interface.
|
||||
Although it is not required, GNUstep will work much better if you use it
|
||||
with the WindowMaker window manager. In addition, WindowMaker includes some
|
||||
functionality that GNUstep uses that would otherwise not be available.
|
||||
Get WindowMaker from @url{http://www.windowmaker.org}.
|
||||
|
||||
@item libxml2 (RECOMMENDED)
|
||||
The libxml library (Version 2) is used to translate some of the
|
||||
documentation for GNUstep and to provide suport for MacOS-X compatible
|
||||
XML-based property-lists. It is recommended but not currently required.
|
||||
|
||||
@item The TIFF library (libtiff) (Version 3.4beta36 or greater) (REQUIRED)
|
||||
The GUI library uses this to handle loading and saving TIFF images.
|
||||
|
||||
@item openssl (OPTIONAL)
|
||||
The openssl library is used to provide support for https connections by
|
||||
the NSURL and HSURLHandle classes. This functionality is
|
||||
|
@ -135,6 +125,21 @@ libiconv library from
|
|||
@url{http://clisp.cons.org/~haible/packages-libiconv.html}. However,
|
||||
neither one is required to use GNUstep.
|
||||
|
||||
@item The TIFF library (libtiff) (Version 3.4beta36 or greater) (REQUIRED)
|
||||
The GUI library uses this to handle loading and saving TIFF images.
|
||||
|
||||
@item The JPEG library (libjpeg) (RECOMMENDED)
|
||||
The GUI library uses this to handle loading JPEG images.
|
||||
|
||||
@item The PNG library (libpng) (RECOMMENDED)
|
||||
The GUI library uses this to handle loading PNG images.
|
||||
|
||||
@item WindowMaker (Version >= 0.62) (OPTIONAL)
|
||||
GNUstep and WindowMaker work together to provide a consistant interface.
|
||||
Although it is not required, GNUstep will work much better if you use it
|
||||
with the WindowMaker window manager.
|
||||
Get WindowMaker from @url{http://www.windowmaker.org}.
|
||||
|
||||
@item gnustep-objc package (for gcc version < 3.0 ONLY) (RECOMMENDED)
|
||||
Note: Do not install this library unless you are sure you need it.
|
||||
You probably don't need it except on MinGW.
|
||||
|
|
|
@ -90,7 +90,7 @@ compile, and also when you install).
|
|||
* Backend Bundles::
|
||||
* Alternate Libraries::
|
||||
* Alternate Thread Library::
|
||||
* Warnings for deprecated #import::
|
||||
* Warnings for #import::
|
||||
* Cross-Compiling::
|
||||
* Flat Structure::
|
||||
@end menu
|
||||
|
@ -122,7 +122,7 @@ with-library-combo option.
|
|||
to compile with Apple's (NexT's) runtime on Darwin, for example. See the DESIGN
|
||||
document for more examples of the variety of library combos.
|
||||
|
||||
@node Alternate Thread Library, Warnings for deprecated #import, Alternate Libraries, Configuration
|
||||
@node Alternate Thread Library, Warnings for #import, Alternate Libraries, Configuration
|
||||
@subsection Alternate Thread Library
|
||||
|
||||
You can specify compilation of an alternate thread library from the one that
|
||||
|
@ -143,26 +143,22 @@ to set compiler flags, use the CPPFLAGS variable when calling configure:
|
|||
CPPFLAGS="-I/usr/local/include" ./configure --with-thread-lib="-L/usr/local/lib -lgthread -lglib"
|
||||
@end example
|
||||
|
||||
@node Warnings for deprecated #import, Cross-Compiling, Alternate Thread Library, Configuration
|
||||
@subsection Warnings for deprecated #import
|
||||
@node Warnings for #import, Cross-Compiling, Alternate Thread Library, Configuration
|
||||
@subsection Warnings for #import
|
||||
|
||||
The #import directive, often found in legacy Objective-C code from the
|
||||
NeXTstep era -- and more recently on code from the Apple MacOS X Cocoa
|
||||
environment -- is deprecated. You should use #include instead whenever
|
||||
possible, and even if you use #import, you should protect all your
|
||||
headers against multiple inclusions. The GCC compiler automatically
|
||||
emits a warning whenever you use #import. Because many users are
|
||||
Up until gcc 3.4, the #import directive was not implemented correctly.
|
||||
As a result, the GCC compiler automatically
|
||||
emitted a warning whenever #import was used. Because many users are
|
||||
annoyed by these warnings and want to use #import (usually for
|
||||
compatibility with other systems), gnustep-make can disable
|
||||
these warnings:
|
||||
@example
|
||||
./configure --enable-import
|
||||
@end example
|
||||
If you are a legacy or MacOS X user, and wonder why #import is
|
||||
deprecated, please search the web and the GCC and GNUstep mailing list
|
||||
archives - there are very precise and sound technical reasons.
|
||||
As of gcc 3.4, this problem has been fixed, so presumable, this warning
|
||||
is no longer emitted when code is compiled.
|
||||
|
||||
@node Cross-Compiling, Flat Structure, Warnings for deprecated #import, Configuration
|
||||
@node Cross-Compiling, Flat Structure, Warnings for #import, Configuration
|
||||
@subsection Configuring the GNUstep makefile package for a cross-compile target
|
||||
|
||||
By default when you run configure, it assumes that you want to create
|
||||
|
|
|
@ -90,7 +90,7 @@ you completely remove all of it, including installed init scripts.
|
|||
|
||||
@table @samp
|
||||
@item Recommended compiler
|
||||
gcc 3.2.2
|
||||
gcc 3.3.2. Older versions will not compile on Darwin.
|
||||
|
||||
Default compiler has some odd memory(?) related problems.
|
||||
Use the GNU runtime. Download the gcc compiler and configure it with
|
||||
|
|
|
@ -13,7 +13,7 @@ The currently released version is @samp{@value{GNUSTEP-MAKE-VERSION}}.
|
|||
|
||||
@itemize @bullet
|
||||
@item Support for building in a separate build dir.
|
||||
@item Add --enable-string-makefiles option to configure
|
||||
@item Add @code{--enable-strip-makefiles} option to configure
|
||||
@item List of classes in a framework gets written to the plist file.
|
||||
@end itemize
|
||||
|
||||
|
|
|
@ -231,24 +231,16 @@ warning: using `#import' is not recommended
|
|||
[...]
|
||||
@end example
|
||||
|
||||
This is quite annoying for many people, particularly since almost any
|
||||
book on Objective-C you read recommends using #import instead of
|
||||
#include. If you are wondering why #import is deprecated, please
|
||||
search the web and the GCC and GNUstep mailing list archives - there
|
||||
are very precise and sound technical reasons.
|
||||
Due to these problems, the gcc maintainers are seriously considering
|
||||
removing support for #import altogether in the next release.
|
||||
|
||||
If you still like to use #import, you can get rid of these warnings when
|
||||
you configure gnustep-make, with
|
||||
Up until gcc 3.4, the #import directive was not implemented correctly.
|
||||
As a result, the GCC compiler automatically emitted a warning whenever
|
||||
#import was used. As of gcc 3.4, this problem has been fixed, so
|
||||
presumably, this warning is no longer emitted when code is compiled.
|
||||
|
||||
You can suppress these warnings when you configure gnustep-make, with
|
||||
@example
|
||||
./configure --enable-import
|
||||
@end example
|
||||
|
||||
But beware, this may not even work on future versions of the gcc compiler.
|
||||
|
||||
|
||||
@c ****************************************************************
|
||||
@node Compatibility and Layout, Troubleshooting, Compiling and Installing, Top
|
||||
@section Compatibility and Layout
|
||||
|
|
Loading…
Reference in a new issue