[prog] C++ loader error
Kathryn Hogg
kjh at flyballdogs.com
Fri May 30 09:35:44 EST 2003
Ganesh Swami said:
> You do not need to call ld directly from your make file, you can let gcc
> call the linker.
>
> Linking statement:
> gcc -o firm <list of all object files>
Some you are linking C++ code use g++ instead of gcc to link your program
as this will arrange for the C++ library to be automatically linked and
some other important C++ bookkeeping.
g++ -o firm <list of all object files>
--
Kathryn
More information about the Programming
mailing list