This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with '-static' in 3.0 release on AIX
On Wed, Jun 20, 2001 at 12:47:30PM -0400, David Edelsohn wrote:
> Personally, I strongly recommend against using the GNUPro
> toolchain or the FSF releases of GAS and GLD to configure and build GCC
> 3.0. The GNUPro linker for AIX still has some significant
> incompatibilities, partially because the semantics used by the AIX linker
> are not well documented. I also recently have found problems with the
> line number debugging information that GAS assembles.
>
> GCC will configure and build powerpc, power, pthread, and 64-bit
> multilibs by default, as well as use shared libraries. Compile and link
> the application with "-pthread" option (not the old -mthreads option).
>
> I configure and build the compiler with the AIX assembler, linker,
> archiver, etc. Configuring with the GNU assembler causes the
> configuration process to find GAS extensions and use them, creating a
> dependency on only using that assembler.
>
> I explicitly create a link from .../build/gcc/as to the GNU
> Assembler when I build libstdc++-v3. I do not use "make bootstrap". GCC
> will use "as" in the -Bxxx/ directory if it finds an executable.
>
> I only use GAS to compile libstdc++-v3 because those are the only
> files with symbol names that cause problems for AIX as. In fact the only
> problem is a few files in libstdc++-v3/src.
What version of binutils do you use? 2.11.2 doesn't build "out of the
box" on 4.3.2.
--
albert chin (china@thewrittenword.com)