[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem in Loading library using g++
From: |
Paul Pluzhnikov |
Subject: |
Re: Problem in Loading library using g++ |
Date: |
Mon, 05 Feb 2007 06:27:15 -0800 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux) |
"Hunk" <santosh.udyavara@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.