Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 2014 03:11:25 -0500
From:      Daniel Morante <daniel@morante.net>
To:        freebsd-ports@freebsd.org
Subject:   Use GCC only for specific ARCH
Message-ID:  <5488002D.6080200@morante.net>

index | next in thread | raw e-mail

[-- Attachment #1 --]
I have a port that builds fine on a 9.3 amd64, but on 9.3 i386 it fails 
on this line:

inline int64 GetMaxMoney() { return nBestHeight <= HARDFORK_HEIGHT_1 ? 
50000000000 * COIN : 25000000000 * COIN; }

With the following error:

"integer constant is too large for 'long' type"

If I add "USE_GCC=yes" to the port's Makefile, it builds successfully on 
i386.  I'd like to apply this 'fix' only to the 32-bit platform so I did 
the following:

.if ${ARCH} == "i386"
USE_GCC=yes
.endif

Is that the 'correct' way to do things?

The port can be found here:
https://github.com/tuaris/FreeBSD-Coin-Ports/blob/master/ports/kittehcoin/Makefile#L80 



[-- Attachment #2 --]
0	*H
010	+0	*H

G00mOj3""2zq0
	*H
010	UUS10	UUT10USalt Lake City10U
The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and Email0
110428000000Z
200530104838Z010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA0"0
	*H
0
[KW^/@ȣSX_fe2N2}UxLUB'qi2@'Vbqi c^`ʢAjHmeC*.+c8w߱ڂ2jgo \5Tq
7
PSlY1	LR@[HhJ$:q_㬿;%qh=XF<hmz!W42~JRrd&N`ohQcB}"cөΞD\[5K0G0U#0g}ĝ&pKPH|=n}0UzNt[xcd'/[y{0U0U00U 
00U 0XUQ0O0MKIGhttp://crl.usertrust.com/UTN-USERFirst-ClientAuthenticationandEmail.crl0t+h0f0=+01http://crt.usertrust.com/UTNAddTrustClient_CA.crt0%+0http://ocsp.usertrust.com0
	*H
־xWUm3DRB
JAIZҭsn>&|L0(B<%>
u=9fѡMo(ltZڱuz/yVtCr`9 G:eH<=%`I?C
3_н`j;:<I3B)93i.EMiڀ=]|Gm]W0KID~y83:]&XaU!ՙC@B0Ұun0%0
R9cIZ>gT0
	*H
010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA0
140406000000Z
150406235959Z0#1!0	*H
	daniel@morante.net0"0
	*H
0
a4eBQTdsn*ߪQoZL<gy G(v/WĬnWeQssGتx6K~3QqҟQR&rr0ĭF8%Qw-*vjJH0IUeیlKQa>0Fb#*r;}l! cbB{OJ3.H&<!U*hG00U#0zNt[xcd'/[y{0Um4N	)
 >u0U0U00 U%0++10	`HB 0FU ?0=0;+10+0)+https://secure.comodo.net/CPS0WUP0N0LJHFhttp://crl.comodoca.com/COMODOClientAuthenticationandSecureEmailCA.crl0+|0z0R+0Fhttp://crt.comodoca.com/COMODOClientAuthenticationandSecureEmailCA.crt0$+0http://ocsp.comodoca.com0U0daniel@morante.net0
	*H
ooxoǃ@
v_nz\tThiS*%6uCi-Qlz(?dFi
tmBfFro<6VpIWAHM¼hVIM"=|^]Ċ>$%p^jp(kТ 3Vt~¾}{*
d䏧L;6KBbnlǬ_"z6'NTCts+ozT}100010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CAR9cIZ>gT0	+E0	*H
	1	*H
0	*H
	1
141210081125Z0#	*H
	1^d"9۴/0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+710010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CAR9cIZ>gT0*H
	1010	UGB10UGreater Manchester10USalford10U
COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CAR9cIZ>gT0
	*H
%Cxk-lk$'B3?qNc2N!XƧ=ߣIԽVXMO08PZJ@>i,
xilv
C{IEI`Z<?|m	L#Z>;'mG^f1qSNZWH$rV<qU(S]~2Nx_DDGpqg\R΂6{$P K]!
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5488002D.6080200>