Re: newbie question on linking classes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi John

Thanks a lot! My code has compiled and linked perfectly now!

Regards
Koyel

On Thu, Mar 27, 2008 at 11:39 AM, John Love-Jensen <eljay@xxxxxxxxx> wrote:
> Hi Koyel,
>
>  You are compiling and linking source.cpp.
>
>  You need to compile and link all your source code.
>
>  e.g.
>  g++ source.cpp uno.cpp dos.cpp tres.cpp -o myapp
>
>  If you do your compiling separate from your linking:
>  g++ source.o uno.o dos.o tres.o -o myapp
>
>  HTH,
>  --Eljay
>
>

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux