Sorry, I don't usually use GCC to build my programs, I use Make (which calls GCC to compile them). I am using GNU GCC 4.6.3. So to be clear, I go back to the directory with my make file, and instead of re-running
and
I would run
?
How would I install it then, can I run 'make install'?
Sorry, I didn't notice your reply until now.
YOu edit the Makefile to add the rpath snippet either to the LDFLAGS variable or directly to the line that builds the binary. You should find a pair of lines like this:
If the library is explicitly mentioned (rather than being hidden in say $(LIBS)) put it just before that:
You then use make and make install as before
Andrew
I am slowly ploughing my way through the list of links to on-line tutorials you provided to newbies. I for one am grateful for such a comprehensive list, so first of all thank you for that.
What i cannot seem to find, is information on C++ libraries:
The two links on libraries in your list... (0 Replies)
so I have taken on the task of running a few workshops / teaching sessions.
we have three new unix people, they have the basics sorted, CD, PWD, LS and such.
we are looking at people who have been doing helpdesk untill two months ago.
I have given them a few session:
file systems, what... (2 Replies)
I have a file that reads File (X.txt)
Contents of record 1:
rdrDESTINATION_ADDRESS (String) "91 971502573813"
rdrDESTINATION_IMSI (String) "000000000000000"
rdrORIGINATING_ADDRESS (String) "d0 movies"
rdrORIGINATING_IMSI (String) "000000000000000"
rdrTRAFFIC_EVENT_TIME... (0 Replies)
I'm a rookie to C and i'm looking for some libraries to learn,something likes the C++ STL or Boost ,does any1 can tell me some of them?Thanks a lot:)
Eric (3 Replies)
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Is to compute for the discount of the two variables of TODDLER and KID
2. Relevant commands, code, scripts,... (3 Replies)