# 06:12:38 |
organixpear |
joins #crosstool-ng |
# 06:14:02 |
organixpear |
I have a quick question. Why does the crosstool need to install a new limits.h in my /usr/include, and also what other "system" files need to be replaced? I am really reluctant to just let fly with sudo. |
# 06:17:41 |
organixpear |
quits : Quit: leaving |
# 07:05:16 |
smartin |
joins #crosstool-ng |
# 07:10:45 |
organixp1ar |
joins #crosstool-ng |
# 07:10:57 |
organixp1ar |
your project is garbage. I hope it rots and falls off. |
# 07:22:28 |
haluk |
joins #crosstool-ng |
# 07:23:27 |
organixp1ar |
quits : Quit: leaving |
# 08:27:15 |
haluk |
Cubox: Have you ever had a problem with kconfig/zconf.hash.c while compiling ct-ng itself? |
# 08:55:03 |
Cubox |
haluk: yes |
# 08:55:33 |
Cubox |
haluk: it's was i stopped to create toolchain using macosx |
# 08:56:59 |
haluk |
Cubox: I modified kconfig/zconf.hash.c to add "#define offsetof(type, field) __builtin_offsetof(type, field)" just before "static struct kconf_id wordlist[] =" to make it compile |
# 08:57:08 |
Cubox |
haluk: hmm |
# 08:57:40 |
Cubox |
thx, i'll try |
# 08:57:49 |
haluk |
I think it's because the header files that are different on mac os than on a gnu linux |
# 08:57:51 |
Cubox |
haluk: is there more problems you fixed ? |
# 08:58:42 |
haluk |
In ct-ng? No, other than objcong -> gobjconf etc. |
# 08:58:54 |
haluk |
objconf* |
# 08:59:03 |
Cubox |
I have added symlinks in /opt/local/bin |
# 08:59:18 |
haluk |
I didn't want to touch the system :p |
# 08:59:35 |
haluk |
Now I installed gcc47 from macports |
# 08:59:56 |
haluk |
I'm trying to build the toolchain with it |
# 09:00:21 |
haluk |
It didn't compile ct-ng itself by the way |
# 09:00:34 |
haluk |
I mean the gcc47 from macports |
# 09:00:49 |
Cubox |
hmm |
# 09:01:27 |
Cubox |
haluk: how do you have done for gobjcopy -> objcopy (and etc) ? |
# 09:01:51 |
Cubox |
haluk: and, how do you tell ct-ng to use gcc from ports (and not from xcode) |
# 09:01:59 |
haluk |
I modified configure :) |
# 09:02:16 |
Cubox |
haluk: just tell me what (and line) |
# 09:03:50 |
haluk |
Find the line that looks for objcopy: "for ac_prog in objcopy" |
# 09:03:59 |
haluk |
add an gobjcopy in the end :) |
# 09:04:06 |
haluk |
for ac_prog in objcopy gobjcopy |
# 09:04:19 |
haluk |
If you have autoconf installed |
# 09:05:00 |
haluk |
you can modify configure.ac and run autoconf later on, that would be kinda more clean |
# 09:06:36 |
haluk |
in configure.ac change the corrsponding line to "ACX_PATH_TOOL_REQ([OBJCOPY], [objcopy gobjcopy])" etc. |
# 09:06:47 |
Cubox |
ok, thanks :D |
# 09:07:09 |
haluk |
np |
# 09:07:32 |
Cubox |
haluk: need to write a doc with all problems, and solution for compiling on macosx |
# 09:08:05 |
Cubox |
haluk: and, need to create a toolchain x86_64 -> Macosx |
# 09:08:17 |
haluk |
Cubox: If I can ever build a toolchain :) |
# 09:08:43 |
haluk |
I can't go that far :p |
# 09:08:46 |
Cubox |
haluk: I build my toolchain, but on my linux server :) |
# 09:08:58 |
Cubox |
Naow, need it on macosx |
# 09:09:24 |
haluk |
I did it too, those were good days. |
# 09:09:35 |
Cubox |
xD |
# 09:16:19 |
haluk |
Cubox: Ah I forgot to tell |
# 09:16:31 |
haluk |
Cubox: There is also a problem with installing kconf |
# 09:17:02 |
Cubox |
haluk: have to go, Will see later |
# 09:17:11 |
haluk |
Cubox: You have to modify Makefile. But even if you do it, uninstalling causes a problem |
# 09:17:34 |
haluk |
Cubox: So it's better to configure with --enable-local |
# 09:17:43 |
haluk |
Cubox: OK see ya. |
# 09:26:18 |
haluk |
And it has given an error again while |
# 09:26:32 |
haluk |
installing eglibc 2.13 |
# 09:26:52 |
haluk |
from build.log |
# 09:26:57 |
haluk |
[ALL ] In file included from rpc_main.c:51:0: |
# 09:27:07 |
haluk |
[ERROR] proto.h:61:14: error: expected declaration specifiers or '...' before numeric constant |
# 09:27:22 |
haluk |
[ERROR] proto.h:61:14: error: expected ')' before '!=' token |
# 09:27:30 |
haluk |
[ERROR] proto.h:61:14: error: expected ')' before '?' token |
# 09:28:27 |
haluk |
[ERROR] make[3]: *** [x-tools/.build/powerpc-unknown-linux-gnu/build/build-libc-final/sunrpc/cross-rpc_main.o] Error 1 |
# 09:39:36 |
smartin |
quits : Ping timeout: 245 seconds |
# 09:44:29 |
haluk |
ct-ng cannot restart from a certain point by the way although I enabled it in menuconfig with gzip compression |
# 09:44:39 |
haluk |
ct-ng libc+ |
# 09:44:50 |
haluk |
[INFO ] Restoring state at step 'libc', as requested. |
# 09:45:09 |
haluk |
00:05] / zcat: x-tools/.build/powerpc-unknown-linux-gnu/state/libc/log.gz.Z: No such file or directory |
# 09:45:47 |
haluk |
there is log.gz but there isn't log.gz.Z |
# 10:25:10 |
smartin |
joins #crosstool-ng |
# 10:52:31 |
haluk |
quits : Ping timeout: 245 seconds |
# 10:56:35 |
haluk |
joins #crosstool-ng |
# 11:44:00 |
haluk |
Restoring from a state works of log file compression is not selected. |
# 12:57:12 |
ctngbot |
joins #crosstool-ng |
# 20:20:19 |
ctngbot |
joins #crosstool-ng |
# 20:29:16 |
sh4rm4 |
quits : Ping timeout: 276 seconds |
# 20:32:06 |
sh4rm4 |
joins #crosstool-ng |
# 20:48:51 |
smartin |
quits |
# 22:30:39 |
mnt_real |
quits : Ping timeout: 240 seconds |
# 22:43:41 |
mnt_real |
joins #crosstool-ng |