On Wed, Nov 13, 2002 at 03:29:55PM +1100, SH wrote: > I am having some difficulty trying to compile a program so that it can run > on both sun4u and sun4m machines. The gcc (v3.1.1) compiler currently sits > on a SUN ultra sparc (sun4u) machine.
A little more info might help, but here goes anyway. Depending upon how gcc was configured, it may be generating code for the ultrasparc by default. Try adding `-mcpu=v8' to your CFLAGS. Cheers, John -- whois [EMAIL PROTECTED] GPG key id: 0xD59C360F http://kirriwa.net/john/ -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
