This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re make install error on cygwin


Yes, I think you're right. There is a problem with the cp
command on cygwin.

When I run the following command in
the /opt/compile/objdir/fastjar directory, I have :

$ cp jar /usr/local/gcc/bin/#inst.1423#
cp: `jar' and `/usr/local/gcc/bin/#inst.1423#' are the same
file
$

only if the jar.exe exists in that directory. If not, I
have a no such file or directory

I think, I found a workaround by create a symbolic link in
that directory

$ ln --symbolic jar.exe jar

After that, make install goes right with no errors.

But when I run gcj, I have another problem

$ gcj --main=Hello -o Hello Hello.java
gcj: libgcj.spec: No such file or directory
$

And I did not found libgcj in the tree

PS : I post a message on the cygwin mailing list

Hervé



> -------Message d'origine-------
> De : Alexandre Oliva <aoliva@redhat.com>
> Date : 29/05/2001 09:48:59
>
> On May 29, 2001, Hervé LEMOINE wrote:
>
> > /bin/sh /opt/compile/gcc-3.0-20010527/install-sh -c
jar /usr/local/gcc/bin/jar
> > cp: `jar' and `/usr/local/gcc/bin/#inst.678#' are the
same file
>
> Try to run the command above, adding `-x' after /bin/sh.
It seems
> like some problem in install-sh or in Cygwin. Perhaps
posting your
> problem to a Cygwin-specific mailing list would be more
appropriate?
>
> --
> Alexandre Oliva Enjoy Guarana', see
http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer aoliva@
{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp oliva@
{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist *Please* write to mailing
lists, not to me
>
>
______________________________________________________
E-mail gratuit - Multimania - http://www.multimania.fr


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]