rmr@sdcsvax.UCSD.Edu (Robert Rother) (05/30/89)
Can anyone tell me what the special tricks might be to get ATT C++ Version 1.2 to run on a SUN. After running the bsd.fix script and then running make I get a cfront that hangs. The version of cfront that is produced during the first stage "scratch" works correctly but the second version that is produced from the c++ source files hangs. Also the munch programs seems to core dump. Any help would be greatly appreciated. Thanks, Robert Rother rmr@sdcsvax.ucsd.edu or sdcsvax!rmr
rmr@sdcsvax.UCSD.Edu (Robert Rother) (05/30/89)
Forgot to mention this is for a SUN3 class of machines running both 3.4 and 4.0 versions of the OS. Thanks again Robert Rother
schmidt@ics.uci.edu (Doug Schmidt) (05/30/89)
In article <6525@sdcsvax.UCSD.Edu> rmr@sdcsvax.UCSD.Edu (Robert Rother) writes:
++
++ Can anyone tell me what the special tricks might be to get ATT C++
++ Version 1.2 to run on a SUN. After running the bsd.fix script and
++ then running make I get a cfront that hangs. The version of cfront
++ that is produced during the first stage "scratch" works correctly
++ but the second version that is produced from the c++ source files
++ hangs. Also the munch programs seems to core dump.
++
++ Any help would be greatly appreciated.
This problem occurs frequently when porting AT&T's C++ to a new
machine. Check out their <stdio.h> file in ./incl/stdio.h. I'll bet
you'll find that the fields in struct _iobuf are incorrect for your
machine. Take a look at the standard Sun stdio.h file from
/usr/include. That will show you how the fields should be defined.
I hope this problem is fixed in 2.0...
Doug
--
On a clear day, under blue skies, there is no need to seek.
And asking about Buddha +------------------------+
Is like proclaiming innocence, | schmidt@ics.uci.edu |
With loot in your pocket. | office: (714) 856-4043 |