Re: Admin privileges
On 2020-04-04 05:24, Eliot Moss wrote: On 4/3/2020 9:55 PM, Phoenix Soul via Cygwin wrote: > The setup-x86_64.exe requires admin priveleges. Is it possible to put it > into a ZIP file for use? Dear Phoenix -- While I'm not 100% sure what you're really asking, I think the answer is "no". Cygwin is not a single thing so much as a key library plus a whole suite of programs ported from Linux and linked against that library. You pick and choose which packages you want to install. The "setup" program is what you ue to do that, then it downloads and installs the packages. You also use it to update things as packages evolve (and sometimes new packages are added). It is possible to install cygwin and the required packages from a local repository with the --local-install and the --local-package-dir command line options If your underlying question is "Can I install Cygwin without using admin privileges, and if so, how do I do it?", that is answered in the FAQ, here: https://cygwin.com/faq.html#faq.setup.noroot Best wishes - Eliot Moss -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Using ARM GNU GCC with Cygwin
Hey all, I've never used Cygwin much in the past for compiling let alone cross-compiling to another arch. I've been playing with ARM GNU GCC and some examples from nordic semiconductor for some of their demo boards (The Thingy) The make file that comes with the project includes source files using the (abspath ../main.c) (as one example) which GCC really seems to hate. The output from GCC is the full path (/home/bkamen/workspace-nordic/.) right down to the file and gcc tells me it can't find the file. if I change the mail file to use a relative path, gcc can find that... but ultimately I'm trying to understand the issue than just patch around it. I'm using the arm-gcc from the developer.arm.com website. Is there something else I'm missing? What files can I offer (like the makefile) that can help determine the issue? Thanks, -Ben -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Using ARM GNU GCC with Cygwin
On 4/4/2020 5:00 AM, Ben wrote: > I've been playing with ARM GNU GCC and some examples from nordic semiconductor for some of their > demo boards (The Thingy) Sounds as if that is a Windows program, not a Cygwin or Linux program. > The make file that comes with the project includes source files using the (abspath ../main.c) (as > one example) which GCC really seems to hate. > The output from GCC is the full path (/home/bkamen/workspace-nordic/.) right down to the file > and gcc tells me it can't find the file. If your gcc is a Windows gcc then it wants a Windows path. > if I change the mail file to use a relative path, gcc can find that... but ultimately I'm trying to > understand the issue than just patch around it. This goes along with my theory. > I'm using the arm-gcc from the developer.arm.com website. > > Is there something else I'm missing? What files can I offer (like the makefile) that can help > determine the issue? You can fix the Makefile to pass Windows paths. The cygpath tool and make's $(shell ...) command might be useful. But I also wonder if maybe the mingw environment is more suited to this work, or finding a Windows version of make. Perhaps there are others here who can clarify or add to this ... EM -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: How to make a package request
On 4/4/20 3:55 AM, Marco Atzeri via Cygwin wrote: > Am 03.04.2020 um 22:08 schrieb Pander via Cygwin: >> Hi all, >> >> How can I make a package request for Nuspell? >> >> Nuspell is a spell checking library and command-line tool written in >> modern C++, see https://nuspell.github.io/ and >> https://github.com/nuspell/nuspell/wiki/Nuspell-packaged-binaries >> >> Thanks, >> >> Pander >> > > Are you offering yourself as maintainer ? > https://cygwin.com/packaging-contributors-guide.html Tempting but no, I already maintain packages for several platforms. See https://github.com/nuspell/misc-nuspell/tree/master/packaging The files there will help packaging for cygwin. Packaging Nuspell is similar to Hunspell, but more easy as Nuspell uses CMake. Recently, Enchant is supporting Nuspell and now I am working on the integration with Firefox. With the support of Mozilla, we try to be a drop-in replacement for Hunspell and to have better performance and maintanability. > > > currently we have already aspell and hunspell > as general purpose spell checkers The functionality of Aspell is very inferior to that of Hunspell and Nuspell. Hunspell is very hard to maintain and extend and sometimes has security issues as it has been written in an older form of C++. If you are interested, here is more on the subject: https://archive.fosdem.org/2016/schedule/event/integrating_spell_and_grammar_checking/ https://archive.fosdem.org/2019/schedule/event/nuspell/ https://fosdem.org/2020/schedule/event/clc_nuspell_version_3_of_the_new_spell_checker/ Best, Pander > > Regards > Marco > > -- > Problem reports: https://cygwin.com/problems.html > FAQ: https://cygwin.com/faq/ > Documentation: https://cygwin.com/docs.html > Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Protecting .netrc
Hi. No need to say that putting passwords in plain text file is a bad idea. But if I use .netrc, wouldn't below be a bit (lot?) safer? Assuming I have a good passphrase on my key. It seems so simple, that I fear I am not getting anything out of it. Morten #!/bin/sh # Install utils/gnupg2 # gpg2 --generate-key # mkdir ~/secrets # gpg2 -e -r y...@email.com <~/.netrc >~/secrets/netrc.enc # rm ~/.netrc # mkfifo ~/.netrc while true ; do gpg2 -d <~/secrets/netrc.enc >~/.netrc done -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Using ARM GNU GCC with Cygwin
On 2020-04-04 02:00, Ben wrote: Is there something else I'm missing? That by cross-compiling for your targets on Cygwin instead of a real POSIX OS, you will something like double your compile times, if not more. Why would you involve Cygwin in a development activity whose target isn't POSIX on Windows. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: WSL symbolic links
Hello, I tried the last snapshot (not announced) dated 20200403, and the new symbolic links don’t seem to work properly: % mkdir test % cd test % mkdir foo % cp /usr/bin/ls.exe foo/ls.exe % foo/ls foo % foo/ls.exe foo % ln -s foo bar % bar/ls bar/ls: Permission denied. % bar/ls.exe bar/ls.exe: Permission denied. % I’m on Windows 7, on a ntfs disk (binary,posix=0,user,nomount,auto). Regards, Denis Excoffier. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Using ARM GNU GCC with Cygwin
On 4/4/20 5:23 AM, Eliot Moss wrote: On 4/4/2020 5:00 AM, Ben wrote: > I've been playing with ARM GNU GCC and some examples from nordic semiconductor for some of their > demo boards (The Thingy) Sounds as if that is a Windows program, not a Cygwin or Linux program. > The make file that comes with the project includes source files using the (abspath ../main.c) (as > one example) which GCC really seems to hate. > The output from GCC is the full path (/home/bkamen/workspace-nordic/.) right down to the file > and gcc tells me it can't find the file. If your gcc is a Windows gcc then it wants a Windows path. > if I change the mail file to use a relative path, gcc can find that... but ultimately I'm trying to > understand the issue than just patch around it. This goes along with my theory. > I'm using the arm-gcc from the developer.arm.com website. > > Is there something else I'm missing? What files can I offer (like the makefile) that can help > determine the issue? You can fix the Makefile to pass Windows paths. The cygpath tool and make's $(shell ...) command might be useful. But I also wonder if maybe the mingw environment is more suited to this work, or finding a Windows version of make. Yea, that's what I figured. I thought I would try it and see how it worked out -- and it was so close... that I figured it'd be worth asking if anyone had worked with doing something similar. Cheers, -Ben -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Using ARM GNU GCC with Cygwin
On 4/4/20 9:32 AM, Kaz Kylheku wrote: On 2020-04-04 02:00, Ben wrote: Is there something else I'm missing? That by cross-compiling for your targets on Cygwin instead of a real POSIX OS, you will something like double your compile times, if not more. Why would you involve Cygwin in a development activity whose target isn't POSIX on Windows. The make files do differentiate between windows and posix. And the compiler is supplied by the GCC folks for Windows as well as Linux/Unix. I just thought I'd try it out. It's so close to working, I thought that'd be neat. My main linux system is scheduled for a major upgrade (CentOS 6 to 8). So i thought I'd see how well gcc for arm on windows played with Cygwin. Cheers, -Ben -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Using ARM GNU GCC with Cygwin
On 2020-04-04 16:32, Kaz Kylheku via Cygwin wrote: On 2020-04-04 02:00, Ben wrote: Is there something else I'm missing? That by cross-compiling for your targets on Cygwin instead of a real POSIX OS, you will something like double your compile times, if not more. Why would you involve Cygwin in a development activity whose target isn't POSIX on Windows. Most strange comment I have read... With your reasoning why bother with cygwin at all for any reason? I do cross compiling all the time in cygwin and the reason is of course to not have to deal with windows paths and what not plus you have access to all the build tools like make binutils grep sed autotools. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Using ARM GNU GCC with Cygwin
On 4/4/20 1:58 PM, Åke Rehnman via Cygwin wrote: I do cross compiling all the time in cygwin and the reason is of course to not have to deal with windows paths and what not plus you have access to all the build tools like make binutils grep sed autotools. Are you doing any arm compilation? I'd be amused to get this to work on Windows (under Cygwin). Cheers, -Ben -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Using ARM GNU GCC with Cygwin
On 2020-04-04 11:00, Ben wrote: Hey all, I've never used Cygwin much in the past for compiling let alone cross-compiling to another arch. I've been playing with ARM GNU GCC and some examples from nordic semiconductor for some of their demo boards (The Thingy) The make file that comes with the project includes source files using the (abspath ../main.c) (as one example) which GCC really seems to hate. The output from GCC is the full path (/home/bkamen/workspace-nordic/.) right down to the file and gcc tells me it can't find the file. if I change the mail file to use a relative path, gcc can find that... but ultimately I'm trying to understand the issue than just patch around it. Without know how your make file looks it seems the paths are absolute and wrong... gcc usually don't have any problems with full absolute paths. The reason I think the paths are wrong is it does not start with /cygdrive/c/your_dir/ I'm using the arm-gcc from the developer.arm.com website. It is the same I use. Is there something else I'm missing? What files can I offer (like the makefile) that can help determine the issue? Look at the failing command and make sure what ever paths and files are used are correct. /Ake -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Using ARM GNU GCC with Cygwin
On 2020-04-04 21:11, Åke Rehnman wrote: On 2020-04-04 11:00, Ben wrote: Hey all, I've never used Cygwin much in the past for compiling let alone cross-compiling to another arch. I've been playing with ARM GNU GCC and some examples from nordic semiconductor for some of their demo boards (The Thingy) The make file that comes with the project includes source files using the (abspath ../main.c) (as one example) which GCC really seems to hate. The output from GCC is the full path (/home/bkamen/workspace-nordic/.) right down to the file and gcc tells me it can't find the file. if I change the mail file to use a relative path, gcc can find that... but ultimately I'm trying to understand the issue than just patch around it. Without know how your make file looks it seems the paths are absolute and wrong... gcc usually don't have any problems with full absolute paths. The reason I think the paths are wrong is it does not start with /cygdrive/c/your_dir/ I'm using the arm-gcc from the developer.arm.com website. It is the same I use. I have to correct my self here. That compiler is a Windows PE executable and it will not take any posix paths... The one I used in the end was I compiled the arm-gcc from the sources my self Is there something else I'm missing? What files can I offer (like the makefile) that can help determine the issue? Look at the failing command and make sure what ever paths and files are used are correct. /Ake -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
[ANNOUNCEMENT] Updated: Perl distributions
The following Perl distributions have been updated to their latest version on CPAN or rebuilt for perl-5.30, respectively: x86/x86_64 -- perl-common-sense-3.75-1 perl-Tk-804.035-1 noarch -- perl-IO-Socket-SSL-2.068-1 perl-IPC-System-Simple-1.30-1 perl-Mojolicious-8.36-1 perl-SGMLSpm-1.1-1 perl-Test-Compile-2.4.0-1 perl-Test-Simple-1.302174-1 perl-Test-Warnings-0.030-1 -- *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: cygwin-announce-unsubscribe-you=yourdomain@cygwin.com If you need more information on unsubscribing, start reading here: http://sourceware.org/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Using ARM GNU GCC with Cygwin
Am 04.04.2020 um 21:10 schrieb Ben: On 4/4/20 1:58 PM, Åke Rehnman via Cygwin wrote: I do cross compiling all the time in cygwin and the reason is of course to not have to deal with windows paths and what not plus you have access to all the build tools like make binutils grep sed autotools. Are you doing any arm compilation? I'd be amused to get this to work on Windows (under Cygwin). Cheers, -Ben why ? I did 15 years ago, and it worked fine. Regards Marco -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Using ARM GNU GCC with Cygwin
Greetings, Kaz Kylheku! > On 2020-04-04 02:00, Ben wrote: >> Is there something else I'm missing? > That by cross-compiling for your targets on Cygwin instead of a real > POSIX OS, you will something like double your compile times, if not > more. Proof, please. -- With best regards, Andrey Repin Sunday, April 5, 2020 0:39:57 Sorry for my terrible english... -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
Re: Using ARM GNU GCC with Cygwin
On 4/4/2020 5:40 PM, Andrey Repin wrote: Greetings, Kaz Kylheku! On 2020-04-04 02:00, Ben wrote: Is there something else I'm missing? That by cross-compiling for your targets on Cygwin instead of a real POSIX OS, you will something like double your compile times, if not more. Proof, please. I would agree with the statement, at least subjectively. There are various things that I build on Linux, even in Linux virtual machines running on the same Windows laptop, and Cygwin builds take perceptibly longer. Some of this is down to the cost of fork() no doubt -- configure, and perhaps gcc itself, tend to spin off lots of short jobs, which tends to expose the fork overhead. Not sure if anything else is slower. Obviously the main part of the computation in the compiler is the same. Regards - Eliot Moss -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple
[ANNOUNCEMENT] Updated: geos-3.8.0-1
Version 3.8.0-1 of geos (source only) libgeos-devel libgeos_3_8_0(C++ lib, SONAME Bump) libgeos_c1 (C API) have been uploaded for cygwin. GEOS (Geometry Engine - Open Source) is a C++ port of the Topology Suite (JTS). As such, it aims to contain the complete functionality of JTS in C++. This includes all the OpenGIS Simple Features for SQL spatial predicate functions and spatial operators, as well as specific JTS enhanced topology functions. CHANGES Latest upstream release https://trac.osgeo.org/geos/browser/git/NEWS?rev=3.8.0 NOTES SONAME bump for C++ interface is a peculiar design decision https://lists.osgeo.org/pipermail/geos-devel/2017-January/007643.html The C++ Library is only used by the C Library that has stable API, Application should only use the C Interface. HOMEPAGE https://trac.osgeo.org/geos/ Regards Marco Atzeri If you have questions or comments, please send them to the cygwin mailing list at: cygwin (at) cygwin (dot) com . -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple