This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with threads on alpha (osf-4.0d) egcs-2.91.60
- To: Jeremy Sanders <jss at ast dot cam dot ac dot uk>
- Subject: Re: Problem with threads on alpha (osf-4.0d) egcs-2.91.60
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 01 Mar 1999 08:58:50 -0300
- Cc: egcs-bugs at egcs dot cygnus dot com
- References: <Pine.OSF.4.10.9902271122001.23916-100000@xalph4.ast.cam.ac.uk>
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