Re: link problem

2008-03-28 Thread Alberto Luaces
El Viernes 28 Marzo 2008ES 11:05:12 Vad N escribió: > Hello > > I have a makefile > > main: libmain.a > $(LINK) $^ -o $@ > > The above makefile yield following: > libmain.a -o main > make: libmain.a: command not found > make *** [main] Error 127 > > I think make cannot recognize a $(LINK)

Re: Help Needed.

2008-04-11 Thread Alberto Luaces
Please read: http://www.gnu.org/software/make/manual/make.html and http://www.oreilly.com/catalog/make3/ to know how to use Make. If you want to just compile CIMPLE, no Makefile writing is needed because there is already one in the sources. El Viernes 11 Abril 2008ES 09:06:59 Nagaraj P escri

Re: what to download and where can I find more infomation

2008-04-17 Thread Alberto Luaces
El Jueves 17 Abril 2008ES 13:51:47 Varuna Seneviratna escribió: > I want to learn GNUmake But where can I find the information describing > what to download.This page >  http://www.gnu.org/software/make/  displays this address ftp.gnu.org > saying that GNUmake can be downloaded there But I can not

Re: what to download and where can I find more infomation

2008-04-17 Thread Alberto Luaces
Then you can download Mingw make: http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=23918 El Thursday 17 April 2008 14:34:04 escribió: > I am using WindosXP pro and I need the exeutable > > On Thu, Apr 17, 2008 at 5:44 PM, Alberto Luaces <[EMAIL PROTECTED

Re: progress bar

2008-09-10 Thread Alberto Luaces
El Miércoles 10 Septiembre 2008ES 05:51:39 kalyan escribió: > Hi list, > I have been looking for a way to show to the user the status of the > compilation (like 40% complete) in my build system. > I know its tricky ( > http://lists.gnu.org/archive/html/help-make/2006-09/msg00026.html) but has > any

Re: Cross compiling without ./configure

2010-03-26 Thread Alberto Luaces
mahmoodn writes: > Hi, > My host platform is ubuntu x86 and I have the source code of a benchmark and > want to compile for a solaris target. The source code however does not > contain any "configure" file. In the solaris I run "uname -a" and get this > result: > > SunOS Abisko 5.9 Generic_118558-

Re: Cross compiling without ./configure

2010-03-26 Thread Alberto Luaces
mahmoodn writes: > What do you mean by "Solaris cross > compiler"? is it a tool that should be used in the host or target machine? A compiler that runs on Ubuntu and generates Solaris binaries. Otherwise you'd have to do the compilation in your Solaris system. -- Alberto __

Re: Cross compiling without ./configure

2010-03-26 Thread Alberto Luaces
mahmoodn writes: > Still I don't understand:confused: I have gcc and g++ installed in my > ubuntu (host machine). I have used them for my regular compilations in the > host machine. If I'm not mistaken, binaries compiled with your Ubuntu's gcc and g++ won't run in Solaris. Can you confirm thi

Re: Re-evaluate date of file after updating?

2010-03-29 Thread Alberto Luaces
Norbert Nemec writes: > This behaves nearly as needed, but unfortunately, the rule for prog.o > does not care whether lib.mod has actually changed. It always > recreates prog.o when lib.f90 was modified. There are some papers about this very subject. Maybe they are useful to you: http://www.nicd

Re: Make and Fortran modules

2010-03-30 Thread Alberto Luaces
Noel David Torres Taño writes: > Hello all: > > Fortran modules are made by compiling source code, at the same time object > files are. Thus, > > gfortran -o module.o -c module.F95 > > produces TWO files, module.o AND module.mod . > > But, the problem is that in a large project using modules, som

Re: Make and Fortran modules

2010-03-30 Thread Alberto Luaces
Oleksandr Gavenko writes: > On 2010.03.30 16:27, Alberto Luaces wrote: >> Yesterday I posted a link to some information >> about the issue. > Your link seems dead, so I found it into wayback machine: > > http://web.archive.org/web/20080220160855/http://www.nicdan.i

Re: Make and Fortran modules

2010-04-06 Thread Alberto Luaces
Noel David Torres Taño writes: > Gracias, Alberto, but I'm not talking about writing the dependences, but > avoiding unnecesary work. My Makefile depends on source code files, 'cos the > dependences are auto-extracted, thus I want to avoid as much $(MAKE) calls as > possible. > > What I'm doing

Re: Parallel Execution, what does it really mean?

2010-10-13 Thread Alberto Luaces
ali hagigat writes: > Does make consider one execution software thread for each command of a > recipe? or it will use for example all 4 cores of a quad-core > processor(like by -j8)? If I'm not mistaken, it will execute _recipes_ in parallel, not commands. -- Alberto _

Re: unfortunate

2010-10-17 Thread Alberto Luaces
ali hagigat writes: > 4.5 Phony Targets > ... This can be overcome by adding shell commands to note the error > and exit, but then > it will do so even if make is invoked with the -k option, which is > unfortunate. Second, and > perhaps more importantly, you cannot take advantage of make’s ability

Re: UHD Installation- Problem

2011-03-10 Thread Alberto Luaces
"Thomas Hauer" writes: > gr_uhd_usrp_source.cc -fPIC -DPIC -o .libs/gr_uhd_usrp_source.o In file > included from gr_uhd_usrp_source.cc:22:0: > /home/ICIE/hauer/gnuradio/gnuradio/gr-uhd/include/gr_uhd_usrp_source.h:157:1 > 3: > error: ‘sensor_value_t’ in namespace ‘uhd’ does not name a type There

Re: Parallel build optimization

2011-09-23 Thread Alberto Luaces
Jaideep Mukherjee writes: > Hi > > I have a parallel build working finally. > > I noticed that at some times during the parallel build the load is > less than max load, then after some time goes back up to max load. I > am looking for a way to get make to tell me the rule that cannot be > started

Re: Variable with name of current target (from command line)?

2013-10-10 Thread Alberto Luaces
Michael Weise writes: >> You want the $@ variable. > > No, I dont. Yes, you do: %: echo $@ -- Alberto ___ Help-make mailing list Help-make@gnu.org https://lists.gnu.org/mailman/listinfo/help-make

Re: [Ubuntu 14.04 x86_64] Unable to install gcc make 3.82

2015-11-02 Thread Alberto Luaces
Rahul Muthoo writes: > I had just installed Ubuntu 14 and this is the make version that i got. Ubuntu 14.04 ships with make 3.81, not "2.75": http://packages.ubuntu.com/trusty/make -- Alberto ___ Help-make mailing list Help-make@gnu.org https://lis

Re: Make and Clusters

2017-10-10 Thread Alberto Luaces
David Delahaye writes: > Hello, > > I wonder how the make command is compatible with clusters. I know the > "-j" option, which allows us to run several jobs simultaneously and > uses the several cores of a given processor. But if we have several > nodes of computation of a cluster, is the command

Re: Rule producing several targets at once?

2018-02-28 Thread Alberto Luaces
Sébastien Hinderer writes: > Dear all, > > Is it possible to tell make that one produce several files at once? > > Assume the following example: > > b c: a > cp a b > cp a c > You could just all: b c b c: a cp a $@ "all" will be executed by default since it is the first

Re: Rule producing several targets at once?

2018-02-28 Thread Alberto Luaces
Sébastien Hinderer writes: > Dear Alberto, > > Many thanks for your response. > > The comand was jsut an example, the real world one si different. Sorry > for the confusion it may have introduced. > Hi Sébastien. No problem! Just post an example of what are you trying to do exactly, and we will

Problems with VPATH and custom rules

2007-11-12 Thread Alberto Luaces
Hello, I'm having trouble when trying to build some files stored on a subdirectory. The problem arises when the file to be built depends on a custom building rule. I have created a testcase, here are the items on my system: .: B Makefile c.f90 ./B: a.cpp b.f90 This is my Makefile: VPATH =

Re: Problems with VPATH and custom rules

2007-11-13 Thread Alberto Luaces
El Monday 12 November 2007 21:40:16 Eli Zaretskii escribió: > > From: Alberto Luaces > > Date: Mon, 12 Nov 2007 12:52:49 +0100 > > > > %.o: %.[fF]90 > > Does it help to replace the above with this: > > %.o: %.f90 > > ? Yes, it works! I did that because