OSDN Git Service

For now, comment out the broken part
[uclinux-h8/uClibc.git] / TODO
1
2 Erik's TODO list for the next release:
3
4     1) Release gcc 2.95.x native uClibc toolchain with
5         STLport (to provide full C++ support)
6     2) Commit new configuration system (CML1 + kbuild + menuconfig)
7         work is already done and ready to commit...
8     3) Fix profiling support
9     4) Implement getgrgid_r and getgrnam_r, per SuSv3 
10     5) Fix libc/inet/rpc/rpc_thread.c thread local storage
11     6) Change HAS_FLOATING_POINT so we can support -msoft-float
12     7) When options are disabled, also disable them in the
13         include files as well.
14     8) Make all small objects (>~50 bytes) into either inlines or
15         into a static library
16     9) Rework code that fails POSIX conformance tests
17    10) Document all differences between the feature set of uClibc 
18         and glibc.
19    11) Add missing syscall() function to ports that are still 
20         missing it.  (x86 and arm are finished so far).
21    12) Make sure that shared library constructors that depend on 
22         prior libc initialization work correctly
23
24
25
26 -----------------------------------------------------------------------------
27 Manuel's todo:
28
29 In the next couple of months, I plan on completing the wide char and locale
30 support.  Here's my current list of things to implement by early November.
31
32   1) Little things that need fixing:
33   ----------------------------------
34   a) Use locale decimal point in *printf() and strto*d() -- slightly
35      complicated by the fact that at least one locale uses a wchar
36      radix that does not map to a single byte in UTF-8.
37   b) Use locale digit grouping in *printf().
38   c) Implement %lc (%C) and %ls (%S) handling for printf.
39   d) Deal with mb format string issues in printf, scanf, 
40   strftime (at least).
41   e) Implement wcwidth() and wcswidth() -- use Markus Kuhn's versions.
42   
43   2) Implement wide char numeric conversion functions -- wcsto*().
44   ----------------------------------------------------------------
45      These should be relatively minor modifications to the corresponding
46      strto*() functions, unless locale specific alternate digit support
47      is desired.
48   
49   3) Implement wide formatted output -- *wprintf():
50   -------------------------------------------------
51      The stream output variants should be easily created by appropriately
52      modifying the char *printf() functions.
53   
54      The string buffer variants may take some time to implement because
55      they need to store wchars in a buffer.  It will be necessary to hack
56      the core stdio code slightly to support this.
57   
58   4) Reimplement scanf for narrow and wide streams.
59   -------------------------------------------------
60      The current char version of scanf() needs some cleanup.  Also,
61      modifying the char version of scanf() to create the wchar versions
62      will require reworking the implementation of matching char sets
63      (enclosed in []).
64   
65      Also, as with *wprintf() above, the string buffer variants of wscanf()
66      may require some additional work to the core stdio code.
67   
68   5) Additional str{f|p}time issues.
69   ----------------------------------
70      Support locale specific alternate digits.
71      Support locale era in year designations.
72   
73   6) Other locale issues (my implementation):
74   -------------------------------------------
75   a) Clean up locale code to make building easier.  Fix alt_digits.
76      (Note: This is only _clean_up_ of the current stuff in extra/locale
77       so that it can be cross-compiled, etc.  I'm not talking about the
78       complete rewrite that should really be done.)
79   b) Additional clean up of ctype and wctype.
80   c) Implement collation support for char and wchar -- *xfrm() and *coll().
81   d) transliteration of unsupported wchars in 8-bit locales (like glibc).
82
83
84 Other stuff:
85
86 Reimplement _dtostr to correct its deficiencies (%A support!) and hopefully
87         reduce its size.
88
89 Move the target-specific sysconf.c generator to extra (as it needs to be
90         run on the target) and fix libc/unistd/Makefile.
91
92 Make errno and endptr handling the default in the strto* functions and
93         document how to turn those off to save space.
94
95 -----------------------------------------------------------------------------
96 ds's list:
97
98 Search for string literals that are not in the .rodata section.  (Varies
99 by architecture and gcc version.)
100
101 man pages for binaries
102
103 add obstack stuff for gettext (?)
104
105 check compiling without FP support -- are FP instructions still generated?
106 Needs a uClibc_config.h entry dependent on HAS_FLOATING_POINT.
107
108 Why does ld.so search /usr/powerpc-uclibc/lib before LD_LIBRARY_PATH?
109
110 -----------------------------------------------------------------------------
111
112 Any takers?
113
114 *) Fix regex so it isn't so stinking big
115 *) Fix glob so it isn't so stinking big
116 *) Documentation
117         - List all differences between the feature set of uClibc and glibc.
118 *) run 'nm -D --size-sort -t d libuClibc-0.9.5.so' and work on the biggest things 
119         (i.e. stuff at the end of the list) to make them smaller.
120 *) make inb/outb work for all arches.  This is complete for i386 and arm.  
121         Other archs like powerpc, still need fixing.
122
123 -----------------------------------------------------------------------------
124
125 PORTING
126 -------
127
128 bits/dirent.h currently differs from the glibc version (d_type unsupported)
129
130