klange changed the topic of #osdev to: Operating System Development || Don't ask to ask---just ask! || For 3+ LoC, use a pastebin (for example https://gist.github.com/) || Stats + Old logs: http://osdev-logs.qzx.com New Logs: https://libera.irclog.whitequark.org/osdev || Visit https://wiki.osdev.org and https://forum.osdev.org || Books: https://wiki.osdev.org/Books
Oli has joined #osdev
dutch has quit [Quit: WeeChat 3.3]
dutch has joined #osdev
nyah has quit [Ping timeout: 260 seconds]
scoobydoo has quit [Read error: Connection timed out]
gog has quit []
scoobydoo has joined #osdev
Oli has quit [Quit: leaving]
vdamewood has quit [Quit: Life beckons]
dude12312414 has joined #osdev
dude12312414 has quit [Quit: THE RAM IS TOO DAMN HIGH]
sts-q has quit [Ping timeout: 260 seconds]
[itchyjunk] has quit [Remote host closed the connection]
srjek has quit [Ping timeout: 264 seconds]
nj0rd has quit [Read error: Connection reset by peer]
Sos has quit [Quit: Leaving]
Maka_Albarn has joined #osdev
<Maka_Albarn> I'M BACK!!!!
<klange> oh no!
<Maka_Albarn> klange: OI!
<Maka_Albarn> I'm back from the 13th circle, aka, University
<Maka_Albarn> I've been looking through the GCC docs, and for the life of me, I can
<Maka_Albarn> *can't
<Maka_Albarn> find -fno-exceptions
<Maka_Albarn> can anyone explain this?
<Mutabah> Might be in the g++ docs
<kazinsal> it's in the libstdc++ docs, oddly -- https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_exceptions.html#intro.using.exception.no
<bslsk05> ​gcc.gnu.org: Exceptions
mahmutov has joined #osdev
<Mutabah> `cc1plus --help` lists `-fexceptions`, and `no-` prefixes reverse the meaning of a flag
<klange> > (Language support for -fno-exceptions is documented in the GNU GCC manual.)
<klange> "manual" is a link, to a page that makes no mention of no-exceptions...
<klange> Hilarious.
<klange> It mentions the inverse, -fexceptions.
* Maka_Albarn sighs
<Maka_Albarn> stupid people who can't document properly...
<klange> I think that's the "gotcha" here, no-exceptions isn't documented because the inverse is the "feature" that just happens to be turned on by default.
<Maka_Albarn> also, another thing that i've noticed is that gcc needs c++ library support, not that it necessarily needs to be the gcc c++ library. at least, that's what I've seen from the docs.
<klange> In what context?
<klange> gcc itself is written in C++ (and has been for a while now), so of course _it_ wants a C++ standard library.
<Maka_Albarn> yes, it wants a c++ standard library, just not that it has to be libstdc++
<klange> Sure. C++ standard library is supposed to be in a similar position to a C standard library. It is a _standard library_ and they should all provide the same stuff.
<Maka_Albarn> I just want to make sure, because I want to make my own C++ Standard Libary. And before any of you say that I am nuts, ...I am.
* Maka_Albarn deadpans
<klange> Hm, my gcc,cc1,cc1plus do not link to libstdc++ and I'm wondering if it's just because they're old builds and linked it statically...
<klange> Oh my Linux ones don't either, so probably just standard practice.
<Maka_Albarn> ...including my own exceptions and rtti
<Maka_Albarn> ...yes, I AM bats#!& crazy.
<moon-child> Maka_Albarn: sounds like you would not like to make an operating system, but a c++ implementation
<klange> Better get started on the compiler while you're at it :)
<Maka_Albarn> I'm not THAT crazy. I just don't want to deal with digging through the mess of cross-compatability in portable libraries.
<Maka_Albarn> WAY to many defines and undefs
* Maka_Albarn shudders
<moon-child> I assure you it is not easier to make your own c++ runtime than to port someone else's
<Maka_Albarn> that, and I keep having problems compiling libsupc++
<Maka_Albarn> gcc-9.2.0
<klange> Since I don't do bother with C++ I just use libstdcxx. It and libgcc are the only external libraries I ship by default, and tbh I'm not even sure why I ship libstdcxx if gcc doesn't need it? Can probably just move it to a package.
<klange> I added it to my build process so I could support C++ sources, but the only one I have is a 'hello world'.
<klange> It looks like nothing in my current setup actually needs it, including my current package suite.
<Maka_Albarn> well, I WILL write my own C library. what C++ library would you recommend?
<klange> If you're using GCC, then libstdc++. If you're using LLVM/clang, then libc++. You _can_ mix-and-match, as you noted, but libstdc++ is in the gcc sources right there and will build easily alongside it.
<klange> And I think the only issue I had with it was that I had some requirements for ctypes.h that were outside of the standard.
* Maka_Albarn sighs
<Maka_Albarn> integrating that will be a pain.
* klange purges CDN cache
* klange refresh package repository
* klange installs build-essential
mahmutov has quit [Ping timeout: 264 seconds]
<klange> Excellent. Now the only third-party lib I ship is a shared build libgcc.
<Maka_Albarn> I'll need libsupc++ to get full C++ capability into my kernel, then port libstdc++ built with my own libc
<klange> Despite being ~2MB, libstdc++ compressed well enough that removing it has made no notable change in the size of my CD image.
<klange> libgcc_s.so is 85K. I'm not totally certain what I need from it these days - x86-64 has far fewer deps on it without any PC thunks or `long long` div stuff.
<klange> Probably just the frame crap.
<Maka_Albarn> i hate libsupc++. GCC_NO_EXECUTABLES keeps giving me issues. Apparently I need a libc before I can build it.
Maka_Albarn has quit [Quit: Beware of programmers who carry screwdrivers.]
Maka_Albarn has joined #osdev
Maka_Albarn has quit [Client Quit]
ElectronApps has joined #osdev
ElectronApps has quit [Remote host closed the connection]
ElectronApps has joined #osdev
ElectronApps has quit [Remote host closed the connection]
ElectronApps has joined #osdev
ElectronApps has quit [Remote host closed the connection]
ElectronApps has joined #osdev
Ikkepop has joined #osdev
Coldberg has quit [Ping timeout: 260 seconds]
<kazinsal> attempted to fix a couple commits' author email addresses in my git log with git blame-someone-else, made my git log even worse
<kazinsal> friggin' source control
<j`ey> how did it make it worse?
<kazinsal> duplicate commits in the log
<j`ey> :|
<klange> There's a thing for this that doesn't involve rewriting history.
<klange> `gitmailmap`
<klange> > If the file .mailmap exists at the toplevel of the repository, or at the location pointed to by the mailmap.file or mailmap.blob configuration options (see git-config[1]), it is used to map author and committer names and email addresses to canonical real names and email addresses.
<kazinsal> yeah, mostly just miffed at myself for not catching that the wrong address got jammed into a month's worth of commits and I didn't notice until now
<klange> Some of our friends here look back and find that years of commits have ended up with the wrong name :)
<kazinsal> truth
<kazinsal> haha *wow* I just realized I've got a hell of a bug that's causing duplicate packets on my home network
Piraty has joined #osdev
gog has joined #osdev
nj0rd has joined #osdev
vai64 has joined #osdev
<vai64> hi
Oshawott has joined #osdev
<junon> hi
<vai64> <3 migraines
archenoth has quit [Ping timeout: 252 seconds]
jjuran has quit [Ping timeout: 265 seconds]
jjuran has joined #osdev
GeDaMo has joined #osdev
dormito has quit [Quit: WeeChat 3.3]
xenos1984 has quit [Quit: Leaving.]
devcpu has quit [Ping timeout: 258 seconds]
devcpu has joined #osdev
dormito has joined #osdev
Arthuria has joined #osdev
vai64 has quit [Ping timeout: 260 seconds]
GeDaMo has quit [*.net *.split]
eryjus has quit [*.net *.split]
Matt|home has quit [*.net *.split]
Geertiebear has quit [*.net *.split]
theruran has quit [*.net *.split]
simpl_e has quit [*.net *.split]
sm2n has quit [*.net *.split]
basil has quit [*.net *.split]
brenns10 has quit [*.net *.split]
onering has quit [*.net *.split]
JerryXiao has quit [*.net *.split]
janemba has quit [*.net *.split]
mavhq has quit [*.net *.split]
meisaka has quit [*.net *.split]
jbg has quit [*.net *.split]
gmodena has quit [*.net *.split]
orthoplex64 has quit [*.net *.split]
Vercas has quit [Remote host closed the connection]
Vercas4 has joined #osdev
Vercas4 is now known as Vercas
GeDaMo has joined #osdev
theruran has joined #osdev
eryjus has joined #osdev
Geertiebear has joined #osdev
brenns10 has joined #osdev
jbg has joined #osdev
orthoplex64 has joined #osdev
meisaka has joined #osdev
simpl_e has joined #osdev
onering has joined #osdev
janemba has joined #osdev
mavhq has joined #osdev
gmodena has joined #osdev
basil has joined #osdev
JerryXiao has joined #osdev
sm2n has joined #osdev
Matt|home has joined #osdev
dennis95 has joined #osdev
Ikkepop has quit [Read error: Connection reset by peer]
CryptoDavid has joined #osdev
wille1 has joined #osdev
philpax__ has joined #osdev
PyR3X_ has joined #osdev
PapaFrog has joined #osdev
sham1_ has joined #osdev
cookie has joined #osdev
brettgilio7 has joined #osdev
pieguy128_ has joined #osdev
klys_ has joined #osdev
wgrant has quit [*.net *.split]
k0valski1 has quit [*.net *.split]
sham1 has quit [*.net *.split]
brettgilio has quit [*.net *.split]
klys has quit [*.net *.split]
dh` has quit [*.net *.split]
LostFrog has quit [*.net *.split]
PyR3X has quit [*.net *.split]
Dreg has quit [*.net *.split]
pieguy128 has quit [*.net *.split]
ckie has quit [*.net *.split]
philpax_ has quit [*.net *.split]
wille has quit [*.net *.split]
averetzi has quit [*.net *.split]
brettgilio7 is now known as brettgilio
wille1 is now known as wille
philpax__ is now known as philpax_
ahalaney has joined #osdev
scoobydoo has quit [Read error: Connection timed out]
wgrant has joined #osdev
scoobydoo has joined #osdev
[itchyjunk] has joined #osdev
Oli has joined #osdev
nyah has joined #osdev
dude12312414 has joined #osdev
dude12312414 has quit [Client Quit]
NieDzejkob has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
scoobydoo has quit [Read error: Connection timed out]
scoobydoo has joined #osdev
dormito10 has joined #osdev
dormito has quit [Ping timeout: 245 seconds]
sham1_ is now known as sham1
srjek has joined #osdev
Oli has quit [Quit: Lost terminal]
amine has quit [Quit: The Lounge - https://thelounge.github.io]
amine has joined #osdev
heat has joined #osdev
ElectronApps has quit [Remote host closed the connection]
srjek has quit [Ping timeout: 245 seconds]
srjek has joined #osdev
Oli has joined #osdev
CryptoDavid has quit [Quit: Connection closed for inactivity]
Maka_Albarn has joined #osdev
<Maka_Albarn> ALOHA COUSINS!!!
mahmutov has joined #osdev
[itchyjunk] has quit [Read error: Connection reset by peer]
xenos1984 has joined #osdev
Maka_Albarn has quit [Quit: -a- IRC for Android 2.1.59]
stzsch has joined #osdev
mahmutov has quit [Ping timeout: 264 seconds]
ksp has joined #osdev
<ksp> haha typing from netcat
<gog> mew
mahmutov has joined #osdev
<ksp> noice
ksp has quit [Ping timeout: 268 seconds]
X-Scale` has joined #osdev
X-Scale has quit [Ping timeout: 264 seconds]
X-Scale` is now known as X-Scale
dormito10 has quit [Ping timeout: 260 seconds]
stzsch has quit [Ping timeout: 264 seconds]
dormito10 has joined #osdev
k0valski18 has joined #osdev
Arthuria has quit [Ping timeout: 260 seconds]
dude12312414 has joined #osdev
dude12312414 has quit [Remote host closed the connection]
sprock has quit [Ping timeout: 264 seconds]
scoobydoo has quit [Read error: Connection timed out]
scoobydoo has joined #osdev
srjek has quit [Ping timeout: 258 seconds]
skipwich has joined #osdev
ss4 has joined #osdev
wootehfoot has quit [Ping timeout: 260 seconds]
X-Scale has quit [Ping timeout: 245 seconds]
X-Scale` has joined #osdev
X-Scale` is now known as X-Scale
<geist> oh hey didn't know about gitmailmap
<geist> that's useful, i wonder if github honors it?
fkrauthan has quit [Quit: ZNC - https://znc.in]
fkrauthan has joined #osdev
sprock has joined #osdev
amine has quit [Remote host closed the connection]
amine has joined #osdev
sprock has quit [Ping timeout: 264 seconds]
sprock has joined #osdev
amine has quit [Quit: The Lounge - https://thelounge.chat]
amine has joined #osdev
vdamewood has joined #osdev
scoobydoo has quit [Read error: Connection timed out]
scoobydoo has joined #osdev
GeDaMo has quit [Remote host closed the connection]
<heat> I feel tempted to write a C standard library for Linux, for funsies
dormito10 has quit [Quit: WeeChat 3.3]
<mjg> i don't know what's fun about that though
<mjg> ;)
ss4 has quit [Ping timeout: 258 seconds]
<heat> heh
<heat> I spent the last two days doing javascript for my cloudflare application so I'm pretty eager to do the opposite ;)
sprock has quit [Ping timeout: 264 seconds]
Matt|home has quit [Ping timeout: 260 seconds]
ahalaney has quit [Quit: Leaving]
heat has quit [Remote host closed the connection]
dormito has joined #osdev
dennis95 has quit [Quit: Leaving]
scoobydoo has quit [Read error: Connection timed out]
scoobydoo has joined #osdev
pretty_dumm_guy has joined #osdev
dh` has joined #osdev
ss4 has joined #osdev
sprock has joined #osdev
ccx_ has quit [Ping timeout: 268 seconds]
ccx_ has joined #osdev
pretty_dumm_guy has quit [Quit: WeeChat 3.3]
dormito has quit [Remote host closed the connection]
dormito has joined #osdev