This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Linux, PowerPC and -fvtable-thunks
- To: Franz dot Sirl-private at lauterbach dot com (Franz Sirl)
- Subject: Re: Linux, PowerPC and -fvtable-thunks
- From: hjl at lucon dot org (H.J. Lu)
- Date: Thu, 20 Nov 1997 15:57:51 -0800 (PST)
- Cc: egcs at cygnus dot com
>
> Hi,
>
> while working with the egcs configure scripts on a native powerpc-unknown-linux-gnulibc1 system (see my preliminary patch on <http://homepages.munich.netsurf.de/Franz.Sirl/misc/ppclibc1.diff>), I noticed the following about the make frags:
> 1. mh-ppcpic is pulled in for host=powerpc-unknown-linux-gnulibc1
> 2. mt-linux is pulled in for *-*-linux-gnu
> 3. if shared && powerpc*-*: mt-ppcpic is pulled in and replaces mt-linux
>
> Is this correct for "configure --enable-shared" on glibc2 systems? Shouldn't that be additive?
>
I have sent this patch long time ago to deal with this. But
noone cares enough to check it out:
Sun Sep 7 14:27:56 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* configure.in (host_makefile_frag, target_makefile_frag):
Handle multiple config files.
(alpha-*-linux*): Treat alpha-*-linux* as alpha-*-linux* and
alpha-*-*.
Please check out the egcs archive for my patch. My patch should not
hurt anything. It is just modified to deal with the case above. The
Linux/alpha patch is also needed.
BTW, it happens on all linux platforms with PIC.
H.J.