cancel
Showing results for 
Search instead for 
Did you mean: 

compiling assembler

rekisum
Associate II
Posted on January 17, 2006 at 09:39

compiling assembler

4 REPLIES 4
rekisum
Associate II
Posted on January 16, 2006 at 11:57

Hi,

I asked this a week ago, but no one answered.

Please give me a hint, even if this question is incredible stupid.

When trying to compile 71x_init.s and 71x_vec.s I get errors about

the unkown semicolon sign.

ST uses semicolon ';' as comment seperator where others use '#'.

Is there an option for gcc telling it semicolon is for comments?

Greets

sjo
Associate II
Posted on January 16, 2006 at 17:53

You will have to change the asm files to be compatible with gcc or as.

As an alternative have a look at www.anglia.com/columbus and download IDEaliST and gcc arm toolchain - the startup and vector files have already been converted to gcc.

Regards

sjo

rekisum
Associate II
Posted on January 17, 2006 at 09:36

Ok, but this are not the startup files supplied by ST.

I wonder what everybody else is using than gcc, Realview?

I thought the ST-Lib is designed for using it with gcc?

By

sjo
Associate II
Posted on January 17, 2006 at 09:39

These are based on the ST files just changed for gcc. If you use Realview or ADS then the files will work as is, otherwise you will have to modify them - this is exactly what Keil, IAR, Rowley will do aswell.

Regards

sjo