LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-12-2004, 10:48 AM   #1
Keenan
LQ Newbie
 
Registered: Jan 2004
Posts: 4

Rep: Reputation: 0
Question Setting up includes and libs for gcc


I am trying to install the Palm SDK 3.5 libraries. They provide the actual include/ and lib/ directories, which you have to install manually (no install script or rpm). I tried following the instructions of creating the directory /usr/local/palmdev/ and placing the lib/ and include/ directories in there, but when I try to compile it, gcc doesn't see those include files. Is there some environment variable that I should be setting for it to look in those directories? What would be the standard and clean way to solve this problem? I appologize in advance if this has been answered elsewhere, but I have been unable to come up with a search query specific enough.

Thanks for any help,
Keenan
 
Old 12-12-2004, 01:33 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 51
you can always just copy the files in /usr/local/palmdev/include to /usr/include, that seem easiest

if the includes are in a directory
like /usr/local/palmdev/include/somedirname
then just make a link to that dir in
/usr/include

otherwise look at the Makefile you are using or the output when you try to compile and see if you can add
-I/usr/local/palmdev/include
to the gcc command

the same with the libs if it won't link
just make links in /usr/lib or copy them to /usr/lib or adjust the Makefile to include
-L/usr/local/palmdev/lib in the gcc command
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up gcc Captain Morgan Linux - Newbie 1 06-28-2005 04:09 PM
Xless LiveCD with GCC and libs stalefish85 Linux - Distributions 2 11-05-2004 08:56 AM
Setting arm-gcc path? karfei00 Linux - General 0 06-16-2004 05:59 AM
gcc pass 2 -no fixed includes patch problems? SciYro Linux From Scratch 0 12-22-2003 07:30 PM
Setting Up GCC Tezdread Linux - General 4 09-07-2002 11:12 PM


All times are GMT -5. The time now is 09:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration