* meino.cra...@gmx.de <meino.cra...@gmx.de> wrote: > > gr...@kraken ~ $ gcc -o a.out.64 test.c > > gr...@kraken ~ $ gcc -m32 -o a.out.32 test.c > > gr...@kraken ~ $ file a.out.* > > a.out.32: ELF 32-bit LSB executable, Intel 80386, version 1 > > (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux > > 2.6.9, not stripped > > a.out.64: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), > > dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not > > stripped > > gr...@kraken ~ $ > > > > Br, > > Maciej Grela > > > > Oh YEAH! That's a definition of "straight forward I do like very much! > Thanks a lot, Maciej! You saved me a lot of half defunct bits ! ;)
Only for the specific case that your target system has the same system libraries (and you have a *full* multilib installation) as the building system. If you want to crosscompile, you *most likely* want sysroot too. cu -- ---------------------------------------------------------------------- Enrico Weigelt, metux IT service -- http://www.metux.de/ phone: +49 36207 519931 email: weig...@metux.de mobile: +49 151 27565287 icq: 210169427 skype: nekrad666 ---------------------------------------------------------------------- Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme ----------------------------------------------------------------------