Closed AutomationD closed 8 years ago
Thanks for your comments. GCC - good point, as soon as I'm done with fully building and packaging (very soon), I'll work on the next gcc version, should be no issue.
All environment should be built by scripts in env/, like env/ubuntu_10.cmd
I introduced some configs like make PREBUILT_TOOLCHAIN
which uses toolchain from here. More to come:)
pyinstaller and mcs are just packages, that are very easy to install for all platforms (no need in pyinstaller for windows). Also, should be useful to add certain parameter like make NO_UTILS=y
.
One last:
# GDB
$(XTDLP)/$(GDB_DIR)/configure.ac: $(XTDLP)/$(GDB_TAR)
mkdir -p $(XTDLP)/$(GDB_DIR)
$(UNTAR) $(XTDLP)/$(GDB_TAR) -C $(XTDLP)/$(GDB_DIR)
mv $(XTDLP)/$(GDB_DIR)/gdb-*/* $(XTDLP)/$(GDB_DIR)
there is no move needed, and this move builds a new one unneccasary
I had zero problems with gcc-4.9.2 and 5.1, with this little patch https://github.com/jcmvbkbc/crosstool-NG/blob/b38a1d4cb9f0179a1da5c210e476aa2c9229bb94/local-patches/gcc/5.1.0/0001-WIP-don-t-bring-extra-u-int_least32_t-into-std.patch
@Juppit by the way, did you make gdb built this way work? I'm missing some python stuff.
Gdb compiled fine (you know, simply type make in a cygwin terminal). I also can start gdb in terminal, but I do not know, what I can do with it.
Am 20.12.2015 um 20:26 schrieb Dmitry Kireev:
@Juppit https://github.com/Juppit by the way, did you make gdb built this way work? I'm missing some python stuff.
— Reply to this email directly or view it on GitHub https://github.com/kireevco/esp-alt-sdk/pull/4#issuecomment-166148674.
@Juppit it's gdbstub from espressif that is supposed to make it work. You include it in the code, and it exposes stuff to your gdb debugger. Did you build gdb from the same source as I did? (gnu ftp)?
Once again:
that's really all (except waaaaaiiiiting)
Am 20.12.2015 um 23:26 schrieb Dmitry Kireev:
@Juppit https://github.com/Juppit it's gdbstub from espressif that is supposed to make it work. Did you build gdb from the same source as I did? (gnu ftp)?
— Reply to this email directly or view it on GitHub https://github.com/kireevco/esp-alt-sdk/pull/4#issuecomment-166159344.
@Juppit Oh, so gdb from here works, good.
You could submit a PR, by the way, maybe to https://github.com/kireevco/esp-alt-sdk/tree/gcc-4.9.2 ?
Otherwise I'll do that a little bit later.
Also, keep in mind, that main platform I'm using is mingw, which is most of users, but usually it is much more naughty than cygwin :)
Yes I try to submit a PR, but I'm not as practiced in GIT and also not in English, so I need my time :-)
Am 20.12.2015 um 23:55 schrieb Dmitry Kireev:
@Juppit https://github.com/Juppit Oh, so gdb from here works, good.
You could submit a PR, by the way, maybe to https://github.com/kireevco/esp-alt-sdk/tree/gcc-4.9.2 ?
Otherwise I'll do that a little bit later.
Also, keep in mind, that main platform I'm using is mingw, which is most of users, but usually it is much more naughty than cygwin :)
— Reply to this email directly or view it on GitHub https://github.com/kireevco/esp-alt-sdk/pull/4#issuecomment-166161309.
@Juppit
gcc-4.9.2
in my repo.Take your time, and thank you very much for the contribution :)
Hi, do you like some more comments from me? ;-) I made some changes in Makefile:
There are still issues in gcc version 4.8.2, I have no found solutions for. So I use 4.9.2 or 5.1 from https://github.com/jcmvbkbc There is a patch from jcmvbkbc for 5.1 which works for me on cygwin even at version 4.9.2 This patch appends " && 0" at line 41 in following file: gcc-dir/libstdc++-v3/include/std/type_traits, so it looks like this:
I hade to uncomment following lines in Makefile:
because I miss pyinstaller (and don't need the tools)
Next there are more tools I don't need and I do not have the program mcs:
This tool stuff should be configurable.
Last one: After the second or third run I uncommented the untar command for gdb, which is really annoying after a while...
greetings