targopts.h not included ?

Puro Markku markku.puro at insta.fi
Thu Sep 27 16:49:49 UTC 2001


Hi All,

I'm using modified i386ex BSP(ev386ex.cfg, more or less for learning ;) 
for old Intel Evaluation Board (r1.0 and r2.1)
and rtems-ss-20010816 snapshot (Hosts: Linux and WinNT/98) with:
GCC      -  gcc-2.95.3
BINUTILS -  binutils-2.10
NEWLIB   -  newlib-1.9.0

On BSP configuration files there is definitions like...
--8<--------------------------------------------------------
*** ev386ex.cfg
define make-target-options
	@echo "/* #define NDEBUG 1       */ "		>>$@
	@echo "/* #define RTEMS_DEBUG  1 */"		>>$@
	@echo "#define BSP_DEBUG  1  "		>>$@
	@echo "/* #define RTEMS_TEST_NO_PAUSE 1 */"	>>$@
	@echo "/* #define RTEMS_TEST_IO_STREAM 1 */"	>>$@
	@echo "/* #define MALLOC_STATS 1 */"        	>>$@
endef
--8<--------------------------------------------------------
that I'd like to use, but those aren't included anywhere ?

Should those definitions go in targopts.h file?
Only place where I find that targopts.h file is included 
was in system.h file but not for __i386__ ? 
--8<--------------------------------------------------------
**** system.h
#if defined(_AM29K) \
  || defined(__hppa__) \
  || defined(__h8300__) \
  || defined(__i960__) \
  || defined(__mc68000__) \
  || defined(__sh__) \
  || defined(__sparc__) \
  || defined(__i386__)
  /* these cpus are ready to apply cpuopts.h */
#include <rtems/score/cpuopts.h>
#else
  /* fallback to targopts.h for mips and powerpc */
#include <rtems/score/targopts.h>
#endif
--8<--------------------------------------------------------

Btw. targopts.h seems to include cpuopts.h file anyhow?


  -Mp
----------------------------------------------------------------------------
---
Markku Puro                  markku.puro at insta.fi          Sarankulmankatu
20
                             tel.   +358 3  2659 769       FIN-33900 Tampere
INSTRUMENTOINTI OY           mobile +358 40 7092 769
http://www.insta.fi
C3i Systems                  fax    +358 3  2659 501







More information about the users mailing list