This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
about order of the libraries at link time
- From: "Lijuan Hai" <hailijuan at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Tue, 6 May 2008 17:55:24 +0800
- Subject: about order of the libraries at link time
Hi all,
g++ always add "-lstdc++ -lm" before any other libraries at link
time. I want to link the libraries after libc.so. but I haven't found
where to change the order in gcc sources. so could you provide any
helpful hints on it? thanks in advance.
--
Best wishes!
Yours,
Lijuan Hai
_ _
(_)(_)
(,,)
=()=
((__)\
_|L\_______/