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

Re: rpmbuild with target i386 on x86_64 sets %{_libdir} to lib64.



On Fri, 22 Sep 2006, Rob Andrews wrote:

> On 22-Sep-2006 08:54.24 (BST), Andy Green wrote:
>  > I see, that would be convenient...
>  > 
>  >       --target PLATFORM
>  >               When building the package, interpret PLATFORM as 
>  > arch-vendor-os and  set  the  macros
>  >               %_target, %_target_cpu, and %_target_os accordingly.
>  > 
>  > What happens at the moment when you try to use --target then?
> 
> Well, using --target i386 on an x86_64 installation, it managed to build
> i386 binaries (using g++ -m32). But obviously, the library path was wrong.

And the link fails for me telling me the input object is 32 bit but it's 
trying to make a 64 bit image.

Ian


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