hns - 日記自動生成システム - Version 2.19.9

先月 2008年07月 来月
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31
Namazu for hns による簡易全文検索
詳しくは 詳細指定/ヘルプを参照して下さい
検索式:

2008年07月13日() 旧暦 [n年日記] [更新:"2008/07/14 08:01:25"]

#1 [無題] 機械室を整理しようと棚を買って来た

W H D = 1200 x 1800 x 450 のもの

#2 [NetBSD][pkgsrc] wip/mingw-gcc がなかなか完了せず

wip/mingw-w32api
wip/mingw-runtime-bin
wip/mingw-binutils
までは (obache さんに助けてもらって) 簡単に来たが gcc がなかなか出来ない。 何でもいいから一つ出来れば、そこから正しいものが作れるかも、と いう方針で hardcode 有々で作って見ているが、 それでもまだ、次のように止ってしまう
/export/pkgsrc/wip/mingw-gcc/work.modena/gcc-4.2.1/host-i386--netbsdelf/gcc/xgcc
-B/export/pkgsrc/wip/mingw-gcc/work.modena/gcc-4.2.1/host-i386--netbsdelf/gcc/
-I/export/pkgsrc/wip/mingw-gcc/work.modena/gcc-4.2.1/host-i386--netbsdelf/gcc/include
-L/export/pkgsrc/wip/mingw-gcc/work.modena/gcc-4.2.1/lib -c
-DHAVE_CONFIG_H -O2 -O2 -I. -I../.././libiberty/../include -W
-Wall -pedantic -Wwrite-strings -Wstrict-prototypes
-Wc++-compat 
../.././libiberty/physmem.c -o physmem.o
../.././libiberty/physmem.c:52:25: error: sys/sysctl.h: No such file or directory
gmake[2]: *** [physmem.o] Error 1
gmake[2]: Leaving directory
`/export/pkgsrc/wip/mingw-gcc/work.modena/gcc-4.2.1/i386--mingw32/libiberty'
gmake[1]: *** [all-target-libiberty] Error 2
gmake[1]: Leaving directory `/export/pkgsrc/wip/mingw-gcc/work.modena/gcc-4.2.1'
gmake: *** [all] Error 2
*** Error code 2
ここでは sysctl.h がないと言っているが、本当はないのに、 自分で HAVE_SYS_SYSCTL_H を立ててしまっているのが良くない ?
gcc-4.2.1/libiberty/physmem.c:
     51 #if HAVE_SYS_SYSCTL_H
     52 # include <sys/sysctl.h>
     53 #endif
gcc の中には sysctl.h はないので、/usr/include を見に行ってしまっている ところがあるとすれば、それが問題ということになる。-nostdinclude ?

sysctl を調べているところ:

ttyp4:makoto@modena 19:10:51/080713(...wip/mingw-gcc)> egrep -n 'Configur|sysctl' ~/prep/log-gcc
14:===> Configuring for mingw-gcc-4.2.1
182:Configuring in host-i386--netbsdelf/fixincludes
283:Configuring in host-i386--netbsdelf/libiberty
330:checking for sys/sysctl.h... yes
432:checking for sysctl... yes
725:Configuring in host-i386--netbsdelf/intl
844:Configuring in host-i386--netbsdelf/gcc
1128:Configuring in build-i386--netbsdelf/libiberty
1177:checking for sys/sysctl.h... yes
1279:checking for sysctl... yes
1550:Configuring in build-i386--netbsdelf/fixincludes
1667:Configuring in host-i386--netbsdelf/libcpp
1824:Configuring in host-i386--netbsdelf/libdecnumber
3323:Configuring in i386--mingw32/libstdc++-v3
ttyp4:makoto@modena 19:10:59/080713(...wip/mingw-gcc)> 

gcc-*-mingw32 って何 ?:

分っていないことの一つは、 gcc-4.3.0-20080502-mingw32-alpha-src.7z
のように mingw は gcc からは一応別のところで作っている。 でも以前に自分で作ったすごくいい加減な (これは make package をすると binutils と gcc を両方作ってくれるもの)
があって、これだと gcc 本体だけで出来てしまう。



最近の日記
2024年05月05日
Windows 10 version
serial connection
bc bench
2024年05月04日
Trial on 10.99.10
another version (later trial) to succeed
2024年04月29日
dkim
2024年03月10日
停電 (瞬電)
2024年03月03日
the second try on bare-metal
useradd
以上、1 日分です。
タイトル一覧
カテゴリ分類
Powered by hns-2.19.9, HyperNikkiSystem Project

Count.cgi (since 2000/02/05)