Hello, Marc, Victor, and everybody!
Khimenko Victor wrote:
Here is your problem: GPC can not be used with different version of GCC.
Well ... you have some additional work when using GPC with a non-matching version of GCC.
In this case it is `libgcc.a' that is not found. You can move or copy it from your GCC's directory
/usr/lib/gcc-lib/<platform>/<version>/
to a global one (such as /usr/local/lib/). After my humble experience, this doesn't harm. (But don't blame me if it does for you.;-)
Another workaround would be to copy or link the same file from GCC's directory above to GPC's one.
A correct solution is to supply the correct version of `libgcc.a' in the GPC distribution - or to package corresponding versions of GPC and GCC in the distribution. This is the distributor's home work.
Another correct solution is to ...
grab sources of gcc from RedHat's CD and rebuild GPC from sources.
Exactly.
Hope this helps,
Peter