From 6067f1feb2d3d76de19372a366baf3fd3b883505 Mon Sep 17 00:00:00 2001 From: "Loren J. Rittle" Date: Mon, 22 Apr 2002 22:50:40 +0000 Subject: [PATCH] * docs/html/17_intro/porting.html: Rebuilt. From-SVN: r52643 --- libstdc++-v3/ChangeLog | 1 + libstdc++-v3/docs/html/17_intro/porting.html | 25 +++++++------------- 2 files changed, 10 insertions(+), 16 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 14f64f94a24..34023db8779 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,6 +1,7 @@ 2002-04-22 Loren J. Rittle * docs/html/17_intro/porting.texi (_GLIBCPP_AVOID_FSEEK): Remove. + * docs/html/17_intro/porting.html: Rebuilt. 2002-04-20 Jason Merrill diff --git a/libstdc++-v3/docs/html/17_intro/porting.html b/libstdc++-v3/docs/html/17_intro/porting.html index 344fb4f31b3..b24e96be382 100644 --- a/libstdc++-v3/docs/html/17_intro/porting.html +++ b/libstdc++-v3/docs/html/17_intro/porting.html @@ -1,16 +1,15 @@ - - + Porting libstdc++-v3 - + - + -


Node:Top, -Next: +Next:, +Up:(dir)

Porting libstdc++-v3

@@ -105,18 +104,11 @@ need to define. You will need to add them to the target. It will not work to simply define these macros in os_defines.h. -

At this time, there are two libstdc++-v3-specific macros which may be +

At this time, there is one libstdc++-v3-specific macro which may be defined. _G_USING_THUNKS may be defined to 0 to express that the port doesn't use thunks (although it is unclear that this is still useful since libio support isn't currently working and the g++ v3 ABI -invalidates the assumption that some ports don't use thunks). -_GLIBCPP_AVOID_FSEEK may be defined if seeking on an interactive -stream (or one hooked to a pipe) is not allowed by the OS. In this -case, getc()/ungetc() will be used at some key locations in the library -implementation instead of fseek(). Currently, the code path to avoid -fseek() is only enabled when the seek size is 1 character away from the -current stream position. This is known to improve *-unknown-freebsd*, -sparc-sun-solaris2.* and *-*-mingw32*. +invalidates the assumption that some ports don't use thunks).

Finally, you should bracket the entire file in an include-guard, like this: @@ -459,7 +451,8 @@ Up:Top

GNU Free Documentation License

-
Version 1.1, March 2000
+

Version 1.1, March 2000

+
Copyright © 2000 Free Software Foundation, Inc.
 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA
 
-- 
2.30.2