1.first I cp whole examples tree to another place /home/dummy/tmp/examples;
2.then I change user.bld & xdcpath.mak as your build_instructions
3.modify GPP makefile,and make,and failed when compile ceapp.c
could you tell me reasons maybe;

here is result:
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/armv5tl-montavista-linuxeabi/bin/gcc
-g -fPIC -Wunused -mlittle-endian -mabi=apcs-gnu -march=armv5t -mapcs
-mtune=arm9tdmi -msoft-float -mno-sched-prolog -Wall -Uarm -Os
-fno-strict-aliasing
-c -Dxdc_target__='<gnu/targets/std.h>'
-I/home/dummy/dvevm_1_00_00_27/codec_engine_1_0/examples
-I/home/dummy/dvevm_1_00_00_27/codec_engine_1_0/packages
-I/home/dummy/dvevm_1_00_00_27/xdais_5_00
-I/home/dummy/dvevm_1_00_00_27/dsplink_1_30_07ce
-I/home/dummy/dvevm_1_00_00_27/cmem_1_00 -I -I./ceapp_package
-I./ceapp_package/.. -I/home/dummy/dvevm_1_00_00_27/xdctools_1_20/packages
-I/home/dummy/dvevm_1_00_00_27/xdctools_1_20/packages/xdc  -o ceapp.o ceapp.c
ceapp.c:12:30: ti/sdo/ce/Engine.h: No such file or directory

and here is my change in user.bld
MVArm9.rootDir =
"/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/armv5tl-montavista-linuxeabi";
...
Build.targets = [
/*    Linux86,*/
/*    C64P,*/
    MVArm9,
/*    UCArm9,*/
];

here is change in xdcpaths.mak
CE_INSTALL_DIR =  /home/dummy/dvevm_1_00_00_27/codec_engine_1_0
XDC_INSTALL_DIR =  /home/dummy/dvevm_1_00_00_27/xdctools_1_20
BIOS_INSTALL_DIR =
...
REQUIRE_BIOS = 0
...
XDAIS_INSTALL_DIR     = /home/dummy/dvevm_1_00_00_27/xdais_5_00
DSPLINK_INSTALL_DIR = /home/dummy/dvevm_1_00_00_27/dsplink_1_30_07ce
CMEM_INSTALL_DIR    = /home/dummy/dvevm_1_00_00_27/cmem_1_00
FC_INSTALL_DIR      =

here is in makefile
CC= 
/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/armv5tl-montavista-linuxeabi/bin/gcc
\
    -g -fPIC -Wunused -mlittle-endian -mabi=apcs-gnu -march=armv5t \
    -mapcs -mtune=arm9tdmi -msoft-float -mno-sched-prolog -Wall -Uarm \
    -Os -fno-strict-aliasing

-- 
----RyanYee
How many roads must a man walk down before
you can call him a Man?How many years can
 some people exist before They're allowed to
be free?the answer is Blowing in the wind...
_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to