thanks,
fixed...
~d

P.S. BTW, does anybody want to rewrite docs in good english?


On Tuesday 08 April 2003 22:44, Mark Stokes wrote:
> I was trying to figure out why I too had the linker command line
> switches in the wrong place and the only place I found info on it was in
> the FAQ:
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/mspgcc/msp430-
> libc/doc/FAQ?rev=HEAD&content-type=text/plain
> Item number two shows the -lxxx command line switches before the object
> definition (in the part "Bit simpler way is ...").  If this is wrong,
> then this needs to be fixed (in the docs).  I couldn't find this
> described as useful when compiling and linking at the same time, but I'm
> sure it's somewhere (and perhaps lists the -l in the wrong place there
> also).
>
> Thanks
> -Mark
>
>
> -----Original Message-----
> From: mspgcc-users-ad...@lists.sourceforge.net
> [mailto:mspgcc-users-ad...@lists.sourceforge.net] On Behalf Of Chris
> Liechti
> Sent: Saturday, April 05, 2003 7:28 PM
> To: mspgcc-users@lists.sourceforge.net
> Subject: Re: [Mspgcc-users] Math functions in math.h?
>
> Am 06.04.2003 00:13:23, schrieb Petr Hanc <ha...@centrum.cz>:
> >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
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
>
>
> -------------------------------------------------------
> 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
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users

-- 
/********************************************************************
     ("`-''-/").___..--''"`-._     (\   Dimmy the Wild      UA1ACZ
      `6_ 6  )   `-.  (     ).`-.__.`)  Enterprise Information Sys 
      (_Y_.)'  ._   )  `._ `. ``-..-'   Nevsky prospekt,   20 / 44
    _..`--'_..-_/  /--'_.' ,'           Saint Petersburg,   Russia
   (il),-''  (li),'  ((!.-'             +7 (812)  3468202, 5585314
 ********************************************************************/


Reply via email to