gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] gm2 make errors?


From: Gaius Mulley
Subject: Re: [Gm2] gm2 make errors?
Date: Sat, 10 May 2014 10:58:30 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

Charles Bradshaw <address@hidden> writes:

Hi Charles,

what happens if, after a make install, you:

$ cd gcc-versionno/gcc/gm2/examples/hello
$ gm2 -g -c hello.mod
$ gm2 -g hello.mod
$ ./a.out

regards,
Gaius



> More info:
>
> I added a -B path to my gm2 .... hello.mod command, as follows, then I
> get a different error:
>
> $ gm2 -g -I. -B /home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/gm2
> -fmakeall hello.mod
>
> gm2 -c -fmakeall0 -B -g -fonlylink -fobject-path=.
> -ftarget-ar=/usr/bin/ar -ftarget-ranlib=/usr/bin/ranlib -fmakeall -I.
> -I/home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/gm2/pim hello.mod
> gm2cc: error trying to exec 'cc1plus': execvp: No such file or directory
>
> A search for execvp produces:
>
> $ locate execvp
> /home/brad/GM2/scratch-area/build-4.7.3/i686-pc-linux-gnu/libgcc/_gcov_execvp.dep
> /home/brad/GM2/scratch-area/build-4.7.3/i686-pc-linux-gnu/libgcc/_gcov_execvp.o
> /usr/lib/perl5/auto/POSIX/execvp.al
>
> I'm clutching at straws with:
>
> $ gm2 -print-search-dirs
> install: /home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/
> programs:
> =/home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/i686-pc-linux-gnu/4.7.3/:/home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/:/home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/:/home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/:/home/brad/opt/lib/gcc/i686-pc-linux-gnu/:/home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/:/home/brad/opt/lib/gcc/i686-pc-linux-gnu/:/home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/i686-pc-linux-gnu/4.7.3/:/home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/bin/
> libraries:
> =/home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/i686-pc-linux-gnu/4.7.3/:/home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/:/home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/:/home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/lib/i686-pc-linux-gnu/4.7.3/:/home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../../i686-pc-linux-gnu/lib/:/home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../i686-pc-linux-gnu/4.7.3/:/home/brad/opt/lib/gcc/i686-pc-linux-gnu/4.7.3/../../../:/lib/i686-pc-linux-gnu/4.7.3/:/lib/:/usr/lib/i686-pc-linux-gnu/4.7.3/:/usr/lib/
> Which produces some very funny looking output, several paths repeated!
>
>
> Are these deep bugs or am I doing something wrong?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]