[riot-devel] Naming of source files

Ludwig Ortmann ludwig.ortmann at fu-berlin.de
Mon Jan 13 11:37:26 CET 2014


Hi,

On Mon, Jan 13, 2014 at 11:24:18AM +0100, Hauke Petersen wrote:
> 
> On 13.01.2014 11:21, Kaspar Schleiser wrote:
> > Why again don't we just use the original folder names?
> >
> > PRJDIR/xy/aa/abc.c --> BINDIR/xy/aa/abc.o
> >
> > That way name collisions are impossible.
> >
> > Encoding the folder name could lead to
> >
> > PRJDIR/xy/aa/abc.c --> BINDIR/xy_aa_abc.o
> > PRJDIR/xy_aa/abc.c --> BINDIR/xy_aa_abc.o BOOM!
> >
> The drawback I see with keeping the original folder structure in the
> BINDIR is, that the folder names are getting even longer. Could this
> lead to problems on host platforms (-->WIN)?

Why do you think the folder names get longer?
As far as I see, only the paths (i.e. the string that identifies a
file) becomes longer, but this is the case with both methods.

Cheers, Ludwig


More information about the devel mailing list