Remove Ada support from MinGW-w64-GCC.

Ada isn't required for building Wine's PE DLLs.
This commit is contained in:
Zeckmathederg 2024-07-03 19:17:12 -06:00
parent 7223f7046c
commit 950c89e015
2 changed files with 19 additions and 37 deletions

View File

@ -39,6 +39,15 @@
</listitem>
-->
<listitem>
<para>July 3rd, 2024</para>
<itemizedlist>
<listitem>
<para>[Zeckmathederg] - Remove Ada support from MinGW-w64-GCC.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>July 2nd, 2024</para>
<itemizedlist>

View File

@ -120,7 +120,7 @@ cd build-x86_64-mingw-w64 &amp;&amp;
--with-system-zlib \
--enable-default-pie \
--enable-default-ssp \
--enable-languages=ada,c,c++
--enable-languages=c,c++
make -j1</userinput></screen>
@ -193,10 +193,9 @@ cd build-i686-mingw-w64 &amp;&amp;
--with-system-zlib \
--enable-default-pie \
--enable-default-ssp \
--enable-languages=ada,c,c++
--enable-languages=c,c++
make -j1
</userinput></screen>
make -j1</userinput></screen>
<para>
If you have installed additional packages such as
@ -261,7 +260,7 @@ mv -v /usr/i686-w64-mingw32/lib/*.dll /usr/i686-w64-mingw32/bin
unset PATH_HOLD</userinput></screen>
<para>
Now it's time to test the installation. First confirm that the
Now it's time to test the installation. Confirm that the
regular C and C++ compilers are working correctly:
</para>
@ -309,7 +308,7 @@ gnatmake testgnat.adb &amp;&amp;
rm -v testgnat*</userinput></screen>
<para>
Now test the <application>MinGW-w64</application> compilers.
Now test the <application>MinGW-w64</application> cross compiler.
</para>
<para>
@ -328,19 +327,7 @@ x86_64-w64-mingw32-gcc main.c &amp;&amp;
rm -v a.exe &amp;&amp;
x86_64-w64-mingw32-g++ main.cpp &amp;&amp;
rm -v a.exe main.{c,cpp}
cat &gt;&gt; testgnat.adb &lt;&lt; "EOF"
<literal>with Ada.Text_IO; use Ada.Text_IO;
procedure Testgnat is
begin
Put_Line("Success!");
end Testgnat;</literal>
EOF
x86_64-w64-mingw32-gnatmake testgnat.adb
rm -v testgnat*</userinput></screen>
rm -v a.exe main.{c,cpp}</userinput></screen>
<para>
For i686:
@ -358,19 +345,7 @@ i686-w64-mingw32-gcc main.c &amp;&amp;
rm -v a.exe &amp;&amp;
i686-w64-mingw32-g++ main.cpp &amp;&amp;
rm -v a.exe main.{c,cpp}
cat &gt;&gt; testgnat.adb &lt;&lt; "EOF"
<literal>with Ada.Text_IO; use Ada.Text_IO;
procedure Testgnat is
begin
Put_Line("Success!");
end Testgnat;</literal>
EOF
i686-w64-mingw32-gnatmake testgnat.adb
rm -v testgnat*</userinput></screen>
rm -v a.exe main.{c,cpp}</userinput></screen>
<para>
The commands above should have no errors, otherwise
@ -449,12 +424,10 @@ rm -v testgnat*</userinput></screen>
</para>
<para>
<parameter>--enable-languages=ada,c,c++</parameter>:
This command builds support for ada, C, and C++. Refer to <ulink
<parameter>--enable-languages=c,c++</parameter>:
This command builds support for C and C++. Refer to <ulink
url="https://www.linuxfromscratch.org/blfs/view/svn/general/gcc.html"/>
to find what other languages are supported. Make sure to add
<parameter>ada</parameter> to the option if you recompile <application>
MinGW-w64-GCC</application>.
to find what other languages are supported.
</para>
<para>