delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/03/26/04:47:38

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Sun, 26 Mar 2006 11:47:47 +0200
From: alex bodnaru <alexbodn AT 012 DOT net DOT il>
Subject: Re: trying to use apfloat with djgpp and rhide
In-reply-to: <44263FA3.7040501@iki.fi>
To: djgpp AT delorie DOT com
Message-id: <44266343.6030407@alex3>
MIME-version: 1.0
X-Accept-Language: en-us, he
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> <44263FA3 DOT 7040501 AT iki DOT fi>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060205
Debian/1.7.12-1.1
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

hi andris,

library generating subprojects are being linked even without including
their result in the libfiles list.

best regards

alex

Andris Pavenis wrote:
> 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