this solved my problem. thanks a lot to everybody. Nenad
-----Original Message----- From: [email protected] [mailto:[email protected]]on Behalf Of Chris Liechti Sent: Saturday, April 05, 2003 7:28 PM To: [email protected] Subject: Re: [Mspgcc-users] Math functions in math.h? Am 06.04.2003 00:13:23, schrieb Petr Hanc <[email protected]>: >I have this problem too. It seems that msp430-gcc.exe ignores the -l >option. > >This command returns "undefined reference" error: > >msp430-gcc -mmcu=msp430x149 -g -lm pokusy.o "-lm pokusy.o" >Linking using msp430-ld works fine: >msp430-ld -m msp430x149 ... >-L/cygdrive/c/programy/mspgcc/lib pokusy.o -lm -lgcc -lc -lgcc "pokusy.o -lm" do you see the difference? the order matthers! HTH chris ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Mspgcc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mspgcc-users
