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]
Other format: [Raw text]

Re: [HELP] GCC 4.1 branch Ada status on powerpc-darwin?


> I'm not sure we'd be willing to trade minimal dependencies for "future binary 
> compatibility", but I see your point.  I'll let Arnaud decide.

Well if you ask me, I'd rather not put anything special for Darwin.
Failing that, I'd rather see a very minimal change.

Having systematically a dependency on libgcc_s in the world I live in
is simply a pain, no matter how you put it, so that's really my least
preferred option.

Also as others said, caring about forward compatibility on Darwin when
we see that Darwin is handled in such a weird way and keep changing things
seems a very dubious argument at best.

So if we want to switch to constructive mode, I do not really see a
minimal patch to solve this unless the gcc driver can be changed.

Otherwise, we could modify systematically the binder/linker to always
call gcc with either -static-libgcc or -shared-libgcc when linking, depending
on whether shared libs are used. Or we could make this capability optional
and enabled with a flag in link.c named e.g. "__gnat_force_libgcc_switch"

In any case, we're talking about non trivial amount of work.

Maybe Vincent (cc:ed) would have some other suggestions on the possible
approaches ? (see http://gcc.gnu.org/ml/gcc/2006-01/msg00616.html for
earlier discussions on this subject).

Arno


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