mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 16:24:27 +01:00
[linux] use g++ as c++
Signed-off-by: Steeve Morin <steeve.morin@gmail.com>
This commit is contained in:
parent
fd64ea0af1
commit
08a10c3137
@ -9,7 +9,7 @@ ENV LD_LIBRARY_PATH ${CROSS_ROOT}/lib:${LD_LIBRARY_PATH}
|
|||||||
RUN mkdir -p ${CROSS_ROOT} && \
|
RUN mkdir -p ${CROSS_ROOT} && \
|
||||||
cd /usr/bin && \
|
cd /usr/bin && \
|
||||||
ln -s ${CROSS_TRIPLE}-gcc ${CROSS_TRIPLE}-cc && \
|
ln -s ${CROSS_TRIPLE}-gcc ${CROSS_TRIPLE}-cc && \
|
||||||
ln -s ${CROSS_TRIPLE}-cpp ${CROSS_TRIPLE}-c++ && \
|
ln -s ${CROSS_TRIPLE}-g++ ${CROSS_TRIPLE}-c++ && \
|
||||||
for i in ranlib nm ar; do \
|
for i in ranlib nm ar; do \
|
||||||
ln -s ${CROSS_TRIPLE}-gcc-${i}-4.7 ${CROSS_TRIPLE}-${i} ; \
|
ln -s ${CROSS_TRIPLE}-gcc-${i}-4.7 ${CROSS_TRIPLE}-${i} ; \
|
||||||
done
|
done
|
||||||
|
@ -15,7 +15,7 @@ RUN mkdir -p ${CROSS_ROOT} && \
|
|||||||
cd /usr/bin && \
|
cd /usr/bin && \
|
||||||
chmod +x ${CROSS_TRIPLE}.sh && \
|
chmod +x ${CROSS_TRIPLE}.sh && \
|
||||||
ln -s x86_64-linux-gnu-gcc x86_64-linux-gnu-cc && \
|
ln -s x86_64-linux-gnu-gcc x86_64-linux-gnu-cc && \
|
||||||
ln -s x86_64-linux-gnu-cpp x86_64-linux-gnu-c++ && \
|
ln -s x86_64-linux-gnu-g++ x86_64-linux-gnu-c++ && \
|
||||||
ln -s ${CROSS_TRIPLE}.sh ${CROSS_TRIPLE}-cc && \
|
ln -s ${CROSS_TRIPLE}.sh ${CROSS_TRIPLE}-cc && \
|
||||||
ln -s ${CROSS_TRIPLE}.sh ${CROSS_TRIPLE}-c++ && \
|
ln -s ${CROSS_TRIPLE}.sh ${CROSS_TRIPLE}-c++ && \
|
||||||
for i in ranlib nm ar; do \
|
for i in ranlib nm ar; do \
|
||||||
|
Loading…
Reference in New Issue
Block a user