|
From: <M.v...@ca...> - 2001-09-04 00:34:26
|
I know it's poor form to answer my own question, but the answer is to make sure you link in the lib. My cygwin install doesn't have the libs installed (<shrug>), but my windows one does. the correct syntax is: sdcc --model-small -L /path/to/libs file.c Cheers, Matthew van de Werken Electronics Engineer CSIRO Exploration & Mining - Gravity Group 1 Technology Court - Pullenvale - Qld - 4069 ph: (07) 3327 4685 fax: (07) 3327 4455 email: m.v...@ca... > -----Original Message----- > From: M.v...@ca... [mailto:M.v...@ca...] > Sent: Tuesday, 4 September 2001 9:57 AM > To: sdc...@li... > Subject: [Sdcc-user] FAQ... > > > This is probably an FAQ, but anyway: > > I'm trying to compile a simple program under SDCC, and can't > get it to run > in my target device. That target is an Analog Devices ADuC812 > (8051 type) > development board. The board works fine using the test > programs supplied, > but I can't seem to compile even a simple "Hello World" program. > > When I compile, I get the error "?ASlink-Warning-Undefined Global > '__sdcc_external_startup' referenced by module 'blink'". I've > tried using > the cygwin version, the native windows version, and a Linux > version on my > box at home. What do I need to do to get rid of this warning?? > > Cheers, > Matthew van de Werken > Electronics Engineer > CSIRO Exploration & Mining - Gravity Group > 1 Technology Court - Pullenvale - Qld - 4069 > ph: (07) 3327 4685 fax: (07) 3327 4455 > email: m.v...@ca... > > _______________________________________________ > Sdcc-user mailing list > Sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-user > |