diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-05-15 23:31:55 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-05-15 23:31:55 +0000 |
commit | 66f6a52b79eac33d158bdeabdc0caa53cfaea3b8 (patch) | |
tree | 5a6f83f3d86b514cbe4999f816a74a892e72418a /FAQ | |
parent | 26262bc29e3860fe92c2532ab2ca11aa62a901aa (diff) | |
download | glibc-66f6a52b79eac33d158bdeabdc0caa53cfaea3b8.zip glibc-66f6a52b79eac33d158bdeabdc0caa53cfaea3b8.tar.gz glibc-66f6a52b79eac33d158bdeabdc0caa53cfaea3b8.tar.bz2 |
Update.
* stdlib/strtol.c: Optimize inner loop of long long versions.
Diffstat (limited to 'FAQ')
-rw-r--r-- | FAQ | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -226,8 +226,8 @@ to use EGCS. Comparing the sizes of glibc on Intel compiled with a recent EGCS and gcc 2.8.1 shows this: text data bss dec hex filename -egcs-2.93.10 862897 15944 12824 891665 d9b11 libc.so -gcc-2.8.1 959965 16468 12152 988585 f15a9 libc.so + egcs-2.93.10 862897 15944 12824 891665 d9b11 libc.so + gcc-2.8.1 959965 16468 12152 988585 f15a9 libc.so Make up your own decision. @@ -838,7 +838,7 @@ ypbind. ypbind 3.3 and older versions don't always remove these files, so glibc will continue to use them. Other BSD versions seem to work correctly. Until ypbind 3.4 is released, you can find a patch at - ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypbind-3.3-glibc4.diff.gz + <ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypbind-3.3-glibc4.diff.gz> 2.14. Under Linux/Alpha, I always get "do_ypcall: clnt_call: @@ -929,7 +929,7 @@ gcc-2.8.1 together with libstdc++ 2.8.1.1. egcs 1.1 has the better C++ support and works directly with glibc 2.1. If you use gcc-2.8.1 with libstdc++ 2.8.1.1, you need to modify libstdc++ a bit. A patch is available as: - ftp://alpha.gnu.org/gnu/libstdc++-2.8.1.1-glibc2.1-diff.gz + <ftp://alpha.gnu.org/gnu/libstdc++-2.8.1.1-glibc2.1-diff.gz> Please note that libg++ 2.7.2 (and the Linux Versions 2.7.2.x) doesn't work very well with the GNU C library due to vtable thunks. If you're upgrading @@ -1071,7 +1071,7 @@ The glibc-compat add-on will provide the libcompat.a library, the older nss modules, and a few other files. Together, they should make it possible to do development with old static libraries on a glibc 2.1 system. This add-on is still in development. You can get it from - ftp://alpha.gnu.org/gnu/glibc-compat-2.1.tar.gz + <ftp://alpha.gnu.org/gnu/glibc-compat-2.1.tar.gz> but please keep in mind that it is experimental. @@ -1346,7 +1346,7 @@ This disables the optimization for that specific call. stdin/stdout/stderr. Why? {RM,AJ} Constructs like: -static FILE *InPtr = stdin; + static FILE *InPtr = stdin; lead to this message. This is correct behaviour with glibc since stdin is not a constant expression. Please note that a strict reading of ISO C does @@ -1361,17 +1361,17 @@ this way were versioning problems with the size of the FILE structure. To fix those programs you've got to initialize the variable at run time. This can be done, e.g. in main, like: -static FILE *InPtr; -int main(void) -{ - InPtr = stdin; -} + static FILE *InPtr; + int main(void) + { + InPtr = stdin; + } or by constructors (beware this is gcc specific): -static FILE *InPtr; -static void inPtr_construct (void) __attribute__((constructor)); -static void inPtr_construct (void) { InPtr = stdin; } + static FILE *InPtr; + static void inPtr_construct (void) __attribute__((constructor)); + static void inPtr_construct (void) { InPtr = stdin; } 3.10. I can't compile with gcc -traditional (or @@ -1380,9 +1380,9 @@ static void inPtr_construct (void) { InPtr = stdin; } {AJ} glibc2 does break -traditional and -traditonal-cpp - and will continue to do so. For example constructs of the form: -enum {foo -#define foo foo -} + enum {foo + #define foo foo + } are useful for debugging purposes (you can use foo with your debugger that's why we need the enum) and for compatibility (other systems use defines and |