jmeubank / tdm-gcc

TDM-GCC is a cleverly disguised GCC compiler for Windows!
https://jmeubank.github.io/tdm-gcc/
572 stars 49 forks source link

package download error #19

Closed decuant closed 4 years ago

decuant commented 4 years ago

Hello guys,

thank you very much for your efforts on keeping this project alive, I use it rarely but I'm happy to count on it.

I was wondering to recompile Lua 5.4 on a Windows 8.0 laptop using Dev-Cpp, but I have only an old 4.9.2 TDM installation.

This is not an issue, just want to let you know that I cannot download TDM-GCC-9.2.0 32 bit only from https://jmeubank.github.io/tdm-gcc/download/, it keeps stopping with a generic 'network interrupt'.

I tried also the web download manager at that page, but no luck, I attach a screen capture.

May be it's only me, just to make you aware of the problem.

download error

decuant commented 4 years ago

Hello,

you know, you report a problem like this and it disappears...

I was able to download the requested package. Probably it was the 10th time.

Still, when installing if the checkbox to look for updates upon install is ticked then it fails. Is that web address available?

Un-ticked it, I have successfully installed the package, Dev-Cpp compiles ok a bare bone dll.

The command rm.exe is missing from distribution, so I copied the one I have from 4.9.2 in bin.

The command gdb.exe is missing (it is there, but with a different name gdb32.exe), an error pops out, I have attached the image. Made a copy and renamed it. But it is not tested because my project is a DLL and I don't have a host application.

start error

The makefile:

RM = rm.exe -f

clean: clean-custom ${RM} $(OBJ) $(BIN) $(DEF) $(STATIC)

See, Dev-Cpp is discontinued but tight to C/C++, and I just want to compile Lua 5.4.

Thank you

jmeubank commented 4 years ago

The command rm.exe is missing from distribution, so I copied the one I have from 4.9.2 in bin.

This is probably an MSYS executable ; TDM-GCC can work with MSYS but does not distribute MSYS components.

The command gdb.exe is missing (it is there, but with a different name gdb32.exe), an error pops out, I have attached the image. Made a copy and renamed it. But it is not tested because my project is a DLL and I don't have a host application.

https://github.com/jmeubank/tdm-distrib/blob/master/tdm32/gdb/README-gdb32-tdm.md#wrapper-executables

(Future versions of TDM-GCC may use a different folder structure to help with this.)

The makefile:

RM = rm.exe -f

clean: clean-custom ${RM} $(OBJ) $(BIN) $(DEF) $(STATIC)

Probably this Makefile targets GCC running with MSYS - you can alter it to use Windows built-in executables, or find a Makefile that targets a barebones GCC-on-Windows without relying on MSYS executables like rm.exe, or install MSYS and add it to your %PATH% or merge it with TDM-GCC.

jmeubank commented 4 years ago

Still, when installing if the checkbox to look for updates upon install is ticked then it fails. Is that web address available?

Works here, can you try accessing it from a different location or internet service provider? The host is Github.

decuant commented 4 years ago

Hi,

thank you for all your detailed answers.

I was able to compile Lua 5.4 and wxWidgets 3.1.3 , and the executables looks working properly. Using CMake exec names are recognized properly.

But for the manifest problem, no, I cannot resolve the host. I'm currently writing to you and read the horoscopes and torrenting down at 400K speed, but not your tool.

Here is the image. error

Thank you for the detailed axplanations you gave me!

Antonio

A-l-an commented 2 years ago

Go back to the original question and remove the "check for update" checkbox. Problem solves.