makefile dependancy question
Eljay Love-Jensen
eljay@adobe.com
Tue May 20 20:03:00 GMT 2003
Hi Ali,
>Do I really have to include all standard object files in the main link
statement in my makefile?
No, you do not have to include all standard object files in your main link
statement.
Furthermore, you shouldn't include any standard object files in your main
link statement. That's for the standard libraries.
And if your program doesn't use any of the standard C or C++ routines /
classes, you shouldn't need to link them in either (libstdc.a/so/lib/dll
libstdc++.a/so/lib/dll).
Note: it appears that you are linking GCC and Borland stuff together. You
probably will not be able to link GCC object code to Borland object
code. Very likely, different formats. I'm not 100% sure, but that's my
very strong hunch.
Sincerely,
--Eljay
More information about the Gcc-help
mailing list