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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bd3300f3a56e7f45 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2004-03-17 19:47:30 PST Path: archiver1.google.com!news1.google.com!news.glorb.com!wn51feed!worldnet.att.net!attbi_s03.POSTED!not-for-mail From: "Steve" Newsgroups: comp.lang.ada References: Subject: Re: different compilers: different standard types????? X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: NNTP-Posting-Host: 24.20.111.157 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s03 1079581650 24.20.111.157 (Thu, 18 Mar 2004 03:47:30 GMT) NNTP-Posting-Date: Thu, 18 Mar 2004 03:47:30 GMT Organization: Comcast Online Date: Thu, 18 Mar 2004 03:47:30 GMT Xref: archiver1.google.com comp.lang.ada:6389 Date: 2004-03-18T03:47:30+00:00 List-Id: In my opinion the best approach would be to either find or write an automated tool to modify the existing sources such that they do not use standard types that vary in size depending on implementation. For integral values define types in terms of ranges, for floating point values define types in terms of precision requirements. You could use the types defined in the Interfaces package, but would be better to use your own types based on your application. You can probably find someone to convert your sources by searching the Web. If you choose to do the work yourself, you may want to have a look at ASIS. I hope this helps, Steve (The Duck) "Riccardo" wrote in message news:c391gu$5c3$1@e3k.asi.ansaldo.it... > Hello everybody! > > I've got a problem. > Using an old program that now my Firm wants to make running on different > kind of consoles simoultaneously I see that my compilers (I have two of > them) are different ones depending on the fact that the word lenght is > different (32 vs 64 bit). > > Specifically: I noticed that the type long_long_integer, that is used on > the first one, is not present at all on the second one. > > I'm looking for a solution that should permit me to compile the software on > both the environments making, obviously, the least changes on the current > version. > > The same product, in the end, should be compiled on both the consoles > without making changes! (it is possible!?!??!!??!) > > Is there someone who has any kind of easy solution for that problem?? > > Thanks in advice, > > > Riccardo > > >