Hi,

i built mspgcc from the CVS sources of yesterday but sinf, logf etc. still
do not work, even with #include <math.h>:

> msp430-gcc -mmcu=msp430x149 -lm -o test2.elf test2.c
/tmp/ccm6TMBK.o(.text+0xe0): In function `main':
: undefined reference to `expf'

That hello world program can be compiled, flashed and it works without
problems when i comment the line with expf. So it's only expf that does
not work.
So is it vaporware or is there a special trick?

Regards,

Rolf

[email protected] schrieb am 03.06.05 18:41:14:
> 
> fixed...
> logf(), expf()
> 
> ~d
> 
> On Friday 03 June 2005 07:54, Dmitry wrote:
> > > But why -lm has to be given at the end?
> >
> > that's how the one-pass linker works...
> >
> > > > looks like I forgot to add strait calls of these functions...
> > >
> > > O.k.. Do you add this bug to the bug tracker at sourceforge.net? (So I
> > > can monitor, if the bug has been fixed.)
> >
> > I'll fix it, say, tonight...
> >
> > cheers,
> > ~d
> >
> > > Ralf
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by Yahoo.
> > > Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> > > Search APIs Find out how you can build Yahoo! directly into your own
> > > Applications - visit
> > > http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> > > _______________________________________________
> > > Mspgcc-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/mspgcc-users
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by Yahoo.
> > Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> > Search APIs Find out how you can build Yahoo! directly into your own
> > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> > _______________________________________________
> > Mspgcc-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/mspgcc-users
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by Yahoo.
> Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
> Search APIs Find out how you can build Yahoo! directly into your own
> Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
> _______________________________________________
> Mspgcc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users



Reply via email to