Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: erik@CCCA.NCTU.edu.tw (Jyh-Shyang Wang)
Subject: Who had compiled gcc on DECstation 5000/240?
Date: 15 Aug 1993 14:09:24 GMT	[thread overview]
Message-ID: <24lg2k$442@ccca.NCTU.edu.tw> (raw)

[ Article crossposted from gnu.gcc.help,tw.comp.unix,comp.unix.programmer ]
[ Author was Jyh-Shyang Wang ]
[ Posted on 15 Aug 1993 06:30:05 GMT ]

	I compiled gcc 2.4.5 on DECstation 5000/240,but failed. I use:
1. configure --prefix=/vsp_3/erik/local --local-pref=/vsp_3/erik/local
--exec-pref=/vsp_3/erik/local -target mips-dec-ultrix

2. make

3. make stage1
4. make CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O" LANGUAGES=c

5. make stage2
6. make CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O" LANGUAGES=c

7. make stage3
8. make CC="stage3/xgcc -Bstage3/" CFLAGS="-g -O" LANGUAGES=c

9. make compare
& it show nothing then

10. make install CC="stage2/xgcc -Bstage2/" CFLAGS="-g -O" LANGUAGES=c

and I hadn't saw any important error message,only some ignore error
messages.

but when I compiled simple X program,it show:

In file included from
/vsp_3/erik/local/lib/gcc-lib/mips-dec-ultrix/2.4.5/include/X11/Intrinsic.h:44,
from memo.c:1:
/vsp_3/erik/local/lib/gcc-lib/mips-dec-ultrix/2.4.5/include/X11/Xlib.h:3958:
parse error before \x18SizeHints'
/vsp_3/erik/local/lib/gcc-lib/mips-dec-ultrix/2.4.5/include/X11/Xlib.h:3971:
parse error before \x18SizeHints'
	:	:	:
	:	:	:

and Xlib.h 3951-3965 is:
extern int XWMGeometry(
#if NeedFunctionPrototypes
    Display*            /* display */,
    int                 /* screen_number */,
    const char*         /* user_geometry */,
    const char*         /* default_geometry */,
    unsigned int        /* border_width */,
    XSizeHints*         /* hints */,	<==== 3958 line...
    int*                /* x_return */,
    int*                /* y_return */,
    int*                /* width_return */,
    int*                /* height_return */,
    int*                /* gravity_return */
#endif
);

the program can be compiled on the same machine by its own cc compiler,or 
sun's gcc. the first line is:
#include <X11/Intrinsic.h>


	So,who can tell me where is my error,and how should I do?
			  ^^^^^^^^^^^^^^^^^^     ^^^^^^^^^^^^^^^
Thankx!

--
      Internet Address:	erik@CCCA.NCTU.edu.tw

English Name: Erik Wang
Chinese Name: Wang Jyh-Shyang     National Chiao-Tung University,Taiwan,R.O.C.

--
      Internet Address:	erik@CCCA.NCTU.edu.tw

English Name: Erik Wang
Chinese Name: Wang Jyh-Shyang     National Chiao-Tung University,Taiwan,R.O.C.


                 reply	other threads:[~1993-08-15 14:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox