Comments (3)
I'm not sure what this is supposed to do:
It tries to copy as many *.dll
files required by executables as possible (;
The quotes are incorrect.
You need to be more specific, as in here it works perfectly fine (;
On Linux it's trying to copy dlls from /usr/x86_64-w64-mingw32/bin/ which don't exist of course.
Some of them exist - these are toolchain-specific and will be copied. Some of them don't exist - these are Windows-specific and won't be copied. This is fine.
Will there ever be any runtime dlls required? Shouldn't it produce "static" executables?
This may depend on your toolchain configuration. On ArchLinux (which I'm using) almost everything is dynamic. The command above copies just libwinpthread-1.dll
now, but I'm almost sure some time ago it copied a little bit more. Maybe its because I now don't have mingw-w64-termcap
installed?
Otoh it does not copy sources/python-2.7.16.amd64/python27.dll which it probably should (?) to produce a self-contained package.
To use python-enabled GDB you will need a full python installation anyway. At least that's my understanding, I never managed to use this python-enabled GDB variant on Windows, so I may be completely wrong. But I don't have any specific opinion here so I'm open to change that.
from bleeding-edge-toolchain.
The quotes are incorrect.
You need to be more specific, as in here it works perfectly fine (;
Referring to the sed part. Updated it.
Will there ever be any runtime dlls required? Shouldn't it produce "static" executables?
This may depend on your toolchain configuration. On ArchLinux (which I'm using) almost everything is dynamic. The command above copies just
libwinpthread-1.dll
now, but I'm almost sure some time ago it copied a little bit more. Maybe its because I now don't havemingw-w64-termcap
installed?
I see. Are there toolchains without a static winpthread? If not maybe one should pass something like -static -static-libgcc -static-libstdc++
.
Otoh it does not copy sources/python-2.7.16.amd64/python27.dll which it probably should (?) to produce a self-contained package.
To use python-enabled GDB you will need a full python installation anyway. At least that's my understanding, I never managed to use this python-enabled GDB variant on Windows, so I may be completely wrong. But I don't have any specific opinion here so I'm open to change that.
Not sure about that either.
from bleeding-edge-toolchain.
Are there toolchains without a static winpthread?
Well, there is /usr/i686-w64-mingw32/lib/libwinpthread.a
in my toolchain, so maybe the options you propose would indeed help. Will try.
from bleeding-edge-toolchain.
Related Issues (16)
- Why not Makefile based? HOT 6
- -flto -g fails HOT 6
- Dwarf Error: Could not find abbrev number HOT 6
- gdb TUI? HOT 13
- Building also Cortex-A and big-endian Cortex-R / Restart build HOT 40
- Windows file flags HOT 4
- Crosscompile the crosscompiler HOT 5
- Linking issues between Linux and Windows built binaries HOT 5
- Integration with CLion HOT 2
- Python, pushd error HOT 4
- GCC 12.2.0 / MacOS ARM64 HOT 10
- newlib semihosting HOT 2
- build errors on openSUSE Leap 42.2 HOT 5
- Docker HOT 8
- Request that downloads be verified, with GnuPG when available.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bleeding-edge-toolchain.