Mail Archives: djgpp/2000/11/19/10:45:19
Eli Zaretskii wrote:
> On Thu, 16 Nov 2000, sam wrote:
>
> > I looked but can't find find any functions that correspond to the WIN31
> > functions below.
> > Is RSXNTDJ trying to mimi UNIX more strictly than DJGPP, hence not
> > allowing these free file
> > system roaming functions?
> >
> > 23:37:20.04
> > D:\rsxntdj\sample\myc\LOTTO>make
> > gccw32 -o lotto.exe lotto.o
> > lotto.o(.text+0xc9e):lotto.c: undefined reference to `_getdcwd'
> > lotto.o(.text+0xd09):lotto.c: undefined reference to `DlgDirSelect'
> > lotto.o(.text+0xd63):lotto.c: undefined reference to `_getdcwd'
> > lotto.o(.text+0xde2):lotto.c: undefined reference to `DlgDirSelect'
> > lotto.o(.text+0xe1e):lotto.c: undefined reference to `DlgDirSelect'
> > lotto.o(.text+0xe73):lotto.c: undefined reference to `fnsplit'
> > lotto.o(.text+0xf47):lotto.c: undefined reference to `_getdcwd'
> > make.exe: *** [lotto.exe] Error 1
>
> Are you sure you are using the right linker? AFAIK, RSXNTDJ's linker
> does not complain about missing functions, because they might be in some
> DLL, accessible at run time.
>
> If you add -v to the link command line, you will see what linker does GCC
> invoke, and that might give you some clues.
My path points to d:\rsxntdj\bin first.
9:15:30.54
D:\rsxntdj\sample\myc\LOTTO>ld -v
GNU ld version 2.9.5 (with BFD 2.9.5)
9:20:21.04
D:\rsxntdj\sample\myc\LOTTO>gcc -v
Reading specs from d:/djgpp/lib/specs
gcc version 2.95.2 19991024 (release)
That's odd, when I installed it it read rsxntdj/lib/spec
I have now rearanged my autoexec.bat so that rsx\libs are first and djgpp\bin
first are per
'how to install' on rsx's home page but no change. Still reading djgpp\spec.
What I am not sure of, is the following in the rsxntmak.gnu
ifdef dual
GCCFLAGS=
else
ifdef crt
GCCFLAGS=-Zcrtdll=crtrs
else
ifdef sys
GCCFLAGS=-Zsys
else
GCCFLAGS=
endif
endif
endif
What is the CRT.DLL-controls DLL?
Righ now I just call 'make' no flags.
#
# Makefile for lotto .exe
#
PROJECT = lotto
OBJS = lotto.o
LIBS =
RESOURCES = lotto.rc
include ..\..\rsxntmak.gnu
Should I decide to use the, highly voletile, standard files dialog how do I
invoke it.
I'll keep working on the spec problem.
Thanks, Sam
- Raw text -