www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/20/14:58:38

Xref: news2.mv.net comp.os.msdos.djgpp:7671
From: Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: RHIDE question
Date: Tue, 20 Aug 1996 16:05:44 +0200
Organization: TU Chemnitz-Zwickau
Lines: 46
Message-ID: <3219C638.65EE@Mathematik.tu-chemnitz.de>
References: <Pine DOT OSF DOT 3 DOT 91 DOT 960805140919 DOT 15304B AT bud DOT cc DOT swin DOT edu DOT au> <3205AFCB DOT 73A2 AT Mathematik DOT tu-chemnitz DOT de> <321798BD DOT 5584 AT mindspring DOT com>
NNTP-Posting-Host: tantalus-e.hrz.tu-chemnitz.de
Mime-Version: 1.0
To: Joshua Cannon Butcher <lchandar AT mindspring DOT com>
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Joshua Cannon Butcher wrote:
> 
> Why?  Would it not be easier to include the path (simply extend the

No. This needs a completely rewriting of the code.

> length of the file name field).  Forsomeone like me, my soure files are
> scattered in 10-20 different directories to maintain organization.  It

Maybe (this only a thought of me now) I will enable a feature to search for
the source file in a specified directory and all its subdirs. But as I said,
this is only a thought.

> Secondly, BIG problem.  Because you put the files in the project in ABC
> order (UNLIKE the Borland IDE), I get GPFs now because it mis-links
> certain code because the files need to be in a certain order when

Before I mad the files in the project in alphabetical order, I also thought
about this problem, but I found no example for which this is needed. I also
thought, that the order of the object files when linking is not relevant
(I'm correct ??). Can you give me a small example for a project (that means
more than one object file) where the order is significant?

Oh yes, I know an example, but only if you include in your project some
libraries, in this case the order of these libraries is relevant.

And now somw remarks the the GPF's. If you get a GPF, this has nothing to do
the order of some object files when linking. One reason may be, that the GPF
comes from the linker or from RHIDE.

> linked.  This is difficult because I use RHIDE to icompile it, but then
> i have to go out and run a batch file to link the program.  Please

Have you tried to create a makefile from your project (Options|Write makefile)
and than 'make -f project.mak' (project is here the name of your project file
without the suffix). Please do this and if you get also a GPF, redirect
stderr to file when you do the above and post its contents here.

Robert
-- 
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post:    Am Berg 3, D-09573 Dittmannsdorf                     *
* e-Mail:  Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE              *
* WWW:     http://www.tu-chemnitz.de/~rho                       *
*****************************************************************

- Raw text -


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