# 00:57:45 |
snappy |
quits : Read error: Connection reset by peer |
# 00:58:00 |
snappy |
joins #crosstool-ng |
# 00:58:01 |
snappy |
quits : Changing host |
# 00:58:01 |
snappy |
joins #crosstool-ng |
# 06:39:51 |
mnt_real |
quits : Quit: Ex-Chat |
# 07:14:13 |
tor |
joins #crosstool-ng |
# 09:08:45 |
xvilka |
joins #crosstool-ng |
# 09:16:51 |
xvilka |
hi! is is possible build bare-metal COFF toolchain? |
# 12:42:50 |
tor |
quits : Quit: Ex-Chat |
# 17:09:19 |
sh4rm4 |
quits : Ping timeout: 252 seconds |
# 20:12:00 |
y_morin |
joins #crosstool-ng |
# 20:30:37 |
xvilka |
hi! is is possible build bare-metal COFF toolchain? |
# 20:38:47 |
y_morin |
xvilka: COFF? What's that? |
# 20:39:01 |
y_morin |
xvilka: you mean, with crosstool-NG ? |
# 20:42:26 |
xvilka |
yep |
# 20:42:54 |
xvilka |
not elf, but coff |
# 20:46:48 |
y_morin |
xvilka: probably not. |
# 20:47:18 |
y_morin |
xvilka: COFF is primarily used fos Windows (with the PE extensions, PE/COFF). Other uses are rare nowadays, althgough EFI does use it. |
# 20:48:06 |
y_morin |
xvilka: as noone, not even myself, has had interest in this, there is not support for this in crosstool-NG |
# 20:48:22 |
y_morin |
xvilka: but if you need it, and you can make it work, patches welcome! ;-) |
# 20:50:47 |
xvilka |
yep. where i can start to see/try/etc for adding coff support? |
# 20:51:20 |
xvilka |
gcc.sh and binutils.sh? is this enough? |
# 20:52:09 |
y_morin |
xvilka: starting by adding COFF to the list in: config/binutils.in |
# 20:52:31 |
y_morin |
xvilka: then choose an archiotecture for which COFF makes sense (eg. x86?) |
# 20:52:45 |
xvilka |
ok. written that |
# 20:53:04 |
xvilka |
s/written/recorded :) |
# 20:53:34 |
y_morin |
xvilka: then change the 'system' part of the tuple to be 'coff' instead of 'elf'. Eg. in scripts/build/arch/x86.sh |
# 20:53:51 |
y_morin |
xvilka: it's variable CT_TARGET_SYS |
# 20:54:39 |
y_morin |
xvilka: then, provided the tools (gcc+binutils) are not too dumb, they should recognise tuples matching *-coff |
# 20:54:52 |
xvilka |
cool. thx. will try |
# 20:56:23 |
y_morin |
xvilka: you may want to use 'ecoff' instead. |
# 20:57:10 |
y_morin |
xvilka: looking at config.sub, not many things supports COFF (or ECOFF). |
# 20:57:24 |
y_morin |
xvilka: what's the reason for using COFF? |
# 20:59:05 |
xvilka |
it is non-posix embedded system |
# 21:00:10 |
xvilka |
what difference between coff and ecoff? |
# 21:03:06 |
y_morin |
xvilka: https://secure.wikimedia.org/wikipedia/en/wiki/Comparison_of_executable_file_formats |
# 21:08:02 |
xvilka |
ah, only 64bit support |
# 21:08:47 |
y_morin |
xvilka: nope, the table is to be read as "also supports 64-bit) |
# 21:09:23 |
xvilka |
anyway, looks like i need coff only |
# 23:12:53 |
y_morin |
quits : Quit: Back tomorrow... |