Skip to content

Commit

Permalink
v bintuils
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry Ponyatov <dponyatov@gmail.com>
  • Loading branch information
ponyatov committed Mar 24, 2019
1 parent d524ff4 commit dae4779
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions book/mcu/arm/gnugcc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -214,3 +214,21 @@
mkdir $(TMP)/$(CLOOG) ; cd $(TMP)/$(CLOOG) ; \
$(CFG) $(CFG_CLOOG) && make && make install
\end{lstlisting}

\clearpage
\begin{lstlisting}[language=make]
TARGET ?= arm-none-eabi

CFG_WITHCCLIBS = --with-gmp=$(CROSS) \
--with-mpfr=$(CROSS) --with-mpc=$(CROSS)

CFG_BINUTILS = --disable-nls --prefix=$(CROSS) \
--target=$(TARGET) \
--with-sysroot=$(SYSROOT) \
--with-native-system-header-dir=/include \
$(CFG_WITHCCLIBS)

binutils: $(CROSS)/bin/$(TARGET)-ld
$(CROSS)/bin/$(TARGET)-ld: $(SRC)/$(BINUTILS)/README
$(CFG) $(CFG_BINUTILS) && make && make install
\end{lstlisting}
2 changes: 1 addition & 1 deletion mcu
Submodule mcu updated 1 files
+20 −6 Makefile

0 comments on commit dae4779

Please sign in to comment.