Conversation started Jun 3, 2014 at 7:40.
Jun 3, 2014 07:40
@nightcracker nice, will try it; what version of GDB does it have?
@legends2k what do you mean with "what version of gdb"?
7.6
or 7.7 or ...
@legends2k maybe there is a misunderstanding one way or another, you do realize these are just standalone boost libraries, right?
@legends2k this is not a mingw distribution
oh I was mislead by the leading mingw 4.9
nevermind
@legends2k if you're looking for an up-to-date proper GCC installation for windows, this is what you want, almost undoubtly: sourceforge.net/projects/mingw-w64/files/…
@legends2k it's 64 bits gcc 4.9, but it can create both 64 bit and 32 bit binaries
@legends2k and it ships with gdb 7.7, since you were interested in that
Jun 3, 2014 07:45
gdb is lame without -tui
C:\Program Files\mingw64\bin\gdborig.exe: TUI mode is not supported
Yeah. It's cause Windows sucks.
user1804599
@Rapptz TIL.
@nightcracker Thanks, I'm using MinGW 4.8.1 from sourceforge.net/projects/mingwbuilds/ where 4.9 isn't out yet; will try this one now
@legends2k mingw-builds merged into what I linked you, mingw-w64
just so you know, there's multiple versions of mingw-w64
exception handling can be DWARF, SJLJ or SEH, DWARF is terrible on windows (basically you only want this if you need it, e.g. Rust), SEH is best but can only generate 64 bit binaries thanks to a patent, so you usually want SJLJ to build releases
then you can choose between windows threads or pthreads (you want windows threads)
what I linked to you is SJLJ with win threads
Jun 3, 2014 07:51
mingw-builds seemed stale for sometime now... now I know why
oh
and of course the compiler itself can be 32 bit or 64 bit
I assume you have a 64 bit machine, so I linked you the 64 bit version
(but the 64 bit SJLJ compiler can still generate 32 bit executables with -m32)
I need a newer GDB since without which I was pass -gdwarf-3 to GCC so that the debugger work
yes yes, I've a 64-bit machine and a 64-bit OS on it
BTW
I checked Steam's Hardware survey
and most people run 64-bit windows: store.steampowered.com/hwsurvey
by a rather large margin
user1804599
most people run for their lives.
@Rapptz I found a gdb with tui for windows
@Rapptz seems to only work with 32 bit executables though
also it's quirky =/
Jun 3, 2014 07:58
I use SublimeGDB.
that'd be pretty cool
if I didn't switch to vim =/
It is pretty cool.
ctrl + shift + p -> inst -> sublgdb
C:\Users\Danny
user1804599
Jun 3, 2014 08:00
What would you call a function (f, x) --> { f x; return x }?
Sublime Text (UNREGISTERED)
@nightcracker @Rapptz after searching for gdb with tui I've settled for Qt Creator (just the ide without the sdk) works
Qt's gdb thing is fine
I've looked for vim GDB
but all I found was pyclewn
which requires EXACTLY python 3.2 for some reason
haven't bothered to install that exact version (have 3.4) yet =/
probably installed the gdb prettyprinters with python 3.2
iunno
took me forever to find out how to make the gdb prettyprinters work on python 3.x
apparently all I had to do was use 2to3
Jun 3, 2014 08:03
but for anyone working on windows, github.com/nightcracker/qcon is by far my biggest productivity boost
in combination with github.com/nightcracker/dotfiles/tree/master/cmdrc to setup my command line environment
I used to use your qcon thing
long long ago
gives me 9 consoles to access at any point by pressing winkey + ~, then ctrl+n to switch
but I switched to ConEmu + clink
ctrl+1 is always set to python with some automatic imports to turn it into a nifty calculator
@Rapptz why conemu?
I use clink too, btw
I like it way better than Console2
Jun 3, 2014 08:06
@Rapptz why? (just interested)
or more specific, what features you want does conemu have that console2 doesn't?
or what annoyances does it take away
tbh if you asked me this a year ago I would have answered it a lot better
but all I remember now is that ConEmu is a lot more customisable and its font rendering is way better
but how do you have it set up?
same keybindings?
yeup
ctrl + keypad+ for new console
ctrl + n to go to console
new console?
etc
Jun 3, 2014 08:08
why would you want a new console?
new tab?
you use more than 9?
oh I start off with 1 tab
I always just prepopulate 1-9
and add as I move along
Jun 3, 2014 08:09
1 is python
9 is ssh into orlp.me
but you can prepopulate it however you want it
relatively easy to do so actually
2-8 is whatever
hmm let me check if clink is updated
yes, yes it is!
> Prompt colouring no longer requires third party ANSI code utility.
no more ansicon
I wish I had a better shell on Windows.
it just doesn't exist
I refuse to use powershell because of M$
don't give a flying fuck tbh
Jun 3, 2014 08:11
cygwin is awful
cared enough to comment there m8
the only people I see recommending cygwin are those that don't use it lol
I honestly don't understand people who recommend Cygwin
I've never had a positive experience with it
in 4chan terms: linuxfags that think cygwin is the awesome reincarnation of linux on windows
user1804599
Man.
Jun 3, 2014 08:13
no, cygwin is all the terrible shit from windows combined with more terrible shit from emulating something on something incompatible
I use MSYS, it sure isn't bash but it works
never used it
sh.exe is unsurprisingly terrible though
@legends2k <NOPE>
user1804599
I think I will call it apply-ret.
oh no
no
pardon me for the unxutils link
that shit hasn't been updated since 2003
Jun 3, 2014 08:15
git comes with utils
which I think is from MSYS
I use those
oh I don't I think
in fact I don't use linux utils at all except a special version of ls
sucks
well, I use cmd, powershell (for work) and msys exclusively (for personal projs.)
λ bash --version
GNU bash, version 3.1.0(1)-release (i686-pc-msys)
Copyright (C) 2005 Free Software Foundation, Inc.
Jun 3, 2014 08:17
ancient
I only use git for git, not for the utilities it brings
you can select what you want at install time
I'm too used to my linux utils
@Rapptz There's an MSYS2 that is up to date now.
It uses pacman as its package manager.
Has a ton of MinGW-w64 packages as well
Git comes with something called Git Bash
> MSYS2 ships in archives that can be extracted in any place of your computer. But you MUST use folder names without non-ascii characters and spaces.
sounds like solid code they've got going there
Jun 3, 2014 08:22
@Rapptz yeah, that's normal MSYS they modified.
which.. again I think is a wrapper around msys
"It's MSYS all the way down."
@Rapptz it's no wrapper, it's just their fork of ancient MSYS
well
there is no native git binary for windows.
Jun 3, 2014 08:23
it seems to work perfectly fine
shrug
lol
Just thought I might point you to the new stuff.
but I don't use it
"new"
for some reason
Oh yeah
Now I remember
I wanted tabs
Jun 3, 2014 08:24
I don't think I have a fever no more, wooo!
my annoyance with clink still isn't fixed
@nightcracker: The newer mingw-w64 has older msys (2011) while the older mingw-builds seems more upto date (2013)
what worries me is that my gf is sleeping like a baby, and she feels very warm..
@rubenvb good to know about msys2, will give it a try
Jun 3, 2014 08:26
@legends2k what are you rambling?
@legends2k mingw-w64 ships with msys?
@legends2k what tools are part of msys?
0
Q: Constructive discussion quickly disguised as anti-semitic

