Mail Archives: djgpp/2001/05/15/10:07:04
Rafal Maj wrote:
>
> PATH =
> 'C:\DJGPP\BIN;C:\RSXNTDJ\BIN;C:\CONST\PATH;C:\WINDOWS;C:\WINDOW
> S\COMMAND;C:\PROGRA~1\BORLAND\CBUILD~1\BIN'
>
Obviously, since DJGPP's bin dir comes before RSX's, you're using
DJGPP's gcc.
> I alsow tryied to force RSXNTDJ to use gccw32.exe compiler from
> c:\RSXNTDJ\bin\, so in file
>
> rsxide.ini I changed :
> [Macros]
> CC=gcc.exe
> to
> [Macros]
> CC=gccw32.exe
> Forcing usage of gccw32.exe make some inmprovment - I get in speed.o file
> next to speed.c
> But ther were errors when linking :
> c:/djgpp/lib/crt0.o(.data+0xc2):crt0.s : undefined reference to 'main'
> And lots of errors like :
> speed.o(.text+ 0x43):speed.c udefined reference to 'LineTo'
> for LineTo, MoveToEx, SetWindowsTextA etc...
I expect you'll also need to update some other macro (LINK or LD
probably)
to also use gccw32.exe
BTW, the canonical way to name cross-compilers is <arch>-<tool>, so
using rsx-gcc.exe, rsx-cpp.exe, etc. would be more standard.
> I have already installed C++ Builder, but I dont like it too much and I
> realy want to use Rsxntdj instead.
Maybe you should consider using Cygwin instead of trying to use RSXNTDJ
(which hasn't been updated in quite a while, I believe).
--
Tim Van Holder - Falcon Software N.V.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
This message was posted using plain text. I do not endorse any
products or services that may be hyperlinked to this message.
- Raw text -