cancel
Showing results for 
Search instead for 
Did you mean: 

STVD 3.0.1 and Cosmic Floating Point Libraries

md1
Associate II
Posted on October 28, 2004 at 11:16

STVD 3.0.1 and Cosmic Floating Point Libraries

3 REPLIES 3
md1
Associate II
Posted on October 27, 2004 at 12:39

Having a problem getting floating point libraries to work with STVD7. In the Cosmic manual, it says to link the floating point library first, i.e

libfs.st7

libis.st7

libm.st7

However, STVD 3.0.1 puts the floating point library last in the linker file:

libis.st7

libm.st7

libfs.st7

I am not 100% sure this is the cause yet, but should this go on the wish list?
luca239955_st
Associate III
Posted on October 28, 2004 at 06:56

Linking in the wrong order can result in compile time (unresolved references) and/or run time (ex: wrong formatting with printf) problems.

Regards,

Luca (Cosmic)

emmanuel23
Associate II
Posted on October 28, 2004 at 11:16

Hi MD,

I just made the test with stvd7 3.0.1

I created a new workspace and project with Cosmic toolset, selected short stack model as you in the compiler settings tab and checked the float lib in the linker tab (input category).

As you can see in the following extracted lines, the generated lkf files (in debug and release subdirectories) respect the right order as specified in the Cosmic manual...

#

libfs.st7

libis.st7

libm.st7

#

Are you sure you didn't modified manually this file ?

Please check in the project settings linker tab (input category) that you still have the Auto button checked.

Emmanuel.