Notes |
(0001692)
vda
10-07-06 09:22
|
Maybe use this?
nice -n N start-stop-daemon ... |
| |
(0001693)
pyret
10-08-06 09:00
|
Yes, nice -n works fine, I tried that. But in my case I have to be backward compatible with an old HardHat installation, thus the patch. |
| |
(0001694)
vda
10-08-06 16:45
|
Patch is buggy (feeds int* to getopt32...). Fixed and applied to svn. Please test it. |
| |
(0001695)
pyret
10-09-06 03:11
edited on: 10-09-06 03:52
|
I have tried to compile the latest busybox from svn, but it fails. First, I'm cross-compiling for powerpc, and -march=i386 is hard-coded in Makefile.flags. After fixing that, the compilation fails with:
CC coreutils/stty.o
coreutils/stty.c:255: warning: large integer implicitly truncated to unsigned type
coreutils/stty.c:256: warning: large integer implicitly truncated to unsigned type
make[1]: *** [coreutils/stty.o] Error 1
make: *** [coreutils] Error 2
I don't have time to look into this right now, I'll try to get back to this in a week or so.
|
| |
(0001696)
vda
10-09-06 11:48
|
Will look into "-march=i386" problem.
The second problem is:
struct mode_info {
const char *name; /* Name given on command line */
char type; /* Which structure element to change */
char flags; /* Setting and display options */
unsigned short mask; /* Other bits to turn off for this mode */
unsigned long bits; /* Bits to set for this mode */
};
#define MI_ENTRY(N,T,F,B,M) { N, T, F, M, B }
....
#ifdef VTDLY
MI_ENTRY("vt1", output, SANE_UNSET, VT1, VTDLY),
MI_ENTRY("vt0", output, SANE_SET, VT0, VTDLY),
#endif
These are the lines. It's VT0, VT1 or VTDLY. Can you determine which,
and what value does it have? make coreutils/stty.i will help a lot. ;) |
| |
(0001697)
vda
10-09-06 11:51
|
And, oh, can you inform me of version and options you used to build powerpc cross-compiler? (gcc -v output, at least...) What kind of libc will I need? I maybe will build my own powerpc tollchain just for testing. |
| |
(0004524)
vda
02-13-08 09:36
|
Fixed in svn sometime ago (before 1.9.0) |
| |