Subject: can lang/gcc3 compile 64bit?
To: None <tech-pkg@NetBSD.org>
From: Charlie Allom <charlie@rubberduck.com>
List: tech-pkg
Date: 01/18/2004 11:25:28
--Apple-Mail-2--558435384
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed

Hi,

I am using lang/gcc3 on my Solaris 9 box as the only compiler, and for 
things in pkgsrc all is going well. But I am trying to compile ipfilter 
and it complains I cannot make 64bit programs...

11:18 lazy:~/ip_fil3.4.33pre2% make solaris
if [ ! -f netinet/done ] ; then \
         (cd netinet; ln -s ../*.h .; ln -s ../ip_*_pxy.c .; ); \
         (cd netinet; ln -s ../ipsend/tcpip.h tcpip.h); \
         touch netinet/done; \
fi
CC="gcc -Wstrict-prototypes -Wmissing-prototypes" ./buildsunos
Testing compiler gcc for 64 bit object file generation.
No 64 bit capable compiler was found
*** Error code 1
make: Fatal error: Command failed for target `solaris'
zsh: 20841 exit 1     make solaris

What does this do in the gcc3/Makefile?

.if ${OPSYS} == "SunOS"
         -cd ${GCC_ARCHDIR}/include && ${RM} -f fixed && ${RMDIR} v7 v9
.endif

Regards,
   C.
-- 
  charlie@rubberduck.com - Melbourne, Australia
  http://rubberduck.com/~yeled/
  PGP: 0x14AA7941 || finger yeled@lazy.spodder.com

--Apple-Mail-2--558435384
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFACdJ4qiZDwhSqeUERAiffAKCIBGHG6g8pdUXX/50cwm//zR1ACgCfVEOI
zfs80OXGSTvw0LYhD7XW2KM=
=pp1W
-----END PGP SIGNATURE-----

--Apple-Mail-2--558435384--