cross compilation x86_64 <-> i386
"Philippe A." <[email protected]>
| Newsgroups | gmane.linux.freshrpms.user |
|---|---|
| Message-ID | <[email protected]> |
Hello list, This may be regarded as slightly off-topic, but I do not know a better place where to ask the question. I have installed FC6 x86_64 on my new system and I am having problems compiling packages in 32 bits and 64 bits. Freetype is one package I need to compile for both architectures, especially that I systematically recompile it with bci enabled. I tried the following, quite naively it seems: rpmbuild -bb freetype.spec -bb --target i386 Errors follow soon after. checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... i386-redhat-linux-gnu checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. make: *** [setup] Error 77 error: Bad exit status from /var/tmp/rpm-tmp.65705 (%build) I have been googling but haven't yet found the right recipe. Please let me know if you have one around. Thank you!