Unsupported CPU Model

James Housley jim at thehousleys.net
Fri Dec 28 12:15:41 UTC 2001


Vinod Singh wrote:
> 
> Hi,
> 
> We are using freeBSD host to compile Rtems using Rtems's cross compiler.
> 
> We have used the following command to configure:
> "../rtems-4.5.0/configure --target=i386-rtems --prefix=/usr/local --ena
> ble-cxx --enable-gmake-print-directory --disable-tests --disable-posix
> --enable-
> networking --enable-bare-cpu-cflags=-mcpu32
> --enable-bare-cpu-model=mcpu32 --ena
> ble-rtemsbsp=bare"
> 
> Configuration goes fine and when using gmake all to compile it gives the
> following error:
> 
> ../../../../../bare/lib/include/rtems/score/i386.h:89: #error
> "Unsupported CPU M
> odel"
> make[1]: *** [o-optimize/getprotoby.o] Error 1
> 
> Can anybody suggest me? What goes wrong to this.
> 


It looks like you are trying to target the i386 and Motorola cpu32 at
the same time!!!  That of course is very bad (TM).  I think you need to
change "--target=i386-rtems" to "--target=m68k-rtems".  Also you can
check out the RTEMS compilier tools in the FreeBSD ports and packages,
they are all there.

Jim
-- 
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
 X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
jeh at FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim at TheHousleys.Net  http://www.TheHousleys.net
jhousley at SimTel.Net  http://www.SimTel.Net
---------------------------------------------------------------------
Unix is very user-friendly.  It's just picky who its friends are.



More information about the users mailing list