T.R | Title | User | Personal Name | Date | Lines |
---|
2873.1 | | DECWIN::FISHER | Prune Juice: A Warrior's Drink! | Wed Jun 06 1990 13:28 | 6 |
| I presume this is an Ultrix question by the form of the option you mentioned,
correct? But how do you dynamically load a library in Ultrix?
If this is VMS, I don't think I understand "-GO".
Burns
|
2873.2 | f & g floating? | DECWIN::FISHER | Prune Juice: A Warrior's Drink! | Wed Jun 06 1990 13:31 | 9 |
| Are you talking about, perhaps, the g-floating vs f-floating bit? On VMS,
they are compiled and linked for f-floating. On Ultrix, they are compiled with
pcc, not vcc. I would venture a guess (but no certain knowledge) that pcc
just uses vanilla f-float as well.
Sometime in the future, the C folks have promised us a way to have mixed g/f
floating modules, but so far as I know, that time has not come yet.
Burns
|
2873.3 | | QUARK::LIONEL | Free advice is worth every cent | Wed Jun 06 1990 16:37 | 3 |
| You do mean D_floating vs. G_floating, don't you Burns?
Steve
|
2873.4 | | DECWIN::FISHER | Prune Juice: A Warrior's Drink! | Wed Jun 06 1990 18:04 | 3 |
| Whoops. Yes, that is what I meant. Thanks, Steve.
Burns
|
2873.5 | C has it now | TOOLEY::B_WACKER | | Thu Jun 07 1990 13:50 | 7 |
| >Sometime in the future, the C folks have promised us a way to have
>mixed g/f floating modules, but so far as I know, that time has not
>come yet.
Mixed d and g float is possible now. See the C 3.1 release notes.
Bruce
|
2873.6 | | DECWIN::FISHER | Prune Juice: A Warrior's Drink! | Fri Jun 08 1990 13:34 | 4 |
| Ok, thanks. Apparently the relnotes are not on CD, so I don't
have them.
Burns
|
2873.7 | | DECWIN::FISHER | Prune Juice: A Warrior's Drink! | Fri Jun 08 1990 13:39 | 8 |
| However, the latest guide to VAX C says that you must not link together modules
complied with /G_floating and those without /G_floating (section 8.4).
In any case, we compile without /G_floating, and link with the non-G RTL, and
as of VMS V5.4, we use C V3.0. I assume that means that you can't link with
G stuff.
Burnsf
|
2873.8 | Should be able to mix in /g using /define | TOOLEY::B_WACKER | | Fri Jun 08 1990 14:31 | 33 |
| RE .6:
Release notes should be on your system for layered products. On mine
$help cc release gives:
CC
Release_Notes
The release notes for VAX C are contained in the following file:
SYS$HELP:VAXC031.RELEASE_NOTES
You can type or print this file to read the release notes
information.
RE .7:
The user guide is older than the (3.1) release notes. If you use the
define mentioned in the release notes for "new" modules then you
should be able to mix new g_float modules with DW because the /define
will cause references to c$$g_double_mumble instead of just double in
the new modules.
Before when there was only one name for "double" you got the
appropriate routine by only letting the linker see the right one,
which produced the limitation. Now that there is alternate entry
points we can distinguish between double (g) and double (d) and make
it work.
BTW I haven't actually done this, but looking at the include files the
implementation is pretty pretty simple so it should work ;-).
Bruce
|
2873.9 | | DECWIN::FISHER | Prune Juice: A Warrior's Drink! | Mon Jun 11 1990 13:43 | 5 |
| Found it. So this implies that even though we in DW land have not done anything
specific to support mixed-float, that customers should be able to use g-float
with DECwindows by recompiling with DEFINE=CC$mixedfloat or some such, right?
Burns
|
2873.10 | well kept secret?? | TOOLEY::B_WACKER | | Mon Jun 11 1990 14:06 | 9 |
| >Found it. So this implies that even though we in DW land have not
>done anything specific to support mixed-float, that customers should
>be able to use g-float with DECwindows by recompiling with
>DEFINE=CC$mixedfloat or some such, right?
Right. If the new code uses mixedfloat it should work with the the DW
non-mixed stuff.
Bruce
|