i'm sure there's something trivial i'm overlooking, but i'm still trying to figure out how to cross-compile a source RPM for a powerpc. as it stands, i have a PPC-based toolchain installed, the appropriate tools are on the search path and, based on some earlier advice, i added the following to my personal .rpmmacros: %__ar %{_cross_compile}ar %__as %{_cross_compile}as %__cc %{_cross_compile}gcc %__cpp %{_cross_compile}gcc -E %__cxx %{_cross_compile}g++ %__ld %{_cross_compile}ld %__nm %{_cross_compile}nm %__objcopy %{_cross_compile}objcopy %__objdump %{_cross_compile}objdump %__ranlib %{_cross_compile}ranlib %__remsh %{__rsh} %__strip %{_cross_compile}strip %__size %{_cross_compile}size now, to cross-compile from the spec file, allegedly, i should be able to type: $ rpmbuild --rebuild --define="_cross_compile ppc_8xx-" ... yet, the output from the rpmbuild shows that just the regular host "gcc" command is being called, although "rpmbuild --showrc" seems to suggest that my personal settings are being recognized: -14: __cc %{_cross_compile}gcc ... thoughts? it's hard to believe that just cross-compiling a source rpm should be this tricky when i have a perfectly good toolchain just sitting there. :-) rday _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list