Date: Mon, 20 Apr 1998 14:13:01 +0200 (MET DST) From: Federico Spinazzi To: Michael Vanecek cc: zager AT post DOT comstar DOT ru, djgpp AT delorie DOT com Subject: Re: LCC-Win32 and DJGPP In-Reply-To: <35374BCE.635E@mjv.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk You have to substitute djgpp's linker with rsxntdj's one: ren c:\djgpp\bin\ld.exe c:\djgpp\bin\lb.bak (or ld.dj2) copy d:\rsxntdj\bin\ld.exe c:\djgpp\bin\ld.exe Then you can have problem compiling files that you was able to compile before (I experienced it). You can get a VERY long error list from the rsxntdj's linker about simbol not output (If i remember well). Maybe using the original linker works. this is all my experience on it; I'm not able to explain why... ---------------------------------------- Federico Spinazzi email: federico AT syspr03 DOT disat DOT unimi DOT it ---------------------------------------- On Fri, 17 Apr 1998, Michael Vanecek wrote: > 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 >