Mail Archives: djgpp/1998/04/17/08:35:37
Dim Zegebart and crew,
This is documentation of my futile attempt to incorporate rsxntdj into
my development environment. Keep in mind that I copied the .env and the
ld.exe to the respective directories as instructed. LFN=y, but that
makes no difference either. Errors are the same either way.
Here are some of my settings:
changed portions of the specs file:
*cpp:
%{posix:-D_POSIX_SOURCE} %{Zmt: -D__MT__} %{Zdll: -D__DLL__}
%{Zcrtdll*:-D__CRTRSXNT__}\
%{Zwin32: -D__WIN32__ -D__RSXNT__ -D__EMX__ -ID:/rsxntdj/include}
and
*link:
%{Zwin32: -LD:/rsxntdj/lib/all}
autoexec.bat (I've tried flipping things around to no avail):
rem - By Windows 95 Network - C:\WINDOWS\net start
@ECHO OFF
PROMPT $p$g
PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS
SET TEMP=C:\TEMP
SET PHYPATH=d:\NEWCOM\
d:\NEWCOM\BOOTDOS.EXE
PATH"%PATH%;D:\DJGPP\BIN"
PATH"%PATH%;D:\RSXNTDJ\BIN"
set RSXNTDJ=D:\RSXNTDJ
set DJGPP=D:\DJGPP\DJGPP.ENV
set ALLEGRO=D:\DJGPP\ALLEGRO
path"%path%;D:\PP\BIN"
path"%path%;C:\Perl\bin;"
Resulting path:
PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DOS
;D:\DJGPP\BIN;D:\RSXNTDJ\BIN;D:\PP\BIN
;C:\PERL\BIN;
gcc -v:
Reading specs from D:\RSXNTDJ/lib/specs
gcc version 2.8.0
sample rsxntdj error (more or less the same with all the makefiles in
the demos, with some variation):
D:\RSXNTDJ\SAMPLE\GUI\SPEED>make
gcc -Zwin32 -o speed.exe speed.o
d:/djgpp/bin/ld.exe: cannot open -lc_app: No such file or directory
(ENOENT)
make.exe: *** [speed.exe] Error 1
sample djgpp with Allegro compile command:
gcc stars.c -s -o stars2.exe -lalleg
resulting error excerpt (too much to capture all - and happens not just
on -lalleg linked files):
***snipped***
mbol `data' which is not being output
d:/djgpp/lib/liballeg.a(keyboard.o)(.text+0x4c4e):keyboard.c: reloc
refers to sy
mbol `data' which is not being output
d:/djgpp/lib/liballeg.a(keyboard.o)(.text+0x4c53):keyboard.c: reloc
refers to sy
mbol `data' which is not being output
d:/djgpp/lib/liballeg.a(keyboard.o)(.text+0x4c5c):keyboard.c: reloc
refers to sy
mbol `data' which is not being output
d:/djgpp/lib/liballeg.a(keyboard.o)(.text+0x4c76):keyboard.c: reloc
refers to sy
mbol `data' which is not being output
...on and on and on and on.....
I'm running the latest DJGPP, which worked perfectly prior to these
modifications. Platform is a modest 486 80 running Win95. Allegro with
the latest WIP.
I tried to be as exhaustive as possible to make diagnosing easier. If
anyone has any experience in this, or suggestions, please post or email
me.
I appreciate your patience as you review this lengthy post.
Cheers,
Mike
- Raw text -