Ordering object files when linkng using Visual C++ 5.0.
Posted on 2003-03-16
I am a newbie trying to use Visual C++. I am trying to order a set of object files so that a_1.obj is followed by all the other object files being linked. I also want to specify the last object file a_n.obj. So the linked image should look like the following:
a1.obj, a2.obj, a3.obj, ... a_n-1.obj, a_n.obj.
If I were to use a Makefile, I could do the following:
link a_1.obj $(OBJ) a_n.obj, where OBJ=a2.obj ... a_n-1.obj
How do I specify that to the builder?