Skip to main content

How to compile VBC 3.3.x on Solaris using Sun"s Forte 6 C compiler?

  • February 16, 2013
  • 0 replies
  • 0 views

Problem:

  • Product Name: VisiBroker for C
  • Product Version: 3.3.x
  • Platform Version: Solaris

How to compile VBC 3.3.x on Solaris using Sun's Forte 6 C compiler?

Resolution:

VBC 3.3.x is certified with SUN's C compiler 4.2 (Workshop) but not the more recent version 5.x (Forte).

It is possible to compile and link VBC 3.3.x using SUN C 5.x by using the C compiler flag -compat=4

Using this flag compiler behaves as if compiling against version 4.x (Workshop).

However this does not mean that VBC 3.3.4 supports C 5.x by any means. In case of a support case, problem still needs to be reproducible using C 4.2. Nevertheless, so far no problem using 5.x is known.

Old KB# 26579

#VisiBroker
#VisiBrokerforC
#Security