help-gplusplus
[Top][All Lists]
Advanced

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

Re: Problem in Loading library using g++


From: Hunk
Subject: Re: Problem in Loading library using g++
Date: 5 Feb 2007 20:35:54 -0800
User-agent: G2/1.0

Thanks a zillion. Tried with the first option and it did work...
Gr888
On Feb 5, 7:27 pm, Paul Pluzhnikov <ppluzhnikov-...@charter.net>
wrote:
> "Hunk" <santosh.udyav...@gmail.com> writes:
> > The option i'm using in RSD to link the library to the file is
> > g++  -o Concurrency.exe     nothread.o    -l"D:\RoseTests\Myzthread
> > \Debug\libMyzthread.a"
>
> This is incorrect. Use either:
>
>   g++ -o Concurrency.exe nothread.o 
> "D:\RoseTests\Myzthread\Debug\libMyzthread.a"
>
> or
>
>   g++ -o Concurrency.exe nothread.o -L"D:\RoseTests\Myzthread\Debug" 
> -lMyzthread
>
> Also, *do* read "info gcc" to understand what -l does and why your
> original command line is bogus.
>
> Cheers,
> --
> In order to understand recursion you must first understand recursion.
> Remove /-nsp/ for email.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]