[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building 32 bit apps with 64 bit Gnat?



On Thu, 2014-07-03 at 20:43 -0300, Dani wrote:
> Hi! 
> 
> maybe add the foreign architeture will work.
> 
> 
> e.g.: 
> dpkg --add-architecture <arch>
> 
> apt-get update

sorry, should have mentioned, that had already been done.

> apt-get -f -u install gnat:<arch>
------------------------------------------------------------------
apt-get -f -u -s -t testing install gnat-4.9:i386
...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gnat-4.9:i386 : Depends: gcc-4.9:i386 (>= 4.9) but it is not going to
be installed
E: Unable to correct problems, you have held broken packages.
------------------------------------------------------------------

However if this (installing gnat-4.9:i386 alongside the amd64 version is
something people would expect to work, that adds to my knowledge; it
just means something else is broken in my system.

When I get to binutils, the report is:
------------------------------------------------------------------
 apt-get -t testing install binutils:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  cpp-4.8 gnat-4.9-base lib32z1 libc6-i386 libgnat-4.9 libgnatprj4.9
libgnatvsn4.9
  linux-headers-3.14-1-common linux-kbuild-3.14 lsb-security pax rsync
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  cpp cpp-4.8 gcc-4.8-base libasan0 libgcc-4.8-dev
Suggested packages:
  binutils-doc:i386 cpp-doc gcc-4.8-locales
The following packages will be REMOVED:
  alien apt-listchanges binutils broadcom-sta-dkms build-essential
debhelper dkms dpkg-dev g++ g++-4.9
  gcc gcc-4.8 gcc-4.9 gnat-4.9 linux-compiler-gcc-4.8-x86
linux-headers-3.14-1-amd64
  linux-headers-amd64 lsb-core
The following NEW packages will be installed:
  binutils:i386
The following packages will be upgraded:
  cpp cpp-4.8 gcc-4.8-base libasan0 libgcc-4.8-dev
5 upgraded, 1 newly installed, 18 to remove and 89 not upgraded.
Need to get 9,938 kB of archives.
After this operation, 128 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
------------------------------------------------------------------

But none of that suggests the actual problem, so I don't know where to
go from there.

Thanks,
- Brian




Reply to: