Mail Archives: djgpp/1998/06/17/00:16:37
I have been trying to come up with possible directions for learning
GUI programming. I would like to use some C++-like language or Perl
to create a GUI from which I could use my C modules.
I know that's possible in Java, but I prefer non-proprietary
platforms, so I was looking at Amulet and wxWindows. (pTK--the Perl
interface to TK Widgets--is not ready for Windows95 and isn't seeing
much development action.) MGUI doesn't seem to be happenning. I
couldn't get a response from the author or from users.
In order to use something like Amulet, I would need to use either a
commercial Windows compiler or use djgpp with RSXNTDJ. However, there
are problems with RSXNTDJ that quickly become apparent:
* The linker complains when no output name is specified. (I like
a.exe!)
* Linker searches my zip drive before it will link.
(this was a bug recently fixed in djgpp's ld.exe)
* Linker doesn't inform user of undefined functions if the linker
can't find object code for a function. (See example below.)
* I can't find any indication that RSXNTDJ is being maintained. Is
there a web site or mailing list or source of current information?
How long has the version been 131? Maybe it's maintained, but I
don't know it.
If anyone has any information about these issues, I would much
appreciate a response. I know that people are using RSXNTDJ, but I
don't want to spend time learning to use a tool that isn't
being actively maintained.
Here's an example of the linker compiling code that has an undefined
function:
#makefile
CC = gcc -Zwin32
CFLAGS = -Wall -O -c
missingf : missingf.o
$(CC) -o a.exe $<
%.o: %.c
$(CC) $(CFLAGS) $<
/* -----missingf.c----- */
#include <windows.h>
void IDontExist();
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
LPSTR lpCmdLine, int nCmdShow)
{
MessageBox (NULL, "Hello, linker!", "DEMO", MB_OK);
IDontExist();
return 0;
}
/*
cd c:/elc/djgpp/works/rsxntdj/
make -k
gcc -Zwin32 -Wall -O -c missingf.c
gcc -Zwin32 -o a.exe missingf.o
Ntbind: Building GUI Application "a.exe"
Compilation finished at Mon Jun 15 23:27:10
*/
- Raw text -