From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,63f7c286e305d2d2,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-08-15 07:15:55 PST Path: gmd.de!xlink.net!howland.reston.ans.net!newsserver.jvnc.net!news.edu.tw!news!ccca.nctu.edu.tw!erik From: erik@CCCA.NCTU.edu.tw (Jyh-Shyang Wang) Newsgroups: comp.sys.dec Subject: Who had compiled gcc on DECstation 5000/240? Date: 15 Aug 1993 14:09:24 GMT Organization: Campus Computer Communication Association, NCTU, Taiwan Message-ID: <24lg2k$442@ccca.NCTU.edu.tw> NNTP-Posting-Host: ccca.nctu.edu.tw X-Newsreader: TIN [version 1.2 PL1] [ 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 SizeHints' /vsp_3/erik/local/lib/gcc-lib/mips-dec-ultrix/2.4.5/include/X11/Xlib.h:3971: parse error before SizeHints' : : : : : : 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 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.