delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/03/26/03:15:54

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <44263FA3.7040501@iki.fi>
Date: Sun, 26 Mar 2006 10:15:47 +0300
From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
User-Agent: Thunderbird 1.5 (X11/20060313)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Cc: hjsmithh AT sbcglobal DOT net
Subject: Re: trying to use apfloat with djgpp and rhide
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> <1zoVf.5177$4L1 DOT 3859 AT newssvr11 DOT news DOT prodigy DOT com>
In-Reply-To: <1zoVf.5177$4L1.3859@newssvr11.news.prodigy.com>
Reply-To: djgpp AT delorie DOT com

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 -


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