Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

-msoft-float -m64 x86 machine, gcc is not referring to software floating point librar

Status
Not open for further replies.

achaleus

Member level 5
Joined
Dec 21, 2012
Messages
85
Helped
5
Reputation
10
Reaction score
5
Trophy points
1,288
Location
Bangalore
Activity points
1,866
Dear edaboard,
I have a third party software floating point library which was compiled using 64 bit machine (-m64). I am trying to infer this floating point library using gcc flag -msoft-float.

If I am using gcc -msoft-float -m32 flag for c = a+b, where c,a,b are float values,gcc infers assembly __addsf3 which is a software fp library. If I am trying to use gcc -msoft-float -m64 flag for the same c = a+b, gcc infers hardware floating point addss.
Any suggestion on how to infer software floating point library using -m64 option are greatly appreciated

Vinay
 

-one is to link your thirdparty lib as -lthirdpartlibname.

And this seems to be supported only in some versions of gcc.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top