Mail Archives: djgpp/1997/12/03/08:46:50
As I reported earlier I'm having difficulties with the 'grc' utility which
comes with RSXNTDJ 1.3.1.
The problem manifests when one attempts to compile a resource be it via a
Makefile or from the command line, for example trying to compile the example
bar under the sample/gui subdirectory gives:
C:\WINDOWS\Desktop\Meu Porta-arquivos\rsxntdj\GUI\COMMCTL>make
grc -r bar.rc
:-1: Error executing command 'cpp.exe bar.rc -o res$$cpp.res', code = 22
Now if one issues the command:
C:\WINDOWS\Desktop\Meu Porta-arquivos\rsxntdj\GUI\COMMCTL>grc -c
f:/djgpp/bin/cpp.exe -r bar.rc
then the resources get compiled and the application can be built.
I scrutinized all the directories in the path of the machine to be sure
there was not another cpp.exe wandering and being called intead of the GNU
preprocessor, but this is not the case.
Any ideas?
Some details on the plattform:
Pentium 75 w/32M of RAM, running Windows 95 4.00.950a plus Netware 4.01.
djgpp and rsxntdj installed at network drive (f:)
Contents of CONFIG.SYS
device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1)
Country=055,850,C:\WINDOWS\COMMAND\country.sys
devicehigh=C:\WINDOWS\COMMAND\ansi.sys
DEVICEHIGH/L:0=C:\WINDOWS\COMMAND\DRVSPACE.SYS /MOVE
----------------------------------------------------------------------------
Contents of AUTOEXEC.BAT
C:\WINDOWS\Desktop\Meu Porta-arquivos\SAMPLE\GUI\ENUMW>cat \autoexec.bat
c:\arquiv~1\mcafee\viruss~1\scanpm.exe c:\
@if errorlevel 1 pause
mode con codepage prepare=((850) c:\windows\command\ega.cpi)
mode con codepage select=850
keyb br,,c:\windows\command\keybrd2.sys /id:275
PATH %PATH%;C:\UTIL\;C:\PERL\BIN
doskey /insert
doskey emacs=f:\djgpp\gnu\emacs\bin\emacs $*
doskey ls=ls -F --color=auto $*
doskey vdir=vdir -F --color=auto $*
set dircmd=/o:gne /p
SET TMPDIR=%TEMP%
--------------------------------------------------------------------------------
Contents of DJGPP.ENV
#= Don't edit this line unless you move djgpp.env outside
#= of the djgpp installation directory. If you do move
#= it, set DJDIR to the directory you installed DJGPP in.
#=
DJDIR=%:/>DJGPP%
+USER=dosuser
+TMPDIR=%DJDIR%/tmp
+EMU387=%DJDIR%/bin/emu387.dxe
+TZ=brazil/west
+LFN=n
[bison]
BISON_HAIRY=%DJDIR%/lib/bison.hai
BISON_SIMPLE=%DJDIR%/lib/bison.sim
[cpp]
CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/include;%
DJDIR%/contrib/grx20/include;%DJDIR%/contrib/bcc2grx/include;%RSXNTDJ%/inclu
de/mssdk;%RSXNTDJ%/include/win32
C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/contrib/grx20/incl
ude;%DJDIR%/contrib/bcc2grx/include;%RSXNTDJ%/include/mssdk;%RSXNTDJ%/includ
e/win32
OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang
/objc;%RSXNTDJ%/include/mssdk;%RSXNTDJ%/include/win32
OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc;%R
SXNTDJ%/include/mssdk;%RSXNTDJ%/include/win32
[gcc]
COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin
LIBRARY_PATH=%/>;LIBRARY_PATH%;%RSXNTDJ%/lib;%DJDIR%/lib;%DJDIR%/contrib/grx
20/lib;%DJDIR%/contrib/bcc2grx/lib/dj
[info]
INFOPATH=%/>;INFOPATH%%DJDIR%/info;%DJDIR%/gnu/emacs/info
INFO_COLORS=0x1f.0x31
[emacs]
INFOPATH=%/>;INFOPATH%%DJDIR%/info;%DJDIR%/gnu/emacs/info
[less]
LESSBINFMT=*k<%%X>
LESSCHARDEF=8bcccbcc12bc5b95.b127.b
LESS=%LESS% -h5$y5$Dd2.0$Du14.0$Ds4.7$Dk9.0$
[locate]
+LOCATE_PATH=%DJDIR%/lib/locatedb.dat
[ls]
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31
:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=0
1;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:
*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl
=01;37:*.dl=01;37:*~=08:*.bak=08:
[dir]
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31
:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=0
1;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:
*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl
=01;37:*.dl=01;37:*~=08:*.bak=08:
[vdir]
+LS_COLORS=no=00:fi=00:di=36:lb=37;07:cd=40;33;01:ex=32:*.cmd=32:*.tar=01;31
:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=0
1;31:*.gz=01;31:*.deb=01;31:*.jpg=01;34:*.gif=01;34:*.bmp=01;34:*.ppm=01;34:
*.tga=01;34:*.xbm=01;34:*.xpm=01;34:*.tif=01;34:*.mpg=01;37:*.avi=01;37:*.gl
=01;37:*.dl=01;37:*~=08:*.bak=08:
-------------------------------------------------------------------------------
Contents of specs
*asm:
*asm_final:
*cpp:
%{posix:-D_POSIX_SOURCE} %{Zmt: -D__MT__} %{Zdll: -D__DLL__}
%{Zcrtdll*:-D__CRTRSXNT__}\
%{Zwin32: -D__WIN32__ -D__RSXNT__ -D__EMX__ -If:/djgpp/rsxntdj/include}
*cc1:
*cc1plus:
*endfile:
*link:
%{Zwin32: -Lf:/djgpp/rsxntdj/lib/all}
*link_command:
%{!c:%{!M:%{!MM:%{!E:%{!S:ld %l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} \
%{r} %{s} %{t} %{u*} %{x} %{z}\
%{!A:%{!nostartfiles:%{!nostdlib:%S}}} %{static:}\
%{L*} %D %{T*} %o %{!Zwin32: -Tdjgpp.djl}%{Zwin32: -Trsxnt.djl}\
%{!nostdlib: %{!Zwin32: -lgcc %L -lgcc %{!A:%E}} \
%{Zwin32: %{!Zdll:-lmain} %{Zdll:-ldll} -lalias \
%{!Zcrtdll*: %G %L %G %{!Zno-rte:-lemx -lemx2} -lkrn32 -lusr32
-lgdi32} \
%{Zcrtdll*: -lstati %{!Zmt: -lcrtcs} %{Zmt: -lcrtcm} -lemx2 -lkrn32
-lusr32 -lgdi32}} }}}}}}
%{!Zwin32:%{!c:%{!M:%{!MM:%{!E:%{!S:stubify %{v} %{o*:%*} %{!o*:a.out}}}}}}}
%{Zwin32:%{!c:%{!M:%{!MM:%{!E:%{!S:%{!o*:%especs: no output name} ntbind
%{!g:-remove} %{o*:%*} %{Zrsx32: -s dosstub.rsx }}}}}}}
*lib:
-lc
%{Zwin32:%{Zdll:%{Zso:-ldllso}%{Zno-rte:-ldllno}%{!Zso:%{!Zno-rte:-ldllrt}}}
%{!Zdll:-lc_app} -lc}
*startfile:
%{!Zwin32:%{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}} \
%{Zwin32:%{!Zdll:crt0w32.o%s}%{Zdll:dll0w32.o%s} %{Zsysv-signals:
sigsysv%O%s} %{Zbsd-signals: sigbsd%O%s} %{Zbin-files: binmode%O%s}}
*switches_need_spaces:
*signed_char:
%{funsigned-char:-D__CHAR_UNSIGNED__}
*predefines:
-Dunix -Di386 -DGO32 -DMSDOS -DDJGPP=2 -DDJGPP_MINOR=1
*cross_compile:
0
*multilib:
st Zwin32 !Zmt;mt Zwin32 Zmt;
-------------------------------------------------------------------------------
Result of 'env' command
COMSPEC=C:\WINDOWS\COMMAND.COM
DIRCMD=/o:gne /p
DJGPP=F:\DJGPP\DJGPP.ENV
EMACSDATA=f:\djgpp\gnu\emacs\etc
EMACSDOC=g:\emacs-19.34\etc
EMACSLOADPATH=c:\windows\desktop\meupor~1;f:\djgpp\gnu\emacs\lisp
EMACSLOCKDIR=f:\emacs-19.34\lock
EMACSPATH=G:/EMACS-19.34/bin
EMACS_DIR=G:/EMACS-19.34
GRX20DRV=VESA gw 800 gh 600 nc 256
GRXFONT=f:/djgpp/contrib/grx20/fonts
HOME=c:\windows\desktop\meupor~1
INFOPATH=f:\djgpp\info;f:\djgpp\gnu\emacs\info
LFN=y
NWLANGUAGE=English
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\UTIL\;C:\PERL\BIN;P:.;Z:.;Y:.
PROMPT=$p$g
RSXNTDJ=F:\DJGPP\RSXNTDJ
SHELL=g:\emacs-19.34\bin\cmdproxy.exe
TEMP=C:\WINDOWS\TEMP
TERM=CMD
TMP=C:\WINDOWS\TEMP
TMPDIR=C:\WINDOWS\TEMP
USER=csrabak
__PARENT_PROCESS_ID=-1001957
winbootdir=C:\WINDOWS
windir=C:\WINDOWS
CMDLINE=env
DJDIR=f:/djgpp
EMU387=f:/djgpp/bin/emu387.dxe
TZ=brazil/west
-------------------------------------------------------------------------------
TIA
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cesar Scarpini Rabak E-mail: csrabak AT ipt DOT br
DME/ASC Phone: 55-11-268-3522 Ext.350
IPT - Instituto de Pesquisas Tecnologicas Fax: 55-11-268-5996
Av. Prof. Almeida Prado, 532. Sao Paulo - SP 05508-901 BRAZIL
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Raw text -