Ä°nek ÅžabanI had a discussion that began with me telling to newbies that if they received downvotes to contact me to upvote them if genuine, but a jew guy from israel @BenjaminGruenbaum http://stackoverflow.com/users/1348195/benjamin-gruenbaum reacted by downvoting most of my answers. I assumed what could'...

aw crap he deleted his comment
it was something like "you're a murican jew for sure"
@nightcracker No, but there's MSYS2 (see above) from which you can install MinGW-w64 toolchains (and libraries)
Jun 3, 2014 08:28
Oh.
@WilliamAndrewMontgomery I suggest you read the link I posted showing how jews declared war against Germany. Please, DO IT. — Ä°nek Åžaban 29 secs ago
@legends2k old links
git bash is just sh --login -i
They're part of the MinGW-w64 project now
And they have an installer
Ven
Ven
are we swift yet
user1804599
Jun 3, 2014 08:29
@WilliamAndrewMontgomery 1 ... 2 ... downvoted into oblivion.
@legends2k meh, then don't use that part of mingw-w64
@rubenvb I'd rather keep 'em standalone :P
@rubenvb isn't there a package I can download and extract? I mightn't've connectivity to use an online installer
"This belongs on holocaust.SE"
3
@nightcracker: I use those links only for MSYS
Jun 3, 2014 08:30
See the links to 64 and 32 bit.
Those are the up to date files.
@nightcracker Well, me too, but MSYS2 comes with a package manager...
of course I use them for GCC
So I can definitely see the advantage of that. Also, you can still use the toolchain without MSYS2
I was only taking about the addtional external msys package hosted there
Ven
Ven
what, you don't use clang ?
> Now I'll be forced to switch to a new account earlier than I do regularly and gain access to the chat another time if you don't unblock me.
Jun 3, 2014 08:32
-10
Q: Constructive discussion quickly disguised as anti-semitic

Ä°nek ÅžabanI had a discussion that began with me telling to newbies that if they received downvotes to contact me to upvote them if genuine, but a jew guy from israel @BenjaminGruenbaum http://stackoverflow.com/users/1348195/benjamin-gruenbaum reacted by downvoting most of my answers. I assumed what could'...

@legends2k Use MSYS2.
hmm
Their forked version of MSYS isn't bad.
It's still an old version of Cygwin under the hood. MSYS2 has all the new stuff.
alright and yes I've msys and mingw decopled too; I use it at times from cmd and at times from msys
is MSYS2 sane
Jun 3, 2014 08:33
@Rapptz define "sane".
@rubenvb: Just that I'm kinda skeptical about its cygwin side :(
can I use my dotfiles
@Ven clang on windows is terror
morning
Ven
Ven
so I've heard :/
Jun 3, 2014 08:33
> Now I'll be forced to switch to a new account earlier than I do regularly and gain access to the chat another time if you don't unblock me.
:wat:
Ven
Ven
which makes me remember my make segfaults on windows ... fuck :(
> Well done, this is called fairness. If I'd talk about yankees fat 'muricans who make war disguised as "peace mission" in Afghanistan it would've been discussed extensively, but not to a ban.
Guess I'll download and find out
@legends2k Oh, and what is MSYS? A fork of a really old Cygwin...
Jun 3, 2014 08:34
@rubenvb ok point taken, will try out msys2 now
where do I download msys2?
thanks
I'll give it a shot
Remember, start MSYS2 shell, quit, start it again. Some configuration stuffs.
Then run pacman -Syu
LOL
just realized
that Visual Studio 2013 == Visual Studio 12.0
smart version naming, M$
Ven
Ven
Jun 3, 2014 08:37
is msys as bad as cygwin, or ?
The only one that matches is VS2010
Ven
Ven
/me would rather use cmd than cygwin
@Ven define "bad"
@rubenvb bad := !good
Ven
Ven
@rubenvb working as terribly as cygwin, to start with
Jun 3, 2014 08:38
Cygwin's as good as a Unix environment can get on Windows.
Ven
Ven
bullshit
read: total shit
And all things considered, it does pretty damn good.
Ven
Ven
cygwin is the biggest piece of crap I've ever used on windows
I'll use cmd over cygwin any day
what
is this a bad troll
ah yes, it is
Jun 3, 2014 08:39
I'm on the anti-Cygwin side too :c
@WilliamAndrewMontgomery I think so.
26 mins ago, by nightcracker
in 4chan terms: linuxfags that think cygwin is the awesome reincarnation of linux on windows
26 mins ago, by nightcracker
no, cygwin is all the terrible shit from windows combined with more terrible shit from emulating something on something incompatible
Ven
Ven
thanks rapptz.
how to break cygwin in 1 simple step: apply spaces in filepath
known issue for: ever
Jun 3, 2014 08:40
I agree, @nightcracker. It's still all you've got for Unix emulation. Compared to WINE, Cygwin is a lot better ;-)
Ven
Ven
how to break cygwin in 1 simple step : try to use it, and anything forking will crash
MSYS doesn't have issues with spaces so I doubt Cygwin does too.
Ven
Ven
even their stuff doesn't work correctly and randomly fails or segfaults...
MSYS does magic path handlind though
disregard then
Jun 3, 2014 08:41
That's one of the points that sets it apart from Cygwin.
Cygwin still sucks at that? Really?
well, a steaming dump of shit is pretty good at linux emulation, alternatives considered
Jesus
@Rapptz WTF are you on about?
1 min ago, by nightcracker
how to break cygwin in 1 simple step: apply spaces in filepath
Jun 3, 2014 08:41
What else?
FFS. It's just bash.
You probably forgot quotes
no
cygwin literally melts down
if you install it in a path with spaces
like "C:\Program Files"
I just press tab :<
I don't manually type in quotes
Yeah, whose idea was it add a space in the system storage folder!?
or if it's not spaces
it's parentheses
like Program Files (86)
18
Q: make: Interrupt/Exception caught

nightcrackerI'm using Make from the MinGW distribution. It has always worked, but recently I've gotten the following error: > make clean make: Interrupt/Exception caught (code = 0xc0000005, addr = 0x0040b0ac) And the respective part looks like this: clean: del /S /Q *.o > nul del /S /Q *.cy.c > n...

Jun 3, 2014 08:44
ITT: "Windows sucks because it's not Unix"
Seriously.
Can it be more clear than that?
Just don't.
@rubenvb Don't bother. They suck.
FTR
@rubenvb Can your software be more broken than merely installing it in a badly named directory utterly breaks it?
Jun 3, 2014 08:45
@WilliamAndrewMontgomery Yeah, true.
I don't dislike Cygwin cause of that.
quotes would fix it... right?
@nightcracker So what, Qt also has that issue
@WilliamAndrewMontgomery guess why
Yeah and with Qt it's even dumber.
At least Cygwin's makes some sense
Jun 3, 2014 08:45
I'm outta here. Bunch of derps.
Accidentaly downvoted your answer, went AFK and now it won't let me upvote till the answer is edited. Sorry mate, intended to upvote. — Zar Feb 1 '13 at 21:16
Brillant
...
Anyway I'm trying out MSys2
@Rapptz +
1
Jun 3, 2014 08:47
@sehe Just edit it. YOU WANT THE REP
with a TAB it adds the required escape seq. for dirs with spaces
 
Conversation ended Jun 3, 2014 at 8:47.