From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,37250fa5151ff294 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-27 09:52:05 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!fr.clara.net!heighliner.fr.clara.net!feed-out.newsfeeds.com!newsfeeds.com!feed.newsfeeds.com!newsfeeds.com!news.hitter.net!news!news.crc.com!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: Ada on Ultra2/Ultra10 Date: Tue, 27 Mar 2001 11:10:39 -0600 Organization: CRC: A wholly owned subsidiary of Thermo Electron Message-ID: <99qhgh$7ft$1@hobbes2.crc.com> References: <7q2w6.10835$Wz.4167516@typhoon.ne.mediaone.net> NNTP-Posting-Host: 198.175.145.56 X-Trace: hobbes2.crc.com 985712977 7677 198.175.145.56 (27 Mar 2001 17:09:37 GMT) X-Complaints-To: abuse@crc.com NNTP-Posting-Date: 27 Mar 2001 17:09:37 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-Mimeole: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: supernews.google.com comp.lang.ada:6128 Date: 2001-03-27T17:09:37+00:00 List-Id: A possible cause is some library which is statically linked on the Ultra10, and dynamically linked on the Ultra2. The ldd command will show this. If that is the case, then the executable produced on the Ultra10 might not run on the Ultra2, because the dynamically linked library object wouldn't be there. You might also get some useful insight by linking with the map file option, and comparing the two maps. "Jeff Creem" wrote in message news:7q2w6.10835$Wz.4167516@typhoon.ne.mediaone.net... > I would say the most likely reason is that the two machines have somewhat > different libraries that are getting linked in. I do not expect that the > compiler > itself is producing any different code (unless you were to change switches). > Try just re-doing the a.ld on the Ultra 10 after doing the rest of the make > on the > ultra 1. > > Also, poke around in /usr/lib and I suspect you will find libraries of > different > sizes (either due to patches on one machine v.s. the other or architecture > specific libraries). > > > "Stian Kaasa" wrote in message > news:UT%v6.1895$NR.146162@news3.oke.nextra.no... > > Hi all > > I have built executables using VADS ADA v. 6.2.3 and SunOS 5.5.1. on two > > different platforms. First, on a Sun Ultra 2, and then on a Sun Ultra 10. > > > > The resulting executables are approx. 10 % smaller when I use Ultra 10 as > > compile engine, compared to when I use the Ultra 2 (same compiler and same > > OS ). > > > > Before I can put the executables into production, I must come up with an > > explanation to this. I suppose the reason has something to do with the > > different architecture on a Ultra 2 compared to a Ultra 10 (?) > > > > Any suggestions ? > > > > best regards > > Stian kaasa > > > > > >