Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
134 user(s) are online (114 user(s) are browsing Forums)

Members: 1
Guests: 133

LiveForIt, more...

Support us!

Headlines

 
  Register To Post  

Math link library for gcc
Just can't stay away
Just can't stay away


See User information
Hello,
in porting Gui4Cli to OS4 i just observed that a calculator written in Gui4Cli language is not working any more (eg 1/3 = 0)

I did use with gcc the -lm option since -lmieee (used for 68k) does not seem to exist in my system.

What am i supposed to do ?

Thanks for your help


Joseph


Edited by JosDuchIt on 2009/11/13 10:10:35
Go to top
Re: Math link library for gcc
Just popping in
Just popping in


See User information
@JosDuchIt

Use "-lm" only. For PPC there is no difference between FPU and non-FPU math libs, because all supported PPCs have an FPU.

Go to top
Re: Math link library for gcc
Just can't stay away
Just can't stay away


See User information
@tboeckel

This is what i used
gcc guis:Dev/G4C_Test/guiNotCleaned.c -xc -gstabs -lauto -lm -ldebug -o DuchID:G4T
Is there something wrong here?

The calculator worked OK when the source was compiled for 68k using -lmieee

Joseph

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project