# 00:04:28 |
tdill |
quits : Quit: Page closed |
# 01:50:56 |
huhlig-home |
joins #crosstool-ng |
# 02:50:42 |
AvengerMoJo |
joins #crosstool-ng |
# 04:14:38 |
alan_o |
quits : Quit: Leaving |
# 05:50:24 |
huhlig-home |
is crosstool-ng supposed to attempt to create executables when building a crosscompiler? |
# 06:09:36 |
diorcety |
joins #crosstool-ng |
# 06:13:19 |
y_morin |
joins #crosstool-ng |
# 06:20:23 |
huhlig-home |
hello y_morin |
# 06:27:12 |
huhlig-home |
hey y_morin is crosstool-ng supposed to attempt to build an executable when doing bare metal cross compile |
# 06:31:58 |
y_morin |
huhlig-home: hey. As-is: no. A bare-metal compiler can generate executable code to directly run on the processor, ie. raw binary code, not ELF. |
# 06:32:21 |
y_morin |
huhlig-home: What is it you are targetting? |
# 06:32:36 |
huhlig-home |
armeb-32 |
# 06:32:41 |
huhlig-home |
eabi |
# 06:32:58 |
huhlig-home |
hopefully arm11 |
# 06:33:36 |
y_morin |
huhlig-home: and what do you want to run on this? |
# 06:36:21 |
huhlig-home |
I want to build a kernel |
# 06:36:35 |
huhlig-home |
take a bit of assembler |
# 06:36:46 |
huhlig-home |
create an object file with gdc |
# 06:36:58 |
huhlig-home |
and then link them into a bare metal kernel |
# 06:37:43 |
y_morin |
huhlig-home: what kernel? The Linux kernel? |
# 06:37:43 |
sh4rm4 |
quits : Ping timeout: 252 seconds |
# 06:38:27 |
huhlig-home |
no a custom kernel |
# 06:39:27 |
diorcety |
quits : Quit: Leaving. |
# 06:40:11 |
y_morin |
huhlig-home: Hmm... I don't know. Probably a bare-metal compiler would be enough. However, a complete compiler (ie. targeting Linux) will work, and is probably easier to setup. |
# 06:41:15 |
y_morin |
huhlig-home: Because, a bare-metal compiler is just that: a _bare-metal_ compiler; you have to provide yourself all the basic low-level routines for your platform. |
# 06:41:20 |
huhlig-home |
I know |
# 06:41:24 |
huhlig-home |
I am fully aware of that |
# 06:41:34 |
y_morin |
huhlig-home: hence the reason why gcc may be complaining about missing crti.o or some such. |
# 06:41:35 |
huhlig-home |
I will need to do so anyway as DRuntime hasnt been ported to arm yet |
# 06:42:34 |
y_morin |
huhlig-home: Oh, then you are mostly on your own there... I would suggest that you first get a compiler to work and make your kernel work as-is. Then, and only *then* add your D module. |
# 06:43:08 |
y_morin |
huhlig-home: bare-metal is so specific to each platform. |
# 06:44:18 |
y_morin |
huhlig-home: Also, do you use newlib in your bare-metal compiler, or no C library at all? |
# 06:45:09 |
huhlig-home |
no c library preferable |
# 06:45:11 |
mnt_real |
quits : Quit: Leaving |
# 06:45:16 |
huhlig-home |
although newlib can run baremetal |
# 06:45:30 |
huhlig-home |
on armeb |
# 06:46:33 |
y_morin |
huhlig-home: I've almost never used newlib, but it provides some rather low-level stuff that can be usefull instead of rewriting it. |
# 06:46:42 |
y_morin |
huhlig-home: newlib *is* for bare-metal. |
# 06:46:54 |
huhlig-home |
yeah |
# 06:46:55 |
y_morin |
(or Cygwin, if that matters) |
# 06:47:07 |
huhlig-home |
I am trying to write a basic OS Kernel with only D |
# 06:47:49 |
y_morin |
huhlig-home: Then, you're really on your own, sorry. :-/ |
# 06:49:46 |
sh4rm4 |
joins #crosstool-ng |
# 06:49:53 |
huhlig-home |
heh |
# 06:50:01 |
huhlig-home |
sigh |
# 06:54:40 |
y_morin |
huhlig-home: These days, people doing bare-metal are not legion anymore. And D has not really caught up (it's not even mainline in gcc). |
# 06:55:02 |
y_morin |
As I see it, D is mostly academic. |
# 06:55:25 |
y_morin |
(which does not mean it is a bad language, or a good one either) |
# 06:56:24 |
y_morin |
Just D appeared too late, when C and C++ were already prevalent. |
# 07:10:24 |
huhlig-home |
perhaps |
# 07:10:33 |
huhlig-home |
but it works alot better and is far more safe |
# 07:11:10 |
huhlig-home |
I think it has a place |
# 07:11:18 |
huhlig-home |
its getting alot more popular too |
# 07:11:46 |
aalv |
joins #crosstool-ng |
# 07:26:07 |
mnt_real |
joins #crosstool-ng |
# 08:19:01 |
Skindred |
quits : Ping timeout: 276 seconds |
# 09:01:09 |
Skindred |
joins #crosstool-ng |
# 09:31:10 |
MisterMisterx |
joins #crosstool-ng |
# 09:34:00 |
Skindred |
quits : Ping timeout: 256 seconds |
# 09:39:53 |
Net147 |
joins #crosstool-ng |
# 09:41:28 |
Skindred |
joins #crosstool-ng |
# 09:44:46 |
MisterMisterx |
quits : Ping timeout: 256 seconds |
# 11:57:08 |
AvengerMoJo |
quits : Quit: AvengerMoJo |
# 12:11:21 |
sh4rm4 |
quits : Ping timeout: 252 seconds |
# 12:11:55 |
sh4rm4 |
joins #crosstool-ng |
# 12:46:57 |
dalias |
quits : Ping timeout: 248 seconds |
# 13:17:53 |
ddvlad |
parts #crosstool-ng |
# 13:29:52 |
sabre_sd |
joins #crosstool-ng |
# 13:30:44 |
sabre_sd |
hey guys, does anybody know what the latest stable version of eglibc is? |
# 13:34:14 |
y_morin |
sabre_sd: eglibc does not do stable version. The latest branch is 2_17. |
# 13:36:54 |
sabre_sd |
ah, sorry, i said it wrong. Im using the sample arm config, with some trivial modifications (dont use java, fortan) and instead glibc -> eglibc. And the build fails. with using glibc it runs fine. So somewhere in versions there has to be a problem?! |
# 13:40:50 |
dalias |
joins #crosstool-ng |
# 13:45:21 |
Net147 |
quits : Quit: HydraIRC -> http://www.hydrairc.com <- *I* use it, so it must be good! |
# 14:05:31 |
sabre_sd |
quits : Quit: Page closed |
# 14:34:20 |
idallasj |
quits : Ping timeout: 240 seconds |
# 14:36:08 |
alan_o |
joins #crosstool-ng |
# 14:37:53 |
idallasj |
joins #crosstool-ng |
# 15:07:57 |
AvengerMoJo |
joins #crosstool-ng |
# 15:44:19 |
idallasj |
quits : Read error: Connection reset by peer |
# 15:44:36 |
idallasj |
joins #crosstool-ng |
# 16:26:51 |
Thomas1 |
joins #crosstool-ng |
# 17:40:57 |
smartin_ |
joins #crosstool-ng |
# 18:13:38 |
diorcety |
joins #crosstool-ng |
# 18:23:46 |
diorcety |
quits : Read error: Connection reset by peer |
# 18:41:07 |
Skindred |
quits : Ping timeout: 252 seconds |
# 18:48:15 |
diorcety |
joins #crosstool-ng |
# 19:04:33 |
Skindred |
joins #crosstool-ng |
# 20:01:39 |
AvengerMoJo |
quits : Quit: AvengerMoJo |
# 20:02:41 |
Thomas1 |
quits : Quit: Thomas1 |
# 21:36:56 |
smartin_ |
quits : Quit: leaving |
# 22:12:05 |
alan_o |
quits : Quit: Leaving |
# 22:55:15 |
y_morin |
quits : Quit: Nighty Night! |
# 23:56:31 |
diorcety |
parts #crosstool-ng |