delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/03/26/02:46:11

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Harry J. Smith" <hjsmithh AT sbcglobal DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <09_Uf.59237$Jd DOT 38103 AT newssvr25 DOT news DOT prodigy DOT net> <48kp1eFk4nrjU2 AT news DOT dfncis DOT de> <kRgVf.4996$4L1 DOT 2173 AT newssvr11 DOT news DOT prodigy DOT com> <48ma11Fkoa36U3 AT news DOT dfncis DOT de>
Subject: Re: trying to use apfloat with djgpp and rhide
Lines: 56
Organization: Self-employed
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
Message-ID: <1zoVf.5177$4L1.3859@newssvr11.news.prodigy.com>
NNTP-Posting-Host: 69.224.17.181
X-Complaints-To: abuse AT prodigy DOT net
X-Trace: newssvr11.news.prodigy.com 1143346493 ST000 69.224.17.181 (Sat, 25 Mar 2006 23:14:53 EST)
NNTP-Posting-Date: Sat, 25 Mar 2006 23:14:53 EST
X-UserInfo1: TSUGGZODFJUAB\HXFBCBNWX AT RJ_XPDLMN@GZ_GYO^ZWZUYICD^RAQBKZQTZTX\_I[^G_KGFNON[ZOE_AZNVO^\XGGNTCIRPIJH[@RQKBXLRZ AT CD^HKANYVW AT RLGEZEJN@\_WZJBNZYYKVIOR]T]MNMG_Z[YVWSCH_Q[GPC_A AT CARQVXDSDA^M]@DRVUM AT RBM
Date: Sun, 26 Mar 2006 04:14:53 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019