home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!gatech!concert!sas!mozart.unx.sas.com!walker
- From: walker@twix.unx.sas.com (Doug Walker)
- Subject: Re: SAS/C 6.0 Details (LONG!)
- Originator: walker@twix.unx.sas.com
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <BtuLyp.J5D@unx.sas.com>
- Date: Mon, 31 Aug 1992 12:42:25 GMT
- References: <Bt8H7F.BL8@unx.sas.com> <BsxCu2.5A7@unx.sas.com> <rwm.714413035@atronx.OCUnix.On.Ca> <BtHr2H.DD7@unx.sas.com> <fgd3.01rf@nifty.UUCP> <Btn8Ju.8Dy@unx.sas.com> <fgd3.01sv@nifty.UUCP>
- Nntp-Posting-Host: twix.unx.sas.com
- Organization: SAS Institute Inc.
- Lines: 52
-
-
- In article <fgd3.01sv@nifty.UUCP>, fgd3@nifty.UUCP (Fabbian G. Dufoe, III) writes:
- |> This was the only surprise in the replies to my earlier question about
- |> using 1.3 headers with version 6.0 of the compiler. Why won't the V5
- |> SAS/C-provided files work with V6? Is it because they are lcompacted (in
- |> which case, the uncompacted files should work, shouldn't they?) or are there
- |> differences between the header files SAS supplied and those Commodore
- |> supplied for 1.3?
-
- |> --Fabbian G. Dufoe, III
-
- No, actually lcompact'ed files will work fine with 6.0. The V5 files
- supplied by SAS Institute refer to symbols in the link libraries
- (as they must - that's one of the reasons they are there). These
- symbols have been renamed for 6.0. Some symbols were renamed in
- order to bring the library into ANSI compliance, others are internal
- symbols that changed because the library routine involved was
- reimplemented. Of course, V5 include files that are provided by
- Commodore would work fine.
-
- The same thing was true of the ANSI library supplement that we sent
- out last year at this time. If you compiled with the ANSI headers,
- then linked with the non-ANSI libraries, you would get undefined
- symbols. Your code would see the ANSI headers and generate
- references to a symbol that just doesn't exist in the non-ANSI
- libraries.
-
- So the upshot is that your 6.0 code would COMPILE just fine with
- the V5 headers. It just wouldn't link properly.
-
- Let me anticipate the next question: "Could I compile with the V5
- headers AND LINK WITH THE V5 LIBRARIES"? The answer to this is
- also no. Some mathematical operations require the compiler to
- jump to an out-of-line routine (for example, dividing a long by
- a long). The names of these out-of-line routines have changed
- to make them ANSI-compliant, so they won't be resolved if you
- link with the V5 libraries. (If you liberally used DEFINE
- statements in the linker, you could *probably* get it to work,
- but I haven't tried it, so I can't say for sure.)
-
- Hope this helps.
-
-
- --
- *****
- =*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
- *|. o.| || 1200/2400/9600 Dual
- | o |// For all you do, this bug's for you!
- ======
- usenet: walker@unx.sas.com bix: djwalker
- Any opinions expressed are mine, not those of SAS Institute, Inc.
-
-