cc -YSYSTEM_FIVE problems
Robert Andersson
ra at is.uu.no
Wed Sep 5 05:04:20 AEST 1990
This is on a DECstation 3100 running Ultrix 3.1. I discovered these
problems when porting one of our applications over from System V to
Ultrix. All of the application was compiled *and* linked using the
-YSYSTEM_FIVE option to cc. We then observed the following problems:
1) Linking with the System V curses/terminfo library, libcursesX.a,
completely broke our program. Lot's of warnings about unaligned data
access when running it, and the termio settings were also completely
messed up. Linked with libtermcap.a instead worked OK.
2) When forking a subshell from our program the subshell was not able to
expand wildcards! The -YSYSTEM_FIVE option seems to link in a
special C startup module that does a setsysinfo() call to switch
into SYSV mode. This mode is inherited by the subprocess and
the shell doesn't seem to handle running in this mode.
Am I doing something wrong, or are these genuine bugs?
--
Robert Andersson, International Systems A/S, Oslo, Norway.
Internet: ra at is.uu.no
UUCP: ...!{uunet,mcsun,ifi}!is.uu.no!ra
More information about the Comp.unix.ultrix
mailing list