From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3d1cea874f1ecb92f7c47bd15cbc8eb9.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199706131953.PAA25475@rrdjazz.nist.gov> Date: Fri, 13 Jun 1997 12:58:37 -0700 From: Kelvin Lunsford Subject: RE: Compiling 64 bit code >Kelvin Lunsford wrote: >> > >Does anybody out there know of a C compiler (DEC/GCC/NT) for the >>Alpha processor which will let you set the default int size to 64 > >bits. This is for an embedded application, the resulting binaries > >would not be running under an operating system. > >How about: > > % gcc -Dint=long "-Dunsigned=unsigned long" > Wouldn't this convert an "unsigned char" to "unsigned long char"? I assume this has about the same effect as typedef's. What I'm looking for is a compiler that will use 64 bit integral promotion when expressions are evaluated. The Alpha is a native 64 bit machine and the C language is supposed to have an int size which is optimized to the target machine so that the most efficient code can be generated. Unfortunately too much C code has been written which uses 32 bit int's, so rather that fix the C programs the Alpha compilers were made to generate extra code which does all of the conversions and testing to make the int's look like they are 32 bits. I think it is great that a compatibility mode exists so that older programs can be supported, but it's not a compatibility mode, IT'S THE ONLY MODE. Kelvin Lunsford, kelvin@qantel.com Principal Engineer Qantel Technologies, Inc. begin 600 WINMAIL.DAT M>)\^(B83`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$-@ 0` M`@````(``@`!!) &`!P!```!````# ````,``# #````"P`/#@`````"`?\/ M`0```$4`````````@2L?I+ZC$!F=;@#=`0]4`@````!A>' M;&ES=$!R961H M870N8V]M`%--5% `87AP+6QI``(P`0````4` M``!33510`````!X``S !````% ```&%X<"UL:7-T0')E9&AA="YC;VT``P`5 M# $````#`/X/!@```!X``3 !````%@```"=A>' M;&ES=$!R961H870N8V]M M)P````(!"S !````&0```%--5% Z05A0+4Q)4U1 4D5$2$%4+D-/30`````# M```Y``````L`0#H!`````@'V#P$````$`````````Y M=>@7X]X1T(G=`&",>>V7```>`!X,`0````4```!33510`````!X`'PP!```` M$@```&ME;'9I;D!Q86YT96PN8V]M`````P`&$$>();\#``<0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!=!/)^!;G4L<_&< ,@WD49@&6Q!) >15&,DS1 _060:":0%V".4 >0B-&- MP L^1A;Q`)%@```#`! 0`0````,`$1 !````0 `',,"R$AXK>+P!0 `(,,"R <$AXK>+P!'@`]``$````%````4D4Z( ````!FU `' ` end -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com