public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/modula-2] Corrected documentation concerning scaffold file name (-fmakeinit).
@ 2022-03-08 22:03 Gaius Mulley
0 siblings, 0 replies; only message in thread
From: Gaius Mulley @ 2022-03-08 22:03 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:cecd72c6eb7ee3ed19e809bb35ef293bc702bbf8
commit cecd72c6eb7ee3ed19e809bb35ef293bc702bbf8
Author: Gaius Mulley <gaius.mulley@southwales.ac.uk>
Date: Tue Mar 8 22:01:47 2022 +0000
Corrected documentation concerning scaffold file name (-fmakeinit).
2022-03-08 Gaius Mulley <gaius.mulley@southwales.ac.uk>
gcc/ChangeLog:
* doc/gm2.texi (Building a shared library): Corrected
scaffold filename automatically generated via -fmakeinit
in the libtool example.
Signed-off-by: Gaius Mulley <gaius.mulley@southwales.ac.uk>
Diff:
---
gcc/doc/gm2.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/doc/gm2.texi b/gcc/doc/gm2.texi
index 56b2ba0d600..6c6f048ccb3 100644
--- a/gcc/doc/gm2.texi
+++ b/gcc/doc/gm2.texi
@@ -2025,7 +2025,7 @@ We also must compile the scaffold.
@example
gm2 -c -g -fmakelist c.mod
gm2 -c -g -fmakeinit -fshared c.mod
-libtool --tag=CC --mode=compile g++ -g -c _m2_c.cpp -o _m2_c.lo
+libtool --tag=CC --mode=compile g++ -g -c c_m2.cpp -o _m2_c.lo
@end example
The third step is to link all these @file{.lo} files.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-08 22:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-08 22:03 [gcc/devel/modula-2] Corrected documentation concerning scaffold file name (-fmakeinit) Gaius Mulley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).