This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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\_______/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]