Menu

#701 -c doesn't handle multiple src files on commandline

v1.0 (example)
closed-invalid
nobody
None
5
2018-02-13
2018-02-12
No

I have need to compile in multiple src library files with -c, for example,
g++ -c -o somefile.o somefile.cpp somelib.cpp someotherlib.cpp
g++ -c -o fileb.o fileb.cpp somelib.cpp someotherlib.cpp
it also does not allow for -m32, -m64, -mcpu, -march with -c. I need 64 and 32-bit libraries, and I have other cpu targets as well.
ar and ranlib do not work as intended - broken, so don't argue about those please as being the correct method. some things in the help are missing.

Discussion

  • Jim Michaels

    Jim Michaels - 2018-02-12

    ...and are the libraries really 32-bit?

     
  • NightStrike

    NightStrike - 2018-02-13
    • status: open --> closed-invalid
     

Log in to post a comment.