10

Cygwin make and packages in PATH

 3 years ago
source link: https://www.codesd.com/item/cygwin-make-and-packages-in-path.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Cygwin make and packages in PATH

advertisements

I'm trying to run cygwin packages from a command prompt in windows within a makefile. I manually put the cygwin packages that need in separate folder added them to the PATH environment variable. I able to execute the packages straight from the command line and they all work as intended, but when I add the bash line to the makefile (example: "rm -f file.o"), it just straight echos it back when I run 'make clean' and doesn't execute rm even though it works from the command.

Anyone have an idea as to why it's not working from within the make file?

edit: here is the part of the code

.PHONY: clean
# Other Targets
clean:
    xargs -a rm.txt rm -f
    banner -c @ done


If it runs inside bash, why don't you call "bash.exe -c make"?

Related Articles

How can I use GruntFile.coffee and package.json to extract / make / recover / ?? the example files Lungo.js?

I am wanting to try out the Lungo.js examples from here : https://github.com/tapquo/Lungo.js, however the index.html in the example directory is expecting files in the components and package directories and, while those directories do exist as part o

cygwin and windows git - path confusion

I need help to use git installed under windows to work well from cygwin shell. I see that git is not interpreting path well when invoked under cygwin shell. $ git --version git version 1.8.0.msysgit.0 $ git config --global --add user.name miten.mehta

Installing the Perl module on cygwin (make failed)

I need Digest::SHA1 for a Perl script that I'd like to run on cygwin. However, I have to configure it using CPAN. Everything seems fine until I run cpan[1]> install Digest::SHA1. Stuff goes on, then I'm given the following error: /bin/sh: gcc-4: comm

PhoneGap for Symbian - & ldquo; make & rdquo; package fail

I am trying to make a PhoneGap package for Symbian. I've installed Cygwin with the "make" package. and when I'm typing "make on the symbian folder it gives me this error: cp lib/phonegap.js framework/www/phonegap.js cd framework/ &&

How to configure a & ldquo; Module & rdquo; Order in unix to add a software package to $ PATH?

I use a lot of computing clusters and these often use a module system for making software packages available. Basically, you use the module command like module load sample_software and the sample_software path is added to $PATH. On a cluster, this co

What is the difference between make and gcc?

The last sentence in the article caught my eye [F]or C/C++ developers and students interested in learning to program in C/C++ rather than users of Linux. This is because the compiling of source code is made simple in GNU/Linux by the use of the 'make

How to create and resolve relative paths?

My app open file in subdirectory of directory where it is executed, subdirectory is called sample and it contains files: example.raf (example extension, non significant) background.gif example.raf contains relative path to background.gif (in this cas

Automatically edit Javascript and CSS file paths

I am organizing my css and javascript files in may project. I have a lot of file and it is hard to organize the files. When I drag and drop the css and javascript files to another folder, I must change file references in html files. Is there any plug

How to display a file system tree to the user be able to click and select a path?

Mates, after having a hard time trying to implement a class to enumerate the how filesystem tree I give up triyng to make it work. I have a textbox with a filepath. I want the user to be able to click and from a panel displaying a filesystem tree it

How to save the file path in the database and display the path in the detail page

I am busy with a small project where people can fill in a form which will save the values into a database. Now everything is working fine exept for file upload path. In my database I got three tables person, address and cv (with relations) see pictur

Magento - Change the skin and package in DataBase

I am currently creating a full install script for Magento and Node.js/Grunt I'd like to skip installation steps. One of my goals is to configure skin and package directly without accessing the admin (I know how i can do that in the magento admin) So,

DevOps for ASP.NET MVC: Run a web.config transformation in a separate step, after build and package

I have an ASP.NET MVC app with multiple web.config transforms. I am using TeamCity to build and deploy the application using WebDeploy. I want to be able build and package in Release mode in one TeamCity build. I want a second build to take the packa

Make | And & amp; Do you make sense in java?

Rarely I bump into & and | logic operators in other's codes instead of || and &&. I made a quick research because I never used them and didn't know what is it for. A && B means if A is false, B won't be evaluated and it will return fal

Relationship between the critical path and the longest path

The Critical Path is the essence of solving the parallel precedence-constrained scheduling problem. The problem: Given a set of jobs of specified duration to be completed, with precedence constraints that specify that certain jobs have to be complete

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK