<<< Date Index >>>     <<< Thread Index >>>

Re: 1.5.8 build failure on Solaris 8



* On 2005.02.18, in <20050218182007.GD9497@xxxxxxxxxxxxxx>,
*       "Brendan Cully" <brendan@xxxxxxxxxx> wrote:
> 
> and it compiled without problems. So I guess the problem is that
> __PRAGMA_REDEFINE_EXTNAME isn't getting defined. I wonder what
> triggers this difference?

gcc.info:

    Solaris Pragmas
    ---------------
    
    For compatibility with the SunPRO compiler, the following pragma is
    supported.
    
    `redefine_extname OLDNAME NEWNAME'
         This pragma gives the C function OLDNAME the assembler label
         NEWNAME.  The pragma must appear before the function declaration.
         This pragma is equivalent to the asm labels extension (*note Asm
         Labels::).  The preprocessor defines `__PRAGMA_REDEFINE_EXTNAME'
         if the pragma is available.

This appears to be goverened by HANDLE_PRAGMA_REDEFINE_EXTNAME, which
my gcc-3.4.1/gcc/config/sol2.h simply defines as a matter of course. I
don't see offhand why yours would not take it.

-- 
 -D.    dgc@xxxxxxxxxxxx                                  NSIT::ENSS