This is the mail archive of the gcc-bugs@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: Problem with threads on alpha (osf-4.0d) egcs-2.91.60


On Feb 27, 1999, Jeremy Sanders <jss@ast.cam.ac.uk> wrote:

> I attempted to build the glib-1.1.12 using egcs-2.91.60 under osf-4.0d on
> an Alpha. The compilation failed whilst trying to compile thread support.
> I emailed the problem to the glib-1.1.12 list, but it seems to be an egcs
> problem, because the native cc compiles the program without fault.

I believe this problem is fixed in the current CVS tree; a modified
c_asm.h is installed in egcs-<version>/include that #ifdefs out the
declarations and definitions of {,f,d}asm(), like this:

#ifdef __DECC
        float  fasm( const char *,... );
        long   asm( const char *,...);
        double dasm( const char *,... );

#pragma intrinsic( fasm )
#pragma intrinsic( asm )
#pragma intrinsic( dasm )
#endif

-- 
Alexandre Oliva http://www.dcc.unicamp.br/~oliva aoliva@{acm.org,computer.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Instituto de Computação, Universidade Estadual de Campinas, SP, Brasil



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