public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problems with make
@ 2002-01-28  3:31 kabir.patel
  0 siblings, 0 replies; 9+ messages in thread
From: kabir.patel @ 2002-01-28  3:31 UTC (permalink / raw)
  To: me; +Cc: gcc-help




Dear all,

I am trying to use a makfile to compile a simple piece of C.

The makefile has the following :

ex2: ex1.c
        gcc ex1.c -o ex2

and nothing else.

When I run >>make makefile

I always get the same message, namely:

make: Nothing to be done for `makefile'.

This occurs even when I edit the file, or use additional options such as -W, or
when I use 'touch'.

When I run the command manually (gcc ex1.c -o ex2) it compiles fine.

Could somebody please tell me why this might be the case?

Thanks


*******************Internet Email Confidentiality Footer*******************


Privileged/Confidential Information may be contained in this message.  If you
are not the addressee indicated in this message (or responsible for delivery of
the message to such person), you may not copy or deliver this message to anyone.
In such case, you should destroy this message and kindly notify the sender by
reply email. Please advise immediately if you or your employer does not consent
to Internet email for messages of this kind.  Opinions, conclusions and other
information in this message that do not relate to the official business of my
firm shall be understood as neither given nor endorsed by it.


^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <420931cd.73b89a7f.78a5.30baSMTPIN_ADDED@mx.gmail.com>]
* problems with make...
@ 2005-02-09  1:46 Jupp Tscheak
  0 siblings, 0 replies; 9+ messages in thread
From: Jupp Tscheak @ 2005-02-09  1:46 UTC (permalink / raw)
  To: gcc-help

Hi,

we're building our project with automatic generated Makefiles (using qt's
.pro files, although
some modules have nothing to do with qt!). The problem is that if a static
linked library has changed,
it says "nothing to be done for..." (binary file is older than static lib so
it should be relinked).
Does anyone know how to avoid this behavior (any flags for g++)?

Thanks in advance
 
Jupp Tscheak

^ permalink raw reply	[flat|nested] 9+ messages in thread
* problems with make...
@ 2005-02-09  1:46 Jupp Tscheak
  0 siblings, 0 replies; 9+ messages in thread
From: Jupp Tscheak @ 2005-02-09  1:46 UTC (permalink / raw)
  To: gcc-help

Hi,

we're building our project with automatic generated Makefiles (using qt's
.pro files, although
some modules have nothing to do with qt!). The problem is that if a static
linked library has changed,
it says "nothing to be done for..." (binary file is older than static lib so
it should be relinked).
Does anyone know how to avoid this behavior (any flags for g++)?

Thanks in advance
 
Jupp Tscheak

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <616BE6A276E3714788D2AC35C40CD18D393F99@whale.softwire.co.uk>]
[parent not found: <616BE6A276E3714788D2AC35C40CD18D393F88@whale.softwire.co.uk>]
* problems with make
@ 1999-12-23  5:27 Adriano Holanda
  1999-12-31 22:24 ` Adriano Holanda
  0 siblings, 1 reply; 9+ messages in thread
From: Adriano Holanda @ 1999-12-23  5:27 UTC (permalink / raw)
  To: gcc-help

My system is: Solaris 7 (SPARC)

I have installed binaries gcc in my machine, but some tasks it doesn't
make, like install some perl modules e some programs. So i decided install
the source gcc-2.95.2 and when I run make, this happened:

//final of the make output

  /usr/local/gcc-2.95.2/libiberty/vfork.c -o pic/vfork.o
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I/usr/local/gcc-2.95.2/libiberty/../include
/usr/local/gcc-2.95.2/libiberty/vfork.c
rm -f libiberty.a
ar rc libiberty.a \
  argv.o choose-temp.o concat.o cplus-dem.o fdmatch.o fnmatch.o getopt.o
getopt1.o getruntime.o hex.o floatformat.o objalloc.o obstack.o pexecute.o
spaces.o splay-tree.o strerror.o strsignal.o xatexit.o xexit.o xmalloc.o
xstrdup.o xstrerror.o  asprintf.o mkstemps.o setenv.o sigsetmask.o
vasprintf.o vfork.o 
make[1]: ar: Command not found
make[1]: *** [libiberty.a] Error 127
make[1]: Leaving directory `/usr/local/gcc-2.95.2/obj/libiberty'
make: *** [all-libiberty] Error 2

How can I install gcc 2.95.2 source without this error?

Thanks,

Adriano.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2005-02-08 21:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-28  3:31 Problems with make kabir.patel
     [not found] <420931cd.73b89a7f.78a5.30baSMTPIN_ADDED@mx.gmail.com>
2005-02-09  9:11 ` problems " corey taylor
  -- strict thread matches above, loose matches on Subject: below --
2005-02-09  1:46 Jupp Tscheak
2005-02-09  1:46 Jupp Tscheak
     [not found] <616BE6A276E3714788D2AC35C40CD18D393F99@whale.softwire.co.uk>
2002-01-28  4:28 ` Problems " Rupert Wood
     [not found] <616BE6A276E3714788D2AC35C40CD18D393F88@whale.softwire.co.uk>
2002-01-28  3:41 ` Rupert Wood
2002-01-28  4:16   ` Momchil Velikov
1999-12-23  5:27 problems " Adriano Holanda
1999-12-31 22:24 ` Adriano Holanda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).