multiple .a files linking issues

RobinK RobinQi@yahoo.com
Fri Dec 11 22:23:00 GMT 2009


Hi! John:
    Sorry my mistake in the original post, I actually did do:
g++ -o myapp myapp.o /mylib/libA.a /mylib/libB.a
    It was the libB.a at the end got screwed up. So this works:
g++ -o myapp myapp.o /mylib/libB.a /mylib/libA.a
    And yes I already started worrying about the cicular issue. Maybe using
the .o file is the solution?

-- 
View this message in context: http://old.nabble.com/multiple-.a-files-linking-issues-tp26745612p26746364.html
Sent from the gcc - Help mailing list archive at Nabble.com.



More information about the Gcc-help mailing list