On Sun, 2006-06-25 at 04:55 +0200, Ralf Corsepius wrote:
On Sat, 2006-06-24 at 20:25 +0200, Erwin Rol wrote:
> I finally managed to build a mingw32 cross-compiler rpm, but in the end
> get get a large number of non-fatal warning in the form of;
>
> /usr/bin/strip: Unable to recognise the format of the input file
>
`/var/tmp/gcc-mingw32-root/opt/mingw32/i586-pc-mingw32msvc/lib/libmsvcrtd.a(dvmqs00022.o)'
>
> The question is, how can i control what files are to be stripped and
> what "strip" to use ?
The origin for this problem is rpm bogusly trying to manipulate target
files. The origin is lurking deeply inside of %__os_install_post.
It invokes brp-strip on files, it should not strip.
I am working around this issue by using customized versions of the
scripts being invoked in __os_install_post.
FYI: I've uploaded my FC5->Mingw cross toolchain to Packman.
ftp://ftp.uni-erlangen.de/pub/mirrors/packman/fedora/5
Ralf