Changeset 9c8dbc39
- Timestamp:
- 08/12/2024 11:07:14 AM (5 weeks ago)
- Branches:
- 12.2, lazarus, trunk, xry111/for-12.3
- Children:
- c48815ad
- Parents:
- 53cd9807
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/zip.xml
r53cd9807 r9c8dbc39 75 75 76 76 <para> 77 First, make the package compatible with gcc-14:78 </para>79 80 <screen><userinput>sed -i '205 s/CC=gcc/CC="gcc -std=gnu89"/' unix/Makefile</userinput></screen>81 82 <para>83 77 Install <application>Zip</application> by running the following 84 78 commands: 85 79 </para> 86 80 87 <screen><userinput>make -f unix/Makefile generic _gcc</userinput></screen>81 <screen><userinput>make -f unix/Makefile generic CC="gcc -std=gnu89"</userinput></screen> 88 82 89 83 <para> … … 103 97 104 98 <para> 105 <command>make prefix=/usr -f unix/Makefile install</command>: This 106 command overrides the <varname>prefix</varname> variable that is set to 99 <parameter>CC="gcc -std=gnu89"</parameter>: This parameter 100 overrides the <varname>CC</varname> variable that is set to 101 <command>cc</command> in the <filename>unix/Makefile</filename> file. 102 On LFS <command>cc</command> is a symlink to <command>gcc</command>, 103 and it uses <option>-std=gnu17</option> (ISO 9899:2017 with GNU 104 extensions) as the default but Zip is a <quote>legacy</quote> package 105 where some grammar constructs are invalid in ISO 9899:1999 and newer 106 standards. 107 </para> 108 109 <para> 110 <parameter>prefix=/usr</parameter>: This parameter 111 overrides the <varname>prefix</varname> variable that is set to 107 112 <filename class='directory'>/usr/local</filename> in the 108 <filename>unix/Makefile</filename>. 109 Alternatives to <parameter>generic_gcc</parameter> can be seen with a 110 <command>make -f unix/Makefile list</command> command. 113 <filename>unix/Makefile</filename> file. 111 114 </para> 112 115
Note:
See TracChangeset
for help on using the changeset viewer.