Results 1 to 2 of 2
hi
am trying to cross compile a simple qemu emilator on Intel machine in Ubuntu OS
but i came accross such warning
"Please set TARGET to the Gnu target identifier ...
- 04-02-2008 #1Just Joined!
- Join Date
- Mar 2008
- Posts
- 23
Set a target
hi
am trying to cross compile a simple qemu emilator on Intel machine in Ubuntu OS
but i came accross such warning
"Please set TARGET to the Gnu target identifier (e.g. pentium-linux)"
but i ain't got an idea of how to set a target. am not that good in Linux using.
can someone give me a clue of how to handle it?
- 04-04-2008 #2Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
You can usually do this on the Makefile by setting CHOST. CFLAGS also count. Look into the the gcc man page for comprehensive info on the -march parameter.
Some people also do this:
So, the right compiler is called.Code:CC=${CHOST}-gcc CXX=${CHOST}-g++
I can't help much with cross compiling anyway, because I've only done that a few times. But if you google for cross compiling in Gentoo or LFS, you might have some useful results.


Reply With Quote
