Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - gcc search directories: Page 1 of 3 (3 Items)
   
gcc search directories  
I have some libraries which I configure via autoconf/automake/libtool for portability. Unfortunately, those tools expect
 gcc command line arguments, so I can't use qcc. Letting it default to gcc/g++ worked OK in 6.4.3, but I'm having a 
little trouble in 6.5.0 because various standard library paths are not included automatically.

gcc -print-search-dirs list a bunch of paths, but nothing under $(QNX_TARGET), so it misses $(QNX_TARGET)/x86/lib/gcc/4.
4.2/ and hence cannot locate -lstdc++, and it does not search $(QNX_TARGET)/x86/lib, so it cannot find -lm.

Is there some central location where these paths can be edited, or are they compiled into the binaries?