Re: [cc65] Common macros for dirent.d_type

From: Oliver Schmidt <ol.sc1web.de>
Date: 2012-07-07 19:38:43
Hi,

I presume that not everybody is aware that in the meanwhile a cc65
distribution has an 'obj' directory containing stand-alone .obj files
which can be optionally linked to a binary in order to override some C
library implemention. In a "correctly" configured cc65 installation
this directory is part of the .obj file search path, so Makefiles /
Buildscripts can refer such an .obj file without path - and are still
"portable" (from one cc65 installation to another one).

If it is (too) hard to agree with everybody on a reasonable value for
the filetype to be used for POSIX writes it would be possible to
provide an alternative value in form of such an .obj file. Then
everybody wanting the value not in the C library could link in that
.obj file. Thus they wouldn't have to patch the C libary nor put an
additional line into the source of "every" program.

Just a thought, Oliver
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Jul 7 19:38:57 2012

This archive was generated by hypermail 2.1.8 : 2012-07-07 19:39:00 CEST