pkgsrc-Users archive

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

shared libs on solars



Hi all,

I have compiled gcc into /usr/gcc. I designated this as my "system c compiler" 
to be used for pkgsrc (and everything else).

To avoid dealing with gcc's shared libs (libgcc.so and libstdc++.so), I 
configured gcc with --disabled-shared.

that breaks some packages such as devel/gmp. Gmp builds a shared lib and wants 
to link libstdc++.a. Linking a non-shared lib to a shared lib doesn't work.

Is there a way around that?


Next try. I configured gcc with enable-shared=libstc++. Now g++ compiled 
program's don't find libstdc++. Apparently, the pkgsrc framework does not add 
-R /usr/gcc/lib to g++.

What is the cleanest solution for this in the pkgsrc framework?

 Stefan

-- 

Scotty: Captain, we din' can reference it!
Kirk:   Analysis, Mr. Spock?
Spock:  Captain, it doesn't appear in the symbol table.
Kirk:   Then it's of external origin?
Spock:  Affirmative.
Kirk:   Mr. Sulu, go to pass two.
Sulu:   Aye aye, sir, going to pass two.


Home | Main Index | Thread Index | Old Index