diff options
| author | John Ogness <john.ogness@linutronix.de> | 2018-04-19 10:45:44 +0200 |
|---|---|---|
| committer | John Ogness <john.ogness@linutronix.de> | 2018-04-19 10:45:44 +0200 |
| commit | bac1a55bcb36df264a9f274efb6db7cafde09377 (patch) | |
| tree | d8392b9b75d65f04c4d741e6804625cdbb5f0170 | |
| parent | ced30fde3f5ee5c2d4d472bbcfd094069b77cb10 (diff) | |
embedded-devel: fix command line to match example
The following slide shows hello2 using DT_RPATH, so set the output
to hello2 when compiling.
Signed-off-by: John Ogness <john.ogness@linutronix.de>
| -rw-r--r-- | application-devel/embedded-devel/pres_embedded-devel_en.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/application-devel/embedded-devel/pres_embedded-devel_en.tex b/application-devel/embedded-devel/pres_embedded-devel_en.tex index 83a8926..afd91cc 100644 --- a/application-devel/embedded-devel/pres_embedded-devel_en.tex +++ b/application-devel/embedded-devel/pres_embedded-devel_en.tex @@ -490,7 +490,7 @@ gcc -Wl,--enable-new-dtags -Wl,-rpath,/mypath \ The -rpath and --disable-new-dtags linker options together specify to the linker a search path to record in the executable binary. It is stored as DT\_RPATH in the ELF dynamic section. \begin{verbatim} gcc -Wl,--disable-new-dtags -Wl,-rpath,/mypath \ - -ohello hello.c -lhello + -ohello2 hello.c -lhello \end{verbatim} \end{frame} |
