Re: Plan to Update GPC
John Ries <[email protected]> Sun, 17 May 2020 13:41:01 -0700
| Newsgroups | gmane.comp.compilers.gpc |
|---|---|
| Message-ID | <CAKqWTQJFgk7eWEam7fU6c1HCRW3QLPQ8SkijJCi=KeUCrBNeDw@mail.gmail.com> |
--===============5008989703494770478== Content-Type: multipart/alternative; boundary="0000000000002aed0005a5de115d" --0000000000002aed0005a5de115d Content-Type: text/plain; charset="UTF-8" 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. On Sat, May 16, 2020 at 5:32 PM Waldek Hebisch <[email protected]> wrote: > On Fri, May 08, 2020 at 04:53:37PM +0200, Waldek Hebisch wrote: > > On Thu, May 07, 2020 at 05:11:05PM -0400, Kevan Hashemi wrote: > > > Dear GPC Collaborators, > > > > > > PROBLEM: MacOS 10.15 does not run 32-bit binaries. My application uses > 30k lines of GPC code. The MacOS GPC is 32-bit only. > > > > No. While little used GCC 4.1.2 port is finished and should work well. > > > > For the record: with patches that I posted in reply to John Ries > I am able to build GPC based on GCC 4.3.6 on Linux using clang > version 7. So it should be possible to use clang for bootstrapping > GPC on Mac without too much fiddling with compiler flags. > > IIUC ATM there are other unresolved problems, but this is a step > forward... > > -- > Waldek Hebisch > > _______________________________________________ > Gpc mailing list > [email protected] > https://www.g-n-u.de/mailman/listinfo/gpc > --0000000000002aed0005a5de115d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr"><div>I tried using sum2.diff, but it caus= ed make to look for a non-existent object file, so it doesn't appear to= be necessary under Fedora.=C2=A0 I therefore backed it out.=C2=A0 Thereon = I rebuilt using the system GCC and searched for something under the built d= irectory with a name resembling "libgpc.a".=C2=A0 It doesn't = exist.<br><br>$ find . -name "*gpc*"<br>./gcc/gpc1<br>./gcc/xgpc<= br>./gcc/gpc-run<br>./gcc/p/gpcpp.o<br>./gcc/p/gpc-lex.o<br>./gcc/p/gpc.o<b= r>./prev-gcc/gpc1<br>./prev-gcc/xgpc<br>./prev-gcc/gpc-run<br>./prev-gcc/p/= gpcpp.o<br>./prev-gcc/p/gpc-lex.o<br>./prev-gcc/p/gpc.o<br></div><br></div>= <div>So it looks like I get to give clang a shot.<br></div><div><br></div><= div><br></div><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_at= tr">On Sat, May 16, 2020 at 5:32 PM Waldek Hebisch <<a href=3D"mailto:he= [email protected]">[email protected]</a>> wrote:<br></div><b= lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le= ft:1px solid rgb(204,204,204);padding-left:1ex">On Fri, May 08, 2020 at 04:= 53:37PM +0200, Waldek Hebisch wrote:<br> > On Thu, May 07, 2020 at 05:11:05PM -0400, Kevan Hashemi wrote:<br> > > Dear GPC Collaborators,<br> > > <br> > > PROBLEM: MacOS 10.15 does not run 32-bit binaries. My application= uses 30k lines of GPC code. The MacOS GPC is 32-bit only.<br> > <br> > No.=C2=A0 While little used GCC 4.1.2 port is finished and should work= well.<br> > <br> <br> For the record: with patches that I posted in reply to John Ries<br> I am able to build GPC based on GCC 4.3.6 on Linux using clang<br> version 7.=C2=A0 =C2=A0So it should be possible to use clang for bootstrapp= ing<br> GPC on Mac without too much fiddling with compiler flags.<br> <br> IIUC ATM there are other unresolved problems, but this is a step<br> forward...<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> <br> _______________________________________________<br> Gpc mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a><br> <a href=3D"https://www.g-n-u.de/mailman/listinfo/gpc" rel=3D"noreferrer" ta= rget=3D"_blank">https://www.g-n-u.de/mailman/listinfo/gpc</a><br> </blockquote></div></div> --0000000000002aed0005a5de115d-- --===============5008989703494770478== 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 --===============5008989703494770478==--