The simple "Hello World" program worked on both platforms so I don't think
2.6->2.7 is the issue. This is really bizarre.
Thanks anyway,
--SH
-Original Message-
From: John Clarke [mailto:johnc+slug@;kirriwa.net]
Sent: Thursday, 14 November 2002 11:14 AM
On Thu, Nov 14, 2002 at 10:15:50A
On Thu, Nov 14, 2002 at 10:15:50AM +1100, SH wrote:
> The older SUN machine actually runs solaris 2.7 while the "newer" one still
> runs 2.6. I would have thought that programs compiled in 2.6 should be
> forward compatible with 2.7. I was using gcc 3.1.1 on the sun4u machine.
I'd expect them t
John,
The program that I was trying to compile is net-snmp. The flag that you
suggested didn't seem to affect the output of the binaries for some reason.
The older SUN machine actually runs solaris 2.7 while the "newer" one still
runs 2.6. I would have thought that programs compiled in 2.6 should
On Thu, Nov 14, 2002 at 07:37:52AM +1100, Jan Schmidt wrote:
>
>
> > Thanks for the advice. I added "-mcpu=v8" in the CFLAGS during compilation
> > but the executables generated are still limited to ultra sparc machines or
> > higher. The original binary format is of form "ELF 32-bit MSB executab
> Thanks for the advice. I added "-mcpu=v8" in the CFLAGS during compilation
> but the executables generated are still limited to ultra sparc machines or
> higher. The original binary format is of form "ELF 32-bit MSB executable
> SPARC Version 1, dynamically linked, stripped" while the new one i
On Wed, Nov 13, 2002 at 04:41:32PM +1100, SH wrote:
> Thanks for the advice. I added "-mcpu=v8" in the CFLAGS during compilation
> but the executables generated are still limited to ultra sparc machines or
> higher. The original binary format is of form "ELF 32-bit MSB executable
> SPARC Version 1
1.1
BUILD: sun4u
cheers,
--SH
-Original Message-
From: John Clarke [mailto:johnc+slug@;kirriwa.net]
Sent: Wednesday, 13 November 2002 3:46 PM
To: [EMAIL PROTECTED]
Subject: Re: [SLUG] Compilation in C
On Wed, Nov 13, 2002 at 03:29:55PM +1100, SH wrote:
> I am having some difficulty tryin
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
Hi all,
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.
Any assistance would be great.
cheers,
--SH
--
SLUG - Sydney Linux User's Group - http://slug.org.