Mail Archives: djgpp/1997/02/06/11:31:39
Robert Hoehne (Robert DOT Hoehne AT Mathematik DOT tu-chemnitz DOT de) wrote:
: Amit Barak wrote:
: >
: > Salvador,
: >
: > Thanks, but this is not exactly what I needed.
: > The disadvantage of the method you describe is that you can not
: > use the same filename more than once (each time is different directory)
:
: That's correct.
:
: >
: > In Borland C++ 3.1 for example, you can include files path in the project
: > file for individual file e.g "c:\a\b.c"
: >
:
: OK. Can you tell me a real good reason for have multiple files
: with the same same name but in different directories?
:
: Imagine RHIDE would have the aibility to inlcude also the pathnames
: in your project, then you will get the next problem. You will
: not be able to debug the program, since the COFF debugging
: information is limited to only the filename and not the
: directory. So when you debug the program (within RHIDE
: or with GDB), from where should the debugger know, for
: which file it should show the lines beeing debugged?
:
: 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 *
: *****************************************************************
I'm honored ...
Well, I cannot argue with the debugging problem you mention here,
as for your other question -
I actually needed this feature while I ported (still working on it..)
a project from 16 bit BC3.1 to DJGPP. The project includes (F)LEX scanner
and I liked the idea of keeping everything related to this scanner in
a different subdirectory. I can also think of projects that include more
than one scanner, with many lexyy.c's, to me it looks convenient to use
a different subdirectory for each scanner and not have to rename lexyy.c,
of course, there are workarounds for all the problems I mentioned, and I am
not suggesting this is a giant major bug/misfeature - just one of those
nice to haves.
One other point - even if all source files do have unique names, but some
are not in the working directory, it is sometimes nice to be able to see
that information directly from the project file window.
Cheers!
--
amit barak
intel israel (74)
voice: 972-4-865-6010
email: abarak AT iil DOT intel DOT com
- Raw text -