Re: Plan to Update GPC

John Ries <[email protected]> Sat, 30 May 2020 17:15:21 -0700
Newsgroups gmane.comp.compilers.gpc
Message-ID <CAKqWTQJFKmu3dRwmuprA50Na2HCORcYAtXnHR+kvC-LGS3nb1w@mail.gmail.com>
--===============3248714299473364697==
Content-Type: multipart/alternative; boundary="000000000000995d8805a6e693f9"

--000000000000995d8805a6e693f9
Content-Type: text/plain; charset="UTF-8"

We have a solution.  The problem was that I misread the directions and put
the libgpc directory in the wrong place.  However, I did have to hard copy
it into the root of the gcc source directory tree instead of soft linking
it due to confusion over parent directories.  The README should be altered
to reflect this reality.

SAV builds, so I'm happier.  When I'm satisfied that it works, I'll be
ready to try a Mac build.

John L. Ries
26215 197th Ave. SE
Covington, WA  98042
(435) 867-8885


On Sun, May 17, 2020 at 9:54 PM John Ries <[email protected]> wrote:

> Thank you for confirming that clang doesn't change anything.  I'll follow
> the directions above.
>
> John L. Ries
> 26215 197th Ave. SE
> Covington, WA  98042
> (435) 867-8885
>
>
> On Sun, May 17, 2020 at 2:06 PM Waldek Hebisch <[email protected]>
> wrote:
>
>> On Sun, May 17, 2020 at 01:41:01PM -0700, John Ries wrote:
>> > I tried using sum2.diff, but it caused make to look for a non-existent
>> > object file, so it doesn't appear to be necessary under Fedora.  I
>> > therefore backed it out.  Thereon I rebuilt using the system GCC and
>> > searched for something under the built directory with a name resembling
>> > "libgpc.a".  It doesn't exist.
>> >
>> > $ find . -name "*gpc*"
>> > ./gcc/gpc1
>> > ./gcc/xgpc
>> > ./gcc/gpc-run
>> > ./gcc/p/gpcpp.o
>> > ./gcc/p/gpc-lex.o
>> > ./gcc/p/gpc.o
>> > ./prev-gcc/gpc1
>> > ./prev-gcc/xgpc
>> > ./prev-gcc/gpc-run
>> > ./prev-gcc/p/gpcpp.o
>> > ./prev-gcc/p/gpc-lex.o
>> > ./prev-gcc/p/gpc.o
>> >
>> > So it looks like I get to give clang a shot.
>>
>> clang is unlikely to change anything.  First, check that you
>> have correctly setup sources.  When you look at gcc-4.x.x
>> source tree you should see several libsomething subdirectories.
>> For patched gcc in gcc-4.3.6.nn2 directory I see:
>>
>> $ ../gcc-4.3.6.nn2
>>
>> ABOUT-NLS           README.SCO    install-sh    libtool-ldflags
>> COPYING             boehm-gc      intl          libtool.m4
>> COPYING.LIB         compile       libada        ltgcc.m4
>> COPYING3            config        libcpp        ltmain.sh
>> COPYING3.LIB        config-ml.in  libdecnumber  ltoptions.m4
>> ChangeLog           config.guess  libffi        ltsugar.m4
>> ChangeLog.tree-ssa  config.rpath  libgcc        ltversion.m4
>> INSTALL             config.sub    libgfortran   lt~obsolete.m4
>> LAST_UPDATED        configure     libgomp       maintainer-scripts
>> MAINTAINERS         configure.ac  libgpc        missing
>> MD5SUMS             contrib       libiberty     mkdep
>> Makefile.def        depcomp       libjava       mkinstalldirs
>> Makefile.in         fixincludes   libmudflap    move-if-change
>> Makefile.tpl        gcc           libobjc       symlink-tree
>> NEWS                gnattools     libssp        ylwrap
>> README              include       libstdc++-v3  zlib
>>
>> Note 'libgpc' there.  It is not present in gcc sources.  README
>> says:
>>
>> : To build with gcc-4.y copy the libgpc subdirectory into toplevel gcc
>> : directory (that is into gcc-4.y.z) and ...
>>
>> If you forget this step, then 'libgpc' directory above will be
>> missing and clearly there will be no way to make 'libgpc.a'.
>>
>> OTOH if you followd the instruction and 'libgpc' is present, then
>> we will have to examine messages coming from build (it is useful
>> to redirect messages to a file so that one can look at them
>> without re-running the build).
>>
>> --
>>                               Waldek Hebisch
>>
>

--000000000000995d8805a6e693f9
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>We have a solution.=C2=A0 The problem was that I misr=
ead the directions and put the libgpc directory in the wrong place.=C2=A0 H=
owever, I did have to hard copy it into the root of the gcc source director=
y tree instead of soft linking it due to confusion over parent directories.=
=C2=A0 The README should be altered to reflect this reality.</div><div><br>=
</div><div>SAV builds, so I&#39;m happier.=C2=A0 When I&#39;m satisfied tha=
t it works, I&#39;ll be ready to try a Mac build.<br></div><div><br></div><=
div><div><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail=
_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><d=
iv><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div><=
div>John L. Ries</div><div>26215 197th Ave. SE<br></div><div>Covington, WA=
=C2=A0 98042<br></div>(435) 867-8885<br></div></div></div></div></div></div=
></div></div></div></div></div></div></div></div></div><br></div></div><br>=
<div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Sun, Ma=
y 17, 2020 at 9:54 PM John Ries &lt;<a href=3D"mailto:[email protected]"=
>[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,20=
4);padding-left:1ex"><div dir=3D"ltr"><div>Thank you for confirming that cl=
ang doesn&#39;t change anything.=C2=A0 I&#39;ll follow the directions above=
.<br></div><div><br></div><div><div><div dir=3D"ltr"><div dir=3D"ltr"><div>=
<div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=
=3D"ltr"><div><div dir=3D"ltr"><div><div><div>John L. Ries</div><div>26215 =
197th Ave. SE<br></div><div>Covington, WA=C2=A0 98042<br></div>(435) 867-88=
85<br></div></div></div></div></div></div></div></div></div></div></div></d=
iv></div></div></div><br></div></div><br><div class=3D"gmail_quote"><div di=
r=3D"ltr" class=3D"gmail_attr">On Sun, May 17, 2020 at 2:06 PM Waldek Hebis=
ch &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">hebisc=
[email protected]</a>&gt; wrote:<br></div><blockquote class=3D"gmail_quote=
" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);=
padding-left:1ex">On Sun, May 17, 2020 at 01:41:01PM -0700, John Ries wrote=
:<br>
&gt; I tried using sum2.diff, but it caused make to look for a non-existent=
<br>
&gt; object file, so it doesn&#39;t appear to be necessary under Fedora.=C2=
=A0 I<br>
&gt; therefore backed it out.=C2=A0 Thereon I rebuilt using the system GCC =
and<br>
&gt; searched for something under the built directory with a name resemblin=
g<br>
&gt; &quot;libgpc.a&quot;.=C2=A0 It doesn&#39;t exist.<br>
&gt; <br>
&gt; $ find . -name &quot;*gpc*&quot;<br>
&gt; ./gcc/gpc1<br>
&gt; ./gcc/xgpc<br>
&gt; ./gcc/gpc-run<br>
&gt; ./gcc/p/gpcpp.o<br>
&gt; ./gcc/p/gpc-lex.o<br>
&gt; ./gcc/p/gpc.o<br>
&gt; ./prev-gcc/gpc1<br>
&gt; ./prev-gcc/xgpc<br>
&gt; ./prev-gcc/gpc-run<br>
&gt; ./prev-gcc/p/gpcpp.o<br>
&gt; ./prev-gcc/p/gpc-lex.o<br>
&gt; ./prev-gcc/p/gpc.o<br>
&gt; <br>
&gt; So it looks like I get to give clang a shot.<br>
<br>
clang is unlikely to change anything.=C2=A0 First, check that you<br>
have correctly setup sources.=C2=A0 When you look at gcc-4.x.x<br>
source tree you should see several libsomething subdirectories.<br>
For patched gcc in gcc-4.3.6.nn2 directory I see:<br>
<br>
$ ../gcc-4.3.6.nn2<br>
<br>
ABOUT-NLS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0README.SCO=C2=A0 =C2=A0 i=
nstall-sh=C2=A0 =C2=A0 libtool-ldflags<br>
COPYING=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0boehm-gc=C2=A0 =C2=
=A0 =C2=A0 intl=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 libtool.m4<br>
COPYING.LIB=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0compile=C2=A0 =C2=A0 =C2=A0 =
=C2=A0libada=C2=A0 =C2=A0 =C2=A0 =C2=A0 ltgcc.m4<br>
COPYING3=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 config=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 libcpp=C2=A0 =C2=A0 =C2=A0 =C2=A0 ltmain.sh<br>
COPYING3.LIB=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"http://config-ml.in" rel=
=3D"noreferrer" target=3D"_blank">config-ml.in</a>=C2=A0 libdecnumber=C2=A0=
 ltoptions.m4<br>
ChangeLog=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0config.guess=C2=A0 libffi=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ltsugar.m4<br>
ChangeLog.tree-ssa=C2=A0 config.rpath=C2=A0 libgcc=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 ltversion.m4<br>
INSTALL=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0config.sub=C2=A0 =C2=
=A0 libgfortran=C2=A0 =C2=A0lt~obsolete.m4<br>
LAST_UPDATED=C2=A0 =C2=A0 =C2=A0 =C2=A0 configure=C2=A0 =C2=A0 =C2=A0libgom=
p=C2=A0 =C2=A0 =C2=A0 =C2=A0maintainer-scripts<br>
MAINTAINERS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"http://configure.ac=
" rel=3D"noreferrer" target=3D"_blank">configure.ac</a>=C2=A0 libgpc=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 missing<br>
MD5SUMS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0contrib=C2=A0 =C2=A0=
 =C2=A0 =C2=A0libiberty=C2=A0 =C2=A0 =C2=A0mkdep<br>
Makefile.def=C2=A0 =C2=A0 =C2=A0 =C2=A0 depcomp=C2=A0 =C2=A0 =C2=A0 =C2=A0l=
ibjava=C2=A0 =C2=A0 =C2=A0 =C2=A0mkinstalldirs<br>
Makefile.in=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0fixincludes=C2=A0 =C2=A0libmud=
flap=C2=A0 =C2=A0 move-if-change<br>
Makefile.tpl=C2=A0 =C2=A0 =C2=A0 =C2=A0 gcc=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0libobjc=C2=A0 =C2=A0 =C2=A0 =C2=A0symlink-tree<br>
NEWS=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 gnattools=C2=A0=
 =C2=A0 =C2=A0libssp=C2=A0 =C2=A0 =C2=A0 =C2=A0 ylwrap<br>
README=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 include=C2=A0 =C2=A0=
 =C2=A0 =C2=A0libstdc++-v3=C2=A0 zlib<br>
<br>
Note &#39;libgpc&#39; there.=C2=A0 It is not present in gcc sources.=C2=A0 =
README<br>
says:<br>
<br>
: To build with gcc-4.y copy the libgpc subdirectory into toplevel gcc<br>
: directory (that is into gcc-4.y.z) and ...<br>
<br>
If you forget this step, then &#39;libgpc&#39; directory above will be<br>
missing and clearly there will be no way to make &#39;libgpc.a&#39;.<br>
<br>
OTOH if you followd the instruction and &#39;libgpc&#39; is present, then<b=
r>
we will have to examine messages coming from build (it is useful<br>
to redirect messages to a file so that one can look at them<br>
without re-running the build).<br>
<br>
-- <br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Waldek Hebisch<br>
</blockquote></div>
</blockquote></div>

--000000000000995d8805a6e693f9--


--===============3248714299473364697==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc

--===============3248714299473364697==--