Alexander Puchmayr wrote: > Am Montag, 17. Januar 2005 16:30 schrieb Reinhard Moeller: > >>Hello, >>it is not yet clear to me how do define a project on an AMD 64Bit Linux >>system, that will also run on 32Bit regular Intel architectures. Also >>the executables should run in both environments. >>I am using kdevelop 3.3.2 and developing a QT based application. >>All help is greatly appreciated. >>Reinhard Moeller >>rmoe@ lfa.uni-wuppertal.de >> > > Did you try to setup your project's CFLAGS properly, i.e. something like > > CFLAGS="-m32 -march=pentium ..." > > See manual page of gcc (submodel options for i386) for details. > > Of course, you have to ensure that the proper 32 bit libraries are installed > and you link your project against these. > > Greetings > Alex > Thank you, Alex. I assumed to do like that but probably I did not configure right. The necessary libraries are installed as far as I know. I transferred the project from a i32 platform to AMD 64, put CFLAGS into the make-options and tried to compile. This is what happens: cd '/home/rmoe/holz/holzl' && CFLAGS="-m32 -march=pentium" QTDIR="/usr/lib/qt3" gmake -k -j1 gmake: *** Keine Regel vorhanden, um das Target »/usr/lib/qt3/lib/libqt.prl«, benötigt von »Makefile«, zu erstellen. gmake: Konnte die »make«-Steuerdatei »Makefile« nicht neu erstellen. g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -Icpp -I/usr/include -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/main.o main.cpp cc1plus: error: CPU you selected does not support x86-64 instruction set cc1plus: error: CPU you selected does not support x86-64 instruction set g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -Icpp -I/usr/include -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/holz_frame.o holz_frame.cpp gmake: *** [.obj/main.o] Fehler 1 cc1plus: error: CPU you selected does not support x86-64 instruction set cc1plus: error: CPU you selected does not support x86-64 instruction set gmake: *** [.obj/holz_frame.o] Fehler 1 g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -Icpp -I/usr/include -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/OKE.o OKE.cpp cc1plus: error: CPU you selected does not support x86-64 instruction set cc1plus: error: CPU you selected does not support x86-64 instruction set gmake: *** [.obj/OKE.o] Fehler 1 g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -Icpp -I/usr/include -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/Pixel.o Pixel.cpp cc1plus: error: CPU you selected does not support x86-64 instruction set cc1plus: error: CPU you selected does not support x86-64 instruction set gmake: *** [.obj/Pixel.o] Fehler 1 ..............more... Any idea? Greetings Reinhard - to unsubscribe from this list send an email to kdevelop-request@kdevelop.org with the following body: unsubscribe »your-email-address«