apenwarr-redo/docs/cookbook/c
Avery Pennarun 88250334da redoconf: move -Wl,-rpath flags to shlib.rc and add -Wl,-z,origin.
It was kind of ugly to have this kind of special flag directly in
link.od; now we detect whether it's available.  This also gives a
project the ability to override the flag in some other way if they
want.

As a result, rc/shlib.rc needs to be included in all.rc.od if you want
to create or link against shared libraries.

While we're here, also add -Wl,-z,origin on platforms where it works.
This is apparently needed for FreeBSD 8.0 at least, and probably other
platforms.

Reported-by: Wayne Scott <wsc9tt@gmail.com>
2019-03-01 13:55:22 -05:00
..
libhello Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
rc Fix some build problems on MacOS X. 2019-02-24 22:29:19 -05:00
.gitignore redoconf: better handling of required vs optional detectors. 2019-02-23 16:51:25 -05:00
all.do Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
all.h Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
all.hpp Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
all.od Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
all.rc.od redoconf: move -Wl,-rpath flags to shlib.rc and add -Wl,-z,origin. 2019-03-01 13:55:22 -05:00
allconfig.do docs/cookbook/c/allconfig.do: avoid need for '&' backgrounding. 2019-03-01 13:55:22 -05:00
arches.do redoconf: better handling of required vs optional detectors. 2019-02-23 16:51:25 -05:00
clean.do redoconf: posix.rc: fix abort when timespec is not available. 2019-02-23 21:00:26 -05:00
clean.od Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
configure Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
configure.help Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
default.each.do Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
flagtest.c Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
flagtest.o.od Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
hello world.list.od redoconf: better handling of required vs optional detectors. 2019-02-23 16:51:25 -05:00
main.c Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
main.h Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
monotime.c Fix some build problems on MacOS X. 2019-02-24 22:29:19 -05:00
monotime.h Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
redoconf Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
slow.cc Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
sources.do redoconf: better handling of required vs optional detectors. 2019-02-23 16:51:25 -05:00
test.do Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
test.od Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00
when.c.do Experimental new redoconf C/C++ build/autoconfiguration system. 2019-02-23 06:52:25 -05:00