<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]