DSPRelated.com
Forums

[CCS] assembler command line

Started by Curl February 17, 2004
Hello All
This may not be the right place for CCS question. But I know I could
find an answer here ! :o)

Does anyone know how to modify the assembler command line in CCS
? -(not only the options)-
I would like to supply the "object files" in the command line.

Or in another way :
How to include a (batch?) file invoking the assembler (asm500) with
the correct arguments in my project ?.
I try to play with GEL Files. But I did not succeed.

Thank you.

Hello,
you may click 'Project-Build Options-Compiler' to see cmd line for
asm500.
 It may be to correct as by ComboBoxes (and others), as direct.
> Does anyone know how to modify the assembler command line in CCS > ? -(not only the options)- > I would like to supply the "object files" in the command line.
I can't clear understand that is bad in standart way: you only point to files(.asm,.c,.cmd,.obj...) which must be included in project(executable file), all another do CCS.
> How to include a (batch?) file invoking the assembler (asm500) with > the correct arguments in my project ?.
Cheers
"Vic" <h3vic@yahoo.com> a &#4294967295;crit dans le message de news:
</>

Hello

I use conditional assembly and would like to name the objects file
differently.
let me give you an example :
mycode.asm:
----------------
    .if Version1
        ..
    .endif
    .if  Version2
        ..
    .endif
---------------

Now I would like assemble the sourcefile with the following command
    asm500 mycode.asm mycodeV1.obj (specifics
option) -dVersion1 -dVersion2=0
or
    asm500 mycode.asm mycodeV2.obj (specifics option) -dVersion1=0 -
dVersion2

I'm using two projects (V1 and V2) with specific command line
assembly.
For the linker there is now problem since I can use a different cmd
file.

One solution would be to use a separate .bat file. But I would like to
perform this in CCS environnment.

Thanks