[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[debian-users:26464] Re: Debina/Hurd
ä½é‡Žï¼ 浜æ¾ã§ã™ã€‚
ä½é‡Žã§ã™ã€‚
Hurd ã¯ä»Šã®ã¨ã“ã‚ノータッãƒãªã®ã§äº‹æƒ…ãŒã‚ã‹ã‚Šã¾ã›ã‚“ãŒã€‚
In <20010116175626N.kohda@xxxxxxxxxxxxxxxxxxxx>,
on Tue, 16 Jan 2001 17:54:24 +0900,
Atsuhito Kohda <kohda@xxxxxxxxxxxxxxxxxxxx> wrote:
> > ftp://alpha.gnu.org/gnu/hurd/contrib/okuji/hurd/
> > ã«konã®Hurd用ã®ãƒ‘ッãƒãŒã‚ã‚Šã¾ã™ã€‚
>
> ã“れコンパイルã§ãã¦ã‚‹æ–¹ã„ã‚‹ã§ã—ょã†ã‹ï¼Ÿç§ã®ã¨ã“ã‚ã§ã¯
>
> cc -D_BSD_SOURCE -D_GNU_SOURCE -O -Wall -DCONFIG_NAME=\"/etc/kon.cfg\" -I/home/kohda/work/kon2-0.3.7/include -c -o mem.o mem.c
> mem.c: In function `wzero':
> mem.c:55: Invalid `asm' statement:
> mem.c:55: fixed or forbidden register 2 (cx) was spilled for class CREG.
> mem.c: In function `wmove':
> mem.c:66: Invalid `asm' statement:
> mem.c:66: fixed or forbidden register 2 (cx) was spilled for class CREG.
> mem.c: In function `lmove':
> mem.c:77: Invalid `asm' statement:
> mem.c:77: fixed or forbidden register 2 (cx) was spilled for class CREG.
> make[1]: *** [mem.o] Error 1
> make[1]: Leaving directory `/home/kohda/work/kon2-0.3.7/lib'
> make: *** [subdirs] Error 2
>
> ã®ã‚ˆã†ãªã‚¨ãƒ©ãƒ¼ã«ãªã‚Šã¾ã™ã€‚asm ã§ã¯æ„味もã‚ã‹ã‚‰ãªã„ã®ã§
> 何もã§ããšã«ã„ã¾ã™ã€‚
ãŸã—ã‹ 2.0.36 - 2.0.38 ã‚ãŸã‚Šã® Linux カーãƒãƒ«ã‚’ gcc (>2.95) ã§
コンパイルã—よã†ã¨ã—ãŸæ™‚ã«è¦‹ãŸã‚ˆã†ãªãƒ¡ãƒƒã‚»ãƒ¼ã‚¸ã§ã™ã。gcc272 ã§ã¯
å•é¡Œç„¡ãコンパイルã§ãã¾ã—ãŸãŒã€‚
info gcc 㧠"Target Description Macros" -> "Registers::",
"Register Classes::" ã®ã‚ãŸã‚Šã«èª¬æ˜ŽãŒã‚ã‚Šãã†ã§ã™ãŒç†è§£ã—ã¦ã¾ã›ã‚“。
gcc ã®ã‚ªãƒ—ションã¨ã—ã¦ã¯ info gcc ã«
`-mreg-alloc=REGS'
`-ffixed-REG'
`-fcall-used-REG'
`-fcall-saved-REG'
ã¨ã‹æ›¸ã„ã¦ã‚ã‚Šã¾ã™ã。
--
# (ã‚ãŸã—ã®ãŠã†ã¡ã¯æµœæ¾å¸‚ã€ã€Œå¤œã®ãŠè“åã€ã§æœ‰åã•ã€‚)
<kgh12351@xxxxxxxxxxx> : Taketoshi Sano (ä½é‡Žã€€æ¦ä¿Š)