What is Hosted and UnHosted in CodeSourcery G++ IDE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What is Hosted and UnHosted in CodeSourcery G++ IDE



Hi,


I am using codesourcery g++ IDE for my target board without any target OS
for Cortex M3 (STM32). There are options like <hosted> and <unhosted> in
setting up the build environment for the project in the IDE. When I try with
hosted option, build was successful an below is the message

**************************************************************************
'Building target: elisa'
'Invoking: GCC C Linker'
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -T str91x-rom-hosted.ld -o"elisa"
./adccomputations.o ./elisa.o ./elisafunc.o ./flash.o ./interface.o
./keyboard.o ./lcdfunc.o ./lcdview.o ./motor.o ./parser.o ./printer.o
./st_cortexm3.o   -lm
'Finished building target: elisa'
' '
Build complete for project elisa
*************************************************************************

When build with option unhosted, the following are the warnings

*****************************************************************************************************************************
'Building target: elisa'
'Invoking: GCC C Linker'
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -T str91x-rom.ld -o"elisa"
./adccomputations.o ./elisa.o ./elisafunc.o ./flash.o ./interface.o
./keyboard.o ./lcdfunc.o ./lcdview.o ./motor.o ./parser.o ./printer.o
./st_cortexm3.o   -lm
c:/program files/codesourcery/sourcery
g++/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/lib/thumb2\libcs3unhosted.a(unhosted-_close.o):
warning: IO function '_close' used
c:/program files/codesourcery/sourcery
g++/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/lib/thumb2\libcs3unhosted.a(unhosted-_fstat.o):
warning: IO function '_fstat' used
c:/program files/codesourcery/sourcery
g++/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/lib/thumb2\libcs3unhosted.a(
unhosted-isatty.o): warning: IO function 'isatty' used
c:/program files/codesourcery/sourcery
g++/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/lib/thumb2\libcs3unhosted.a(unhosted-_kill.o):
warning: IO function '_kill' used
c:/program files/codesourcery/sourcery
g++/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/lib/thumb2\libcs3unhosted.a(unhosted-_lseek.o):
warning: IO function '_lseek' used
c:/program files/codesourcery/sourcery
g++/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/lib/thumb2\libcs3unhosted.a(unhosted-_read.o):
warning: IO function '_read' used
c:/program files/codesourcery/sourcery
g++/bin/../lib/gcc/arm-none-eabi/4.2.1/../../../../arm-none-eabi/lib/thumb2\libcs3unhosted.a(unhosted-_write.o):
warning: IO function '_write' used
'Finished building target: elisa'
' '
Build complete for project elisa
************************************************************************************************************************

Do I have to do any special settings?

-- 
regards
 ravi