| | 1 | Copyright (C) 1987, 1988, 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
|---|
| | 2 | 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
|---|
| | 3 | Free Software Foundation, Inc. |
|---|
| | 4 | See the end of the file for license conditions. |
|---|
| | 5 | |
|---|
| | 6 | |
|---|
| | 216 | ** Emacs compiled with Gtk+ crashes on startup on cygwin. |
|---|
| | 217 | |
|---|
| | 218 | A typical error message is |
|---|
| | 219 | ***MEMORY-ERROR***: emacs[5172]: GSlice: failed to allocate 504 bytes |
|---|
| | 220 | (alignment: 512): Function not implemented |
|---|
| | 221 | |
|---|
| | 222 | Emacs supplies its own malloc, but glib (part of Gtk+) calls memalign and on |
|---|
| | 223 | cygwin that becomes the cygwin supplied memalign. As malloc is not the |
|---|
| | 224 | cygwin malloc, the cygwin memalign always returns ENOSYS. A fix for this |
|---|
| | 225 | problem would be welcome. |
|---|
| | 226 | |
|---|
| 2359 | | compiling Emacs. GCC versions 4.0.3 and 4.1.1 reportedly build a |
|---|
| 2360 | | working Cygwin binary of Emacs, so we recommend these GCC versions. |
|---|
| | 2368 | compiling Emacs. GCC versions 4.0.3, 4.1.1, and 4.1.2 reportedly |
|---|
| | 2369 | build a working Cygwin binary of Emacs, so we recommend these GCC |
|---|
| | 2370 | versions. Note that these three versions of GCC, 4.0.3, 4.1.1, and |
|---|
| | 2371 | 4.1.2, are currently the _only_ versions known to succeed in building |
|---|
| | 2372 | Emacs (as of v22.1). |
|---|
| 2405 | | *** include/assert.h.orig Sun Nov 7 02:41:36 1999 |
|---|
| 2406 | | --- include/assert.h Mon Jan 29 11:49:10 2001 |
|---|
| 2407 | | *************** |
|---|
| 2408 | | *** 41,47 **** |
|---|
| 2409 | | /* |
|---|
| 2410 | | * If not debugging, assert does nothing. |
|---|
| 2411 | | */ |
|---|
| 2412 | | ! #define assert(x) ((void)0); |
|---|
| 2413 | | |
|---|
| 2414 | | #else /* debugging enabled */ |
|---|
| 2415 | | |
|---|
| 2416 | | --- 41,47 ---- |
|---|
| 2417 | | /* |
|---|
| 2418 | | * If not debugging, assert does nothing. |
|---|
| 2419 | | */ |
|---|
| 2420 | | ! #define assert(x) ((void)0) |
|---|
| 2421 | | |
|---|
| 2422 | | #else /* debugging enabled */ |
|---|
| 2423 | | |
|---|
| | 2417 | *** include/assert.h.orig Sun Nov 7 02:41:36 1999 |
|---|
| | 2418 | --- include/assert.h Mon Jan 29 11:49:10 2001 |
|---|
| | 2419 | *************** |
|---|
| | 2420 | *** 41,47 **** |
|---|
| | 2421 | /* |
|---|
| | 2422 | * If not debugging, assert does nothing. |
|---|
| | 2423 | */ |
|---|
| | 2424 | ! #define assert(x) ((void)0); |
|---|
| | 2425 | |
|---|
| | 2426 | #else /* debugging enabled */ |
|---|
| | 2427 | |
|---|
| | 2428 | --- 41,47 ---- |
|---|
| | 2429 | /* |
|---|
| | 2430 | * If not debugging, assert does nothing. |
|---|
| | 2431 | */ |
|---|
| | 2432 | ! #define assert(x) ((void)0) |
|---|
| | 2433 | |
|---|
| | 2434 | #else /* debugging enabled */ |
|---|
| | 2435 | |
|---|
| | 2436 | |
|---|
| | 2437 | *** Building the MS-Windows port with Visual Studio 2005 fails. |
|---|
| | 2438 | |
|---|
| | 2439 | Microsoft no longer ships the single threaded version of the C library |
|---|
| | 2440 | with their compiler, and the multithreaded static library is missing |
|---|
| | 2441 | some functions that Microsoft have deemed non-threadsafe. The |
|---|
| | 2442 | dynamically linked C library has all the functions, but there is a |
|---|
| | 2443 | conflict between the versions of malloc in the DLL and in Emacs, which |
|---|
| | 2444 | is not resolvable due to the way Windows does dynamic linking. |
|---|
| | 2445 | |
|---|
| | 2446 | We recommend the use of the MingW port of GCC for compiling Emacs, as |
|---|
| | 2447 | not only does it not suffer these problems, but it is also Free |
|---|
| | 2448 | software like Emacs. |
|---|
| 3684 | | Copyright (C) 1987, 1988, 1989, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
|---|
| 3685 | | 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. |
|---|
| 3686 | | |
|---|
| 3687 | | Copying and redistribution of this file with or without modification |
|---|
| 3688 | | are permitted without royalty provided this notice is preserved. |
|---|
| 3689 | | |
|---|
| | 3709 | This file is part of GNU Emacs. |
|---|
| | 3710 | |
|---|
| | 3711 | GNU Emacs is free software; you can redistribute it and/or modify |
|---|
| | 3712 | it under the terms of the GNU General Public License as published by |
|---|
| | 3713 | the Free Software Foundation; either version 2, or (at your option) |
|---|
| | 3714 | any later version. |
|---|
| | 3715 | |
|---|
| | 3716 | GNU Emacs is distributed in the hope that it will be useful, |
|---|
| | 3717 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| | 3718 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| | 3719 | GNU General Public License for more details. |
|---|
| | 3720 | |
|---|
| | 3721 | You should have received a copy of the GNU General Public License |
|---|
| | 3722 | along with GNU Emacs; see the file COPYING. If not, write to the |
|---|
| | 3723 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
|---|
| | 3724 | Boston, MA 02110-1301, USA. |
|---|
| | 3725 | |
|---|
| | 3726 | |
|---|