I am creating a program in assembler, using several modules. The Assembler manual states that using the EXPORT directive, without any arguments, exports all symbols from the module. When I use this construct, I get flooded with undefined symbol errors. I have to go back and individually export each symbol in order to get a clean assembly and link. Is this an artifact of using an evaluation license, or is something screwy going on. I tried EXPORT * and it really yelled at me. Having to individually export all of the variable names and equates would be a major hurt. Thanks.
>>Having to individually export all of the variable names and equates would be a major hurt.
Scratches head, and writes an AWK script..
Puts common stuff in an include file.
You really don't want to pollute the global name space with everything, I wouldn't even try using EXPORT in the fashion suggested.
I talked that over with one of the other guys here, and it does seem that an include file would work. It still doesn't get around the question of why the EXPORT everything doesn't work as advertised. Thanks.
Is the error coming from the LINKER or the ASSEMBLER?
Common equates would fit in an include file, symbol dependent ones obviously not so much.
This is a user forum, not a Keil Support venue.