logs archiveBotHelp.net / Freenode / #3dsdev / 2015 / September / 6 / 6
yuriks
Lectem: well, c++ doesn't even support VLAs in the first place, so they're just doing the GNU extension thing :P
endrift
there were weird problems
that I couldn't figure out how to fix
so I left the code with aptMainLoop() in a stash
until I figure it out
Lectem
yuriks : that was what I was wondering ahah
profi200
endrift: What broke?
endrift
profi200: for some reason, it wasn't properly ending my runloop when I was looping on it
Lectem
it compiles fine with gcc with -std=c++11 though
endrift
so it would softlock when trying to exit the emulator
also apt hooks didn't seem to do anything
yuriks
Lectem: what about clang?
profi200
endrift: Tried to increase stack size?
endrift
also the sound would keep going (but repeating the small chunk) when it was in the home menu
because I couldn't get the apt hook working
profi200: no
why would that matter?
it wouldn't crash
and it would go back to what it was doing when I hit home again
Lectem
yuriks : dun have clang on this machine
yuriks
dun goofed
profi200
endrift: Because the stack is on the heap everything can happen.
endrift
gross
profi200
To increase stack size use that "u32 __stacksize__ = 0x40000;"
endrift
yeah I know about that
profi200
Default is 0x8000.
endrift
oh I thought it was larger
still. I can't imagine I'm using that much stack space already
profi200
It's worth a try.
endrift
yep
but I'm trying to not do emulator stuff today because I'm burning out
profi200
Well, take a break. No one forces you.
Lectem
are smdhtool and bannertool .smdh compatibles?
endrift
no
Lectem
thats kind of annoying
endrift
smdhtool produces invalid smdh files that just happen to be enough for HBL to parse
Lectem
guess I'll have to add a switch to use bannertool instead of smdhtool when possible
thats kind of annoying though
those produced by bannertool are compatible with the hb launcher though I suppose?
archshift
I expect so
profi200
Standard SMDHs should work in hb menu.
endrift
they do
furyhunter
i'm back at trying to get rust on the 3ds again
(Action) vomits uncontrollably
yuriks
XD
haven't touched Rust in a while...
to many other things to do
furyhunter
i just decided, fu*k it, I'll build rust from source
and make a new target file
thanks haskell platform
for screwing my PATH
Lectem
oh crap, I was going to add a feature that is cmake 3.0 only
<.<
furyhunter
let's compile llvm!
Lectem
furyhunter : good luck making it compatible with dkA
endrift
compiling llvm takes a while
furyhunter
llvm can emit stuff for 3ds, I've done it before
the trick is making a working compiler_rt
which has proven difficult for 3 months now...
Lectem
endrift : would that rsf be the same for other homebrews ? apart for the title and productcode ?
(just to know if I should just use configure or let the user give his own rsf
endrift
and the unique ID
there's honestly no documentation that I could find for how to build an RSF so I just copied one and tweaked it
Lectem
guess I'll just let the user provide it for now, it would make me add a lot of variables or a new macro
furyhunter
Are there any gcc defines that get set when compiling for ARM that I should know about?
Lectem
several yeah
endrift
I mean gcc != llvm in how it handles ARM
llvm is really happy to spit out whatever compared to recompiling fu*king all of binutils and gcc
Lectem
http://sourceforge.net/p/predef/wiki/Architectures/
oh, then I dont know
« prev 1 2 3 4 5 6 next »