[xsde-users] Build libxsde with clang

CHABOCHE Alexandre alexandre.chaboche at trixell-thalesgroup.com
Wed Jan 27 09:45:20 EST 2021


Thank you Boris your answer permit me to step forward. It was typo error in the config.make .


________________________________
De : Boris Kolpackov <boris at codesynthesis.com>
Envoyé : mercredi 27 janvier 2021 14:34:14
À : CHABOCHE Alexandre
Cc : xsde-users at codesynthesis.com
Objet : Re: [xsde-users] Build libxsde with clang

CHABOCHE Alexandre <alexandre.chaboche at trixell-thalesgroup.com> writes:

> clang  -I.. -O2 -target armv7a-none-eabi -msoft-float -mno-implicit-float -fno-builtin -fansi-escape-codes    -D__vxworks -D__VXWORKS__ -D__ELF__ -D_HAVE_TOOL_XTORS  -nostdlibinc -nostdinc++ -ftls-model=local-e
> xec -fno-builtin -fno-strict-aliasing -D_USE_INIT_ARRAY -mllvm -two-entry-phi-node-folding-threshold=2 -mno-implicit-float -MD -MP -mlong-calls -DCPU=_VX_ARMARCH7 -DTOOL_FAMILY=llvm -DTOOL=llvm -D_WRS_KERNEL -D
> _VSB_CONFIG_FILE=-I D:\app\Data\3131\WS_Branch_SP2R5_upgradeVXWorks\VSB\h\config\vsbConfig.h -DARMEL  -U__USER_LABEL_PREFIX__ -D__USER_LABEL_PREFIX__= -D__ARM_NEON__ -DZEVAL -DSDHC_STORAGE-ID:\app\Data\3131\WS_
> Branch_SP2R5_upgradeVXWorks\VSB\share\h -ID:\app\Data\3131\WS_Branch_SP2R5_upgradeVXWorks\VSB\krnl\h\system -ID:\app\Data\3131\WS_Branch_SP2R5_upgradeVXWorks\VSB\krnl\h\public -ID:\app\Data\3131\WS_Branch_SP2R5
> _upgradeVXWorks\VSB\share\h\public  -ID:\app\Data\3131\WS_Branch_SP2R5_upgradeVXWorks\VSB\usr\h\public -fexceptions -c c/expat/xmlparse.c -o c/expat/xmlparse.o

It's hard for me pin-point exactly where the issue is because the
line seems to be broken-up/re-formatted (probably by your mail
client), but I think the issue is here:

-D_VSB_CONFIG_FILE=-I D:\app\Data\3131\WS_Branch_SP2R5_upgradeVXWorks\VSB\h\config\vsbConfig.h

Should probably be:

-D_VSB_CONFIG_FILE= -ID:\app\Data\3131\WS_Branch_SP2R5_upgradeVXWorks\VSB\h\config\vsbConfig.h

And potentially here:

-DSDHC_STORAGE-ID:\app\Data\3131\WS_Branch_SP2R5_upgradeVXWorks\VSB\share\h

Should probably be:

-DSDHC_STORAGE -ID:\app\Data\3131\WS_Branch_SP2R5_upgradeVXWorks\VSB\share\h

My guess would be you have some mistakes in your config.make.


More information about the xsde-users mailing list