Mail Archives: djgpp/2006/03/26/02:46:11
"Hans-Bernhard Broeker" <broeker AT physik DOT rwth-aachen DOT de> wrote in message news:48ma11Fkoa36U3 AT news DOT dfncis DOT de...
> Harry J. Smith <hjsmithh AT sbcglobal DOT net> wrote:
>
>> Installed djgpp with rhide in C:\ProgramD\DJGPP
>> Installed apfloat in C:\ProgramD\DJGPP\Harry\apfloat
>
> A remark: it's not usually a good idea to install your own source
> packages inside the DJGPP tree. They should be elsewhere.
>
>> I can make the test program aptest at the command line:
>
>> C:\ProgramD\DJGPP\Harry\apfloat>make aptest.exe
> [...]
>> and it runs ok, but I cannot make it using rhide. I get:
>
> Stop. We already knew what you get, from your original post. What
> you still haven't described is *how* you get it. RHIDE projects don't
> build themselves. So: what did you put where in RHIDE? Did you
> configure your RHIDE project to actually include all the object files
> (or the library, whatever this "apfloat" stuff is) in the build? Try
> to get RHIDE to create you a makefile or show you the actual command
> line it used instead of just writine "Compiling: this" and "Creating:
> that".
>
> --
> Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
> Even if all the snow were burnt, ashes would remain.
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.
I wonder if this is the best solution. I don't know if all the *.o files are needed. But it works!!!
-Harry
--
| Harry J. Smith, 19628 Via Monte Dr., Saratoga, CA 95070-4522, USA
| Home Phone: 1 408 741-0406
| E-mail: hjsmithh AT sbcglobal DOT net
| Website: http://www.geocities.com/hjsmithh/
--
- Raw text -