From: zonekeep AT bigfoot DOT com (ZKeeper) Newsgroups: comp.os.msdos.djgpp Subject: Using MSSDK header with RSXNTDJ Date: Tue, 22 Dec 1998 07:07:26 GMT Organization: SEEDNet News Service Lines: 20 Message-ID: <367f42ee.6527391@news.seed.net.tw> NNTP-Posting-Host: james.qts.com.tw X-Newsreader: Forte Free Agent 1.11/32.235 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I install RSXNTDJ 1.3.1 with gcc 2.8.1 with the modified "specs" files, I can already compile most of the examples (except for the C++ example) I decide to try the MSSDK header (Sept. 98) and applied the patch suggested by Bowman, but instead I get the following error when I try to compile the dll example In file included from C:/SoftDev/RSXNTDJ/include/mssdk/windef.h:166, from C:/SoftDev/RSXNTDJ/include/mssdk/windows.h:169, from dlltest.c:3: C:/SoftDev/RSXNTDJ/include/mssdk/winnt.h:627: #error Must define a target architecture. make.exe: *** [dlltest.o] Error 1 I know, after looking at header, this should be able to resolved with a defined at gcc command in "specs", but does anyone else have this problem, how do reslove it. I removed the header for now, and every thing compile just fine.