projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tc-xgate.c: Replace R_XGATE_PCREL_X with BFD_RELOC_XGATE_PCREL_X
[deliverable/binutils-gdb.git]
/
libiberty
/
README
diff --git
a/libiberty/README
b/libiberty/README
index e8e9b338350f8d87bf4d518ceced6f995039818b..9f1cc979e49b27421c1b361d6461fa6ea87841d2 100644
(file)
--- a/
libiberty/README
+++ b/
libiberty/README
@@
-25,16
+25,17
@@
There are two sets of files: Those that are "required" will be
included in the library for all configurations, while those
that are "optional" will be included in the library only if "needed."
included in the library for all configurations, while those
that are "optional" will be included in the library only if "needed."
-To add a new required file, edit Makefile to add the source file
+To add a new required file, edit Makefile
.in
to add the source file
name to CFILES and the object file to REQUIRED_OFILES.
To add a new optional file, it must provide a single function, and the
name of the function must be the same as the name of the file.
name to CFILES and the object file to REQUIRED_OFILES.
To add a new optional file, it must provide a single function, and the
name of the function must be the same as the name of the file.
- * Add the source file name to CFILES.
+ * Add the source file name to CFILES in Makefile.in and the object
+ file to CONFIGURED_OFILES.
* Add the function to name to the funcs shell variable in
* Add the function to name to the funcs shell variable in
- configure.
in
.
+ configure.
ac
.
* Add the function to the AC_CHECK_FUNCS lists just after the
setting of the funcs shell variable. These AC_CHECK_FUNCS calls
* Add the function to the AC_CHECK_FUNCS lists just after the
setting of the funcs shell variable. These AC_CHECK_FUNCS calls
@@
-48,6
+49,11
@@
name of the function must be the same as the name of the file.
object file to LIBOBJS, and add the function name to the case
controlling whether to define HAVE_func.
object file to LIBOBJS, and add the function name to the case
controlling whether to define HAVE_func.
+Finally, in the build directory of libiberty, configure with
+"--enable-maintainer-mode", run "make maint-deps" to update
+Makefile.in, and run 'make stamp-functions' to regenerate
+functions.texi.
+
The optional file you've added (e.g. getcwd.c) should compile and work
on all hosts where it is needed. It does not have to work or even
compile on hosts where it is not needed.
The optional file you've added (e.g. getcwd.c) should compile and work
on all hosts where it is needed. It does not have to work or even
compile on hosts where it is not needed.
This page took
0.02376 seconds
and
4
git commands to generate.