This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: libstdc++ compatibility


> 
> >>>>> H J Lu <hjl@lucon.org> writes:
> 
>  > Did I miss something? I am running RedHat 5.1. I have no problems
>  > using both egcs 1.0.3 and egcs 1.1. One thing helps me is the library
>  > interface. If you want to change egcs 1.1.1 for RedHat, how about
>  > my library interface?
> 
> The library interface patch is irrelevant, since the version number was

If that is true, why cannot egcs 1.0.3 and 1.1.1 co-exist? If you take
a closer look at my library interface, you will see it supports N
different C++ compilers/libraries by

1. Put

libstdc++-$(LIBSTDCXX_INTERFACE)$(LIBC_INTERFACE)$(CXX_INTERFACE)-$(VERSION)

in $(prefix)/lib.

2. Put symlinks of libstdc++.so and libstdc++.a in the compiler
directory.

It is how my library interface works. We just need to retrofit the
egcs 1.0.3 binaries to get it to work. The key to solve the RedHat
problem is (2). Did I miss something?


-- 
H.J. Lu (hjl@gnu.org)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]