From: "Tim Nicholson" Newsgroups: comp.os.msdos.djgpp Subject: Re: using RHIDE to build a an EXE with user librarys Date: Thu, 21 Sep 2000 19:01:44 +0100 Organization: Skyforce avionics Limited Lines: 66 Message-ID: <8qdiee$abg$1@uranium.btinternet.com> References: <8qavs4$6ak$1 AT plutonium DOT btinternet DOT com> NNTP-Posting-Host: host213-1-70-115.btinternet.com X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Problem sorted! Turns out the problem was with the version of RHIDE I was using. It would seem that the version shipped with DJGPP does not handle directories at all well! - I download 1.4.7 (beta) and the problem went away! Why am I replying to my own message? I figured that it may help someone as this problem does not make any sense until you realise that it is a bug in the IDE! - I must confess, it is mentioned in the FAQ but it's listed under a completely different heading - so I did not find it first time around. Ho-hum ;-) Tim "psn" wrote in message news:8qavs4$6ak$1 AT plutonium DOT btinternet DOT com... > Hi, > > Firstly, I would like to apologise if I am being a little stupid, but this > problem has completely stumped me! > > I am trying to build a .EXE file in RHIDE - but I just cannot make the darn > thing link. > > This is what I have got... > > program.gpr - a project file containing a few source files including one > with a the all important main() function. > libwins.grp - a project file containing source files which contain some > related user library functions. I have built this and produced libwins.a > libstuff.grp - as above and built to produce libstuff.a > > The source files for each library are in separate folders along with their > associated project file. The libxxx.a files are in \lib. I get no errors > when I build the libraries -so far, so good! > > I have included alleg, wins and stuff in the include list for program. I > have set up all the directories for source, objects and libraries in RHIDE. > When I click on build all, I get linker errors due to unresolved references. > It just will not have it. I know I must be doing something daft but I just > can't put my finger on it. I have read the FAQ's and the RHIDE help text > with no luck. > > The files in program.gpr obviously include calls to functions in both > libwins.a and libstuff.a. There are also some allegro function calls. The > user libraries do rely on each others existence and also contain calls to > allegro. This is a chicken and egg scenario which I had expected to be > solved by multiple passes by the linker, > > If anyone has any ideas please let me know - It's a pretty fundamental > problem so the solution must be simple. > > Thanks > > Tim > > > >