djgpp rsxntdj 1.5.1

Programming, for all ages and all languages.
Post Reply
engine252

djgpp rsxntdj 1.5.1

Post by engine252 »

i have problems installing the rsxntdj addon for djgpp

is there anyone who can help me out here

Djgpp is unpacked in c:\DJGPP
and rsxntdj in c:\DJGPP\rsxntdj

i folowed all steps of the readme distributed with the packadge but when i try to compile one of the sample
i get errors like the compiler can't find some header files

this i my output
C:\DJGPP\rsxntdj>set PATH=c:\djgpp\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS
\System32\Wbem

C:\DJGPP\rsxntdj>set DJGPP=c:\DJGPP\djgpp.env

C:\DJGPP\rsxntdj>SET RSXNTDJ=C:\djgpp\RSXNTDJ

C:\DJGPP\rsxntdj>SET PATH=C:\djgpp\RSXNTDJ\bin;c:\djgpp\bin;C:\WINDOWS\system32;
C:\WINDOWS;C:\WINDOWS\System32\Wbem

C:\DJGPP\rsxntdj>SET C_INCLUDE_PATH=C:\djgpp\RSXNTDJ\include\win32\anders

C:\DJGPP\rsxntdj>set LIBRARY_PATH=c:\DJGPP\RSXNTDJ\LIB;C:\DJGPP\lib

C:\DJGPP\rsxntdj>set C_INCLUDE_PATH=c:\DJGPP\RSXNTDJ\include;C:\DJGPP\include

C:\DJGPP\rsxntdj>cd sample\gui\windowed

C:\DJGPP\rsxntdj\sample\gui\windowed>make
makefile:12: warning: overriding commands for target `test.exe'
..\..\rsxntmak.gnu:105: warning: ignoring old commands for target `test.exe'
gccw32 -o test.exe test.o -lioapp
c:/djgpp/lib/libc.a(write.o)(.text+0x0):write.c: multiple definition of `___writ
e'
c:/djgpp/rsxntdj/lib/libioapp.a(io.o)(.text+0x50):io.c: first defined here
c:/djgpp/lib/libc.a(read.o)(.text+0x0):read.c: multiple definition of `___read'
c:/djgpp/rsxntdj/lib/libioapp.a(io.o)(.text+0x0):io.c: first defined here
test.o(.text+0xe4):test.c: undefined reference to `__streamv'
test.o(.text+0xea):test.c: undefined reference to `__streamv'
test.o(.text+0xf3):test.c: undefined reference to `__streamv'
test.o(.text+0xfd):test.c: undefined reference to `__streamv'
test.o(.text+0x102):test.c: undefined reference to `__fill'
test.o(.text+0x11b):test.c: undefined reference to `__streamv'
test.o(.text+0x121):test.c: undefined reference to `__streamv'
test.o(.text+0x12a):test.c: undefined reference to `__streamv'
test.o(.text+0x134):test.c: undefined reference to `__streamv'
test.o(.text+0x139):test.c: undefined reference to `__fill'
c:/djgpp/rsxntdj/lib/libioapp.a(io.o)(.text+0x21):io.c: undefined reference to `
__files'
c:/djgpp/rsxntdj/lib/libioapp.a(io.o)(.text+0x71):io.c: undefined reference to `
__files'
c:/djgpp/rsxntdj/lib/libioapp.a(io.o)(.text+0x138):io.c: undefined reference to
`_SetWindowTextA'
c:/djgpp/rsxntdj/lib/libioapp.a(io.o)(.text+0x153):io.c: undefined reference to
`_DestroyWindow'
c:/djgpp/rsxntdj/lib/libioapp.a(io.o)(.text+0x1a9):io.c: undefined reference to
`_GetModuleHandleA'
c:/djgpp/rsxntdj/lib/libioapp.a(read.o)(.text+0x10):fake: undefined reference to
`___syscall'
c:/djgpp/rsxntdj/lib/libioapp.a(write.o)(.text+0x10):fake: undefined reference t
o `___syscall'
c:/djgpp/rsxntdj/lib/libioapp.a(ioctl2.o)(.text+0x12):fake: undefined reference
to `___syscall'
collect2: ld returned 1 exit status
make.exe: *** [test.exe] Error 1
what am i doing wrong?

some help is required
Tim

Re:djgpp rsxntdj 1.5.1

Post by Tim »

What is RSXNTDJ?
engine252

Re:djgpp rsxntdj 1.5.1

Post by engine252 »

it is a add on so you can compile true windows gui programs
Tim

Re:djgpp rsxntdj 1.5.1

Post by Tim »

Why not use a true Windows compiler? For example, Mingw, Cygwin, LCC or Visual C++?

Bah, I feel like I'm saying that all the time at the moment.
engine252

Re:djgpp rsxntdj 1.5.1

Post by engine252 »

i'm making an ide for djgpp and want to add the ability to compile windows applications
Tim

Re:djgpp rsxntdj 1.5.1

Post by Tim »

If you ask me, you're using the wrong tool. And anyone making a DJGPP IDE allowing you to write Windows applications is making it easier for others to use the wrong tool.
engine252

Re:djgpp rsxntdj 1.5.1

Post by engine252 »

djgpp is a greate compiler and lcc uses a changed version of rsxntdj so with the right lib's and this addon
it's is perfectly possible to write windows apps.

so please i'm making that ide and if i can add support for compiling windows apps i will the only thing i need is to know how to install rsxntdj 1.5.1 so if there's anyone who did install this already please tell me how you did it

and before you judge me plz read this link

http://www.delorie.com/djgpp/v2faq/faq3_6.html

so if you can help me plz lett me know
Post Reply