Mail Archives: djgpp/2000/08/11/09:30:25
> > As for the compilers's behaviour, it is very simple: if a source
> > uses SVGA.Effects, the compiler will search for the file svgaeffe.ads
> > as Krunch tells it, for SVGA.Effects.IO, it will look for svgeffio.ads
> > and nothing else
Eli:
> Note that, while this is a good approach, it still has its drawbacks.
> For example, someone might bring an LFN-named version of a file
> (e.g. from another platform), but will be unable to use it before
> renaming it.
Often, portable code is delivered in one text - e.g. the BLAS bindings.
http://topo.math.u-psud.fr/~sands/BLAS/
The gnatchop utility splits it into files with long or short names,
depending on the OS. But it is not clear to me if it would be
possible for C/C++ (is it possible to determine where is the end of
an "unit", or is it just a sequence of functions and variables ?)
> I think it is better to look for both long and short
> names. However, this usually needs quite a bit of heuristic code; see
> gxx.c in djlsr203.zip for an example.
Well I see - forget my suggestion...
______________________________________________________
Gautier -- http://members.xoom.com/gdemont/gsoft.htm
- Raw text -