MziRintu / iphone-gcc-full

Automatically exported from code.google.com/p/iphone-gcc-full
0 stars 0 forks source link

iphone-gcc overwriting #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. dpkg -i iphone-gcc.deb

Please provide any additional information below.

trying to overwrite files in libgcc.

you could remove the files from iphone-gcc.deb as they are in 
libgcc/fake-libgcc instead of force install ive compiled iphone-gcc.deb without 
the conflicting files if you want i will upload them for you.

Original issue reported on code.google.com by o.calder...@gmail.com on 16 Feb 2012 at 9:16

GoogleCodeExporter commented 9 years ago
you need to force it (not recomended but...)
dpkg --install --force-overwrite filehere.deb

Original comment by arnaudal...@gmail.com on 26 Feb 2012 at 6:15

GoogleCodeExporter commented 9 years ago
Old thread, but on a typical device there seem to be at least three (3) 
conflicting files.  This feels like an edge-case since there is no native 
compiler and these are all headers for embeddable databases usually compiled 
into other binaries.  

## Complete install
##

# Install GCC dependencies
apt-get install -y make automake ldid 

# Install lib-gcc
dpkg -i lib-gcc.deb

# Install GCC
dpkg -i gcc.deb

# Make backups of conflicting dependencies.
# All of the .orig appear to be newer than in headers-libs.
cp -n /usr/include/db.h /usr/include/db.h.orig
cp -n /usr/include/sqlite3.h /usr/include/sqlite3.h.orig
cp -n /usr/include/sqlite3ext.h /usr/include/sqlite3ext.h.orig

# Install headers.
# There could be more conflicts, repeat as above if they don't appear dangerous.
dpkg -i --force-overwrite headers-libs.deb

Original comment by barry.al...@gmail.com on 11 Jan 2013 at 12:11

GoogleCodeExporter commented 9 years ago
Should note that there are other many other conflicts, but those files do not 
differ.

Original comment by barry.al...@gmail.com on 11 Jan 2013 at 12:13