Dark
Thanks for the input Guys👍
I hate people who don’t google first
Dark
Thanks for the input Guys👍
It wastes our time, don’t you agree
Harsh
What do you mean like Multi architecture?
I mean If gcc can auto compile depending on OS(exe for Win, binary for Linux) Can't it be OS independent executable? Just thinking hypothetically
Dark
I mean If gcc can auto compile depending on OS(exe for Win, binary for Linux) Can't it be OS independent executable? Just thinking hypothetically
I don’t believe so because Linux and Windows and Mac have different opcodes and so have to be compiled Differently
Dark
Also the file formats are different
Anonymous
Also system calls are different and so on...
Dark
Mate :/ I did already
Then why ask if you knew the answer?
Harsh
Then why ask if you knew the answer?
The answers were 2011 old
Harsh
And still valid
How'd i know if still valid? That's why I asked here
Dark
Use Java if you want something that runs on Mac, Windows and Linux
Anonymous
I rate Question -1 because could have google that
I don't think that it is good question to google. Maybe it is better to google "Difference between elf and windows-pe'
Dark
Here comes another
Dark
I don't think that it is good question to google. Maybe it is better to google "Difference between elf and windows-pe'
Or just “can you compile a file for Linux, Windows and Mac using C++” would have got the answer
Konstantin
I don't think that it is good question to google. Maybe it is better to google "Difference between elf and windows-pe'
I would say that there should be understanding what's happening under the hood in the first place.
Harsh
So i was still curious
Dark
Compiling is not magic or tho is can seam that why. It converts you readable code to Machine code and Optimises it for the system it’s compiled for
Harsh
Different toolchains diff performance
Dark
Latter part i probably know from my Android kernel compiling days tho
Try building your own kernel. Now that would be cool but unfortunately I wouldn’t know where to start lol 😂. That’s way above me
Dark
They teach this probably in my college (I guess). From basic display drivers
No mate its really uncommon for anyone to learn how to make a kernel
Harsh
That's crazy
Dark
Because it’s not something most jobs are going to ask you to do.
Dark
It's not that hard. Kernel guys maintains good enough docs
Provide info now jk. Tho I would love to see some resources for that
Dark
kernel.org?
Yes but that’s a prebuilt kernel
Dark
I want to make one from scratch
Harsh
Yes but that’s a prebuilt kernel
They have raw . txt tutorials and explanations on features
Dark
Nice
Konstantin
I want to make one from scratch
you wouldn't believe what you can find if you will search for "Linux From Scratch" :-)
Dark
you wouldn't believe what you can find if you will search for "Linux From Scratch" :-)
Well again my task was to build a basic kernel that loads the C Standard library and then starts a C program. That’s it
Dark
To me that a success
Konstantin
Well again my task was to build a basic kernel that loads the C Standard library and then starts a C program. That’s it
no worries. but if you will ever want to have some "fun", then "Linux From Scratch" could be nice choice :-)
Dark
Trust me I tried that and didn’t find anything that could load the C Standard library
Anonymous
Funny huh ? Except kernel is more complex thing that often asked in this chat.
Harsh
This is a closest thing I've seen btw; https://tldp.org/LDP/lkmpg/2.6/html/x121.html
Dark
Not a kernel
V01D
Kernels are hard. I failed...
Anonymous
Thanks for pointing that out
V01D
True. My irqs dont fire, and it seems my isrs are off aswell. The int instruction always fires interrupt 15, exceptions not caused by int are fine.
V01D
I am in ring 0. My kernel cannot du much
V01D
You can check my github in my bio if you like, perhaps you can find the issue. I gave up, cannot get anywhere and OS development isn't my main thing. Unless the IRQS somehow work, then I would continue
Anonymous
V01D
It works for me...
V01D
https://github.com/V01D-NULL/BreezeOS Does this work @lightness_races_in_orbit
V01D
Okay
V01D
dontasktoask.com
V01D
No user level. All ring 0
V01D
My interrupts and co are in src/cpu/idt
V01D
I will do that eventually. First I need to initialize all hardware.
V01D
To do that, I need to get IRQ's working
V01D
IRQ's do not fire at all.
V01D
And int instruction returns false interrupt. The readme shows the bugs
Anonymous
Hi guys I'm basic level , please help me How can I get float reminder in devc++?
V01D
10%2 = 0
Anonymous
You mean , We haven't got somekind operation for that