Changeset abd464a


Ignore:
Timestamp:
04/08/2015 09:33:38 PM (9 years ago)
Author:
Ken Moffat <ken@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
45acacc
Parents:
25c5f53
Message:

unzip: Use the generic target (new in unzip60, apparently) : this fixes unzipping to files larger than 2GiB - e.g. raspberry pi images - on i686.It also mean we do the same for i686 and x86_64. The previous commented option might have also worked, but I guess nobody used to have any reason to unzip such large files.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@15811 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/unzip.xml

    r25c5f53 rabd464a  
    182182    <application>UnZip</application> by running the following commands:</para> -->
    183183
    184 <screen><userinput>case `uname -m` in
    185   i?86)
    186     sed -i -e 's/DASM_CRC"/DASM_CRC -DNO_LCHMOD"/' unix/Makefile
    187     make -f unix/Makefile linux
    188     ;;
    189   *)
    190     sed -i -e 's/CFLAGS="-O -Wall/&amp; -DNO_LCHMOD/' unix/Makefile
    191     make -f unix/Makefile linux_noasm
    192     ;;
    193 esac</userinput></screen>
     184<screen><userinput>make -f unix/Makefile generic</userinput></screen>
    194185
    195186    <para>To test the results, issue: <command>make check</command>.</para>
     
    197188    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    198189
    199 <screen role="root"><userinput>make prefix=/usr MANDIR=/usr/share/man/man1 install</userinput></screen>
     190<screen role="root"><userinput>make prefix=/usr MANDIR=/usr/share/man/man1 \
     191 -f unix/Makefile install</userinput></screen>
    200192
    201193  </sect2>
     
    204196    <title>Command Explanations</title>
    205197
    206     <para><command>sed ...</command>: This command ensures an obsolete
    207     system call is not made.</para>
    208 
    209     <para><parameter>linux, linux_noasm</parameter>:
    210     The linux target in the <filename>Makefile</filename> makes assumptions
    211     that are useful for a Linux system when compiling the executables, but
    212     also uses some 32-bit x86 assembler code. The linux_noasm target will
    213     build on all linux hosts. To obtain alternatives to these targets, use
    214     <command>make -f unix/Makefile list</command></para>
    215 
    216     <!-- <para><parameter>LOCAL_UNZIP=...</parameter>:
    217     This sets the compilation flags to allow <application>UnZip</application>
    218     to handle files up to 4 GB.</para> -->
     198    <para><parameter>make -f unix/Makefile generic</parameter>:
     199    This target begins by running a configure script (unlike the older targets
     200    such as linux and linux_noasm) which creates a flags file that is then used
     201    in the build. This ensures that the 32-bit x86 build receives the right
     202    flags to unzip files which which are larger than 2GB when extracted.</para>
    219203
    220204  </sect2>
  • introduction/welcome/changelog.xml

    r25c5f53 rabd464a  
    4949      <itemizedlist>
    5050        <listitem>
     51          <para>[ken] - Use the generic target in unzip, this fixes unzipping
     52          files larger than 2GB on i686.</para>
     53        </listitem>
     54        <listitem>
    5155          <para>[fernando] - Archive Totem-3.16.0, Grilo-0.2.12 and
    5256          Grilo-Plugins-0.2.14. Fixes
Note: See TracChangeset for help on using the changeset viewer.