ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dear all,
I have a curiosity.
I want to compile and testing the single tool (in object above)on Git Bash suite for windows SO and produce the .exe file.
I can try use it with gpg & vim.
What do you think about?
Can it be possible or the features are not compatible with Git Bash suite?
I thank you to all for suggestion.
Bye
A.
Yes, please explain what you mean by "Git Bash suite for windows SO", it has no meaning at all to me.
It would be helpful to others if you would provide a better, more complete description of exactly what you are trying to do.
Please review the Site FAQ for guidance in posting your questions and general forum usage. Especially, read the link in that page, How To Ask Questions The Smart Way. The more effort you put into understanding your problem and framing your questions, the better others can help!
Thank to all guys!!!
I mean when I talk to "Git for Windows" a suite with bash and similar tool on cmd.
So taking into account that I test GPG & VIM on this suite, I try to install GCC compilier and I try to make the exe file from pinentry-tty.c for using in VIM editor.
Is it possible for you or I talk about to impossible steps?
Thank you to all for precious assistance.
A.
Thank to all guys!!!
I mean when I talk to "Git for Windows" a suite with bash and similar tool on cmd.
So taking into account that I test GPG & VIM on this suite, I try to install GCC compilier and I try to make the exe file from pinentry-tty.c for using in VIM editor.
Is it possible for you or I talk about to impossible steps?
Thank you to all for precious assistance.
A.
The text I've made bold seems to indicate what you've tried and failed to accomplish.
Still you'll have to give us a lot more information about your attempt.
1. Did you successfully install the GCC compiler? Will it compile and run at least a very simple executable like a Hello World example?
2. What errors did you encounter when you tried to compile pinentry-tty.c and can you also post that code for reference along with the errors?
Hello & a lot of thanks for your prompt reply.
I don't try yet to install the GCC on suite.
I don't know what kind of exact tool I can put into because I see a lot of specific suite.
I let you know when I complete the process.
Could you help me with a suggestion for GCC version that can be used on Git bash for Windows?
Thank you again for precious assistance
A.
First of all git and the compiler does not depend on each other, so most probably if you could successfully install both git and compiler you can successfully build that tool.
But this is a linux forum, so we have probably no experience with all the tools available for windows.
Personally I would suggest you to use cygwin.
I agree with pan64. Git Bash for Windows is merely a tool, not an environment. You do need something like cygwin to provide you with a Linux emulated environment so you can then use GCC from that as a command line option. Bear in mind that GCC for Windows will need to be a pre-compiled binary, (correction) or mostly likely will be a pre-compiled binary versus GCC tools that you would install under a full Linux distribution, be that compiling the tools, or installing using a package manager.
Once again, Git Bash is merely an available way to enter Git commands as you would normally from a command line. It is not a proper environment to use a compiler from.
Thank you to all for helping me!
I saw that "Git Bash" includes Mingw64 shell and if I try to write on "emulated" shell the command tty I see "/dev/pty0".
So,if I compile the souce *.c on Cygwin environment,
do you think that it can be ok?
This pinentry version(tty) is used by me on "vim + gpg" into emulated bash avoiding graphical pop-up without control.
Thank you again for assistance
A.
So,if I compile the souce *.c on Cygwin environment,
do you think that it can be ok?
This pinentry version(tty) is used by me on "vim + gpg" into emulated bash avoiding graphical pop-up without control.
Hmm, that's actually a tricky question. There might be enough differences in Cygwin's tty emulation that would prevent things from working, but on the other hand, there might not be. You'll have to try it and see.
If it doesn't work, you might be able to install git from Cygwin instead.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.