c++ - Unable to create simple archive -
I am trying to create a simple archive using the following makefiles:
Inc: = -libbs / rapid ml-1.13 all: $ (cfa) -k $ (inc) -o pigeon Dove HP AR RVS Libodov.a pigeon RRLIB Libid A clean: RM-F Dove. O Libode A In this dove.hpp file, #include is "rapidxml.hpp" , which you can see that I compile a specific rapidxml I indicate. Complete all runs to meet the goal, but 1) output pigeon. It is huge (19 MB!) When rapidxml + dove.hpp is only about 150, and 2) neither the last libdove.a or pigeons seem to be useful items: [hamiltont @ 4 pigeon] $ nm dove.o nm: dove.o: file format is not recognized [hamiltont @ 4 dove] $ nm libdove .a nm: dove.o: file format is not recognized [... in other projects ...] [Hamilton @ 4 pigeon] $ g ++ -o bin / antHybrid build / * .o -l / home / hamiltont / foobar / pigeon -hawo / home / attack / foobar / div / libdew.A: symbols Could not read: in the archive Oi is no index; Runlib to run a collection: ld 1 exit status
Ah, Clear mistake I am trying to compile a header file and then package that as a library. In pre-compiled headings, there is really no need for make-up in this directory
Comments
Post a Comment