![]() |
![]() ![]()
Experimental Physics and
| ||||||||||||||||
|
----- Original Message ----- From: "Till Straumann" <[email protected]> Could be that you're fighting just one more head of the 'autotool' hydra: CONFIG.Common.RTEMS expands the makefile variable CC_FOR_TARGET. CC_FOR_TARGET is set in your RTEMS BSP's Makefile.inc (look in the RTEMS installation tree, _not_ EPICS). Makefile.inc is created when you build RTEMS. 'c/src/make/configure' is responsible for the relevant expansion: Makefile.inc will end up defining CC_FOR_TARGET = <whatever the CC environment variable was set to when you configured RTEMS> I.e.: you probably configured RTEMS in the following way: configure CC=/opt/rtems..../ Instead, you should add the proper directory to your PATH and configure CC=i386-rtems-gcc (Note that it is _very_ advisable to use 'target'-gcc rather than the 'gcc' alias in some 'target' subdir!!!) You can chop that head off by simply editing 'Makefile.inc' (correct the CC_FOR_TARGET & friends definitions) but remember that the hydra will grow a new head next time you 'make' RTEMS - unless you reconfigure. HTH -- Till
| ||||||||||||||||
ANJ, 10 Aug 2010 |
![]() · Download · Search · IRMIS · Talk · Documents · Links · Licensing · |