Problem with 64 bit gnu ld on sparc (sol8)



I'm using solaris 8 and have a problem with the installed gnu ld linker:

Having downloaded gcc-3.3.2
http://www.sunfreeware.com/programlistsparc8.html#gcc33
it seems there are a few weird things going on:

ld -r temp/SunOS_sparc/to_be_fixed.o temp/SunOS_sparc/cinclude.o -o
temp/SunOS_sparc/rtw.o

ld: warning: sparc:v9 architecture of input file
`temp/SunOS_sparc/to_be_fixed.o' is incompatible with sparc output

If both files are 64 bit why does it try to default to 32 bit output?

Is there a switch to change it to 64 bit?

Thanks in advance.

-- Henrik


.



Relevant Pages

  • Re: Link warning and error, what do they mean?
    ... > The linker could not find filename because it does not exist or the path was ... What would anybody mean by "input file"? ... it is possible that an obj file is not the result of compiling any ... compilation phase or taken from the project settings. ...
    (microsoft.public.vc.ide_general)
  • Change in sort dictionary order in Solaris 10
    ... It seems that `sort -d' behaves differently in Solaris 10 when ... the input file contains 8-bit characters. ... sorts without change in Solaris 9, but this way in Solaris 10: ...
    (comp.unix.solaris)
  • Re: Link warning and error, what do they mean?
    ... LINK: fatal error LNK1181: cannot open input file ... The linker could not find filename because it does not exist or the path was ... linker not linking in the correct order? ...
    (microsoft.public.vc.ide_general)
  • Read line at at time and split up that line
    ... I am using ksh on Solaris and want to know is there a more acceptable ... way to read a line from an input file and divide it up based on field ...
    (comp.unix.shell)
  • cannot compile 2.3.2 missing Modules/Setup.config.in
    ... I am on Solaris 2.9. ... config.status:20: error: cannot find input file: ... someone else posted this same error on a different platform. ... Kammy ...
    (comp.lang.python)