[Nix-dev] Re: wine on x86_64, and x86_64 in general

Lluís Batlle viriketo at gmail.com
Fri Feb 27 12:16:12 CET 2009


I've noticed the directories /lib and /lib64 in the system profile.
What's their content or purpose, so there are lib and lib64 and not
only lib?

Thank you,
Lluís.

2009/2/26 Lluís Batlle <viriketo at gmail.com>:
> I'd like to use wine in an x86_64 machine... I understand it may not
> be possible to do that.
> What I get building is, in config.log (configure fails):
> configure:2814: checking for C compiler default output file name
> configure:2836: gcc -m32    conftest.c  >&5
> /nix/store/7w2acjgalb0cm7b3bg8yswza4l7iil9y-binutils-2.18/bin/ld:
> skipping incompatible /nix/store/g
> 3z60ik6aq1wipwmxz8rakb7almcfqdz-gcc-4.2.4/lib/gcc/x86_64-unknown-linux-gnu/4.2.4/libgcc.a
> when searc
> hing for -lgcc
> /nix/store/7w2acjgalb0cm7b3bg8yswza4l7iil9y-binutils-2.18/bin/ld:
> cannot find -lgcc
> collect2: ld returned 1 exit status
>
> I think "-m32" creates 32bit executables, which should be able to run
> in an x86_64 environment, isn't it?
>
> Regarding x86_64 in general... aren't other distros making tricks on
> libraries, trying to get 32-bit and 64-bit libraries for all the
> system? I only heard that, and I don't know how 64bits cope with
> 32bits... so I'd like some light on that. I think, for example, that
> people run 'skype' in 64-bit OSs having a bunch of 32bit libraries
> (some X client libraries I guess, as the X protocol may be the same).
> How linux copes with 32-bit executables, I don't know at all.
> If it were the case, shouldn't nix have a good way of dealing with 32
> and 64bit libraries installed at once?
>
> Can anyone help me a bit, maybe sending a link to a document
> explaining about that?
>
> Thank you in advance,
> Lluís.
>



More information about the nix-dev mailing list