Mail Archives: djgpp/2006/03/26/03:15:54
Harry J. Smith wrote:
> Thanks, some times asking questions educates better than giving answers.
> Your questions got me a thinking and I was able to get RHIDE to generate
> my .exe file.
>
> In RHIDE under Options, Linker Options, I inserted:
>
> datastru.o apfloat.o apstruct.o baseint.o apfunc.o convolut.o carrycrt.o
> init.o global.o file.o transpos.o tablesit.o tabletwt.o tablefnt.o
> scramble.o move.o bigint.o modfunc.o prime.o primetab.o
>
> This caused the make file, CHUDNO~1.mak, to have the following in it:
>
> LD_EXTRA_FLAGS=datastru.o apfloat.o apstruct.o baseint.o apfunc.o\
> convolut.o carrycrt.o init.o global.o file.o transpos.o tablesit.o\
> tabletwt.o tablefnt.o scramble.o move.o bigint.o modfunc.o prime.o\
> primetab.o
>
> And now RHIDE can compile the program. Thanks again.
You don't normally need to add object files to RHIDE linker options.
It's best to add sources to project. You can also add object files to the
RHIDE project , if You don't have sources. Also it is possible to
create a separate project for apfloat which builds object library
(like apfloat.a), add this project to Your one and additionally add
the this library to the list of libraries to link with.
Andris
PS. You may try to download RHIDE or SetEdit sources package, to see
examples of more complicated RHIDE projects. No need to rebuild RHIDE
though.
- Raw text -