On 2006-11-21, Steve Underwood <[email protected]> wrote:
> When I try exactly what you describe it compiles OK on my machine. Can
> you give more information? What is the platform you are using? Which
> version of mspgcc?
Works fine here as well:
$ cat >time.c
unsigned long int the_time = 0;
unsigned long int time_get( void )
{
return the_time;
}
$ cat >main.c
static unsigned char count = 0;
int main( void )
{
}
$ msp430-gcc -o main main.c time.c -mmcu=msp430x169
$ msp430-gcc --version
msp430-gcc (GCC) 3.2.3
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
$ msp430-as --version
GNU assembler 2.17
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under
the terms of
the GNU General Public License. This program has absolutely no
warranty.
This assembler was configured for a target of msp430'.
$ msp430-ld --version
GNU ld version 2.17
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under
the terms of
the GNU General Public License. This program has absolutely no
warranty.
$
--
Grant Edwards grante Yow! Hmmm... A hash-singer
at and a cross-eyed guy were
visi.com SLEEPING on a deserted
island, when...