Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Do I need to install Cygwin to use CodeSourcerys GNU Toolchains on Windows?

0
Posted

Do I need to install Cygwin to use CodeSourcerys GNU Toolchains on Windows?

0

No, Sourcery G++ does not require Cygwin. You can use Cygwin, but you do not have to do so. Because CodeSourcery’s toolchains do not use Cygwin, they will print path names using the usual Windows conventions (e.g., using drive letters and backslashes), and will not understand Cygwin’s synthetic mount points. You can use the cygpath command to translate Cygwin path names into standard Windows pathnames. For example, if you are using Cygwin shell, you might wish to invoke the toolchains like: m68k-elf-gcc -c $(cygpath -w /path/to/file.c) to compile file.c. Sourcery G++ can also automatically translate Cygwin paths for you. If you set the CYGPATH environment variable, Sourcery G++ will try all pathnames first as an ordinary Windows path, and, then, if the path does not exist, as a Cygwin path. If you set CYGPATH to the empty string, Sourcery G++ will use the cygpath in your PATH to perform the translation. If you set CYGPATH to a non-empty string, it will use the value of the environment

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123