> > Just add "-m elf64_sparc" to this command line. Maybe there's someway > > you can set in the env. Try setting what var is "/usr/bin/ld" to > > "/usr/bin/ld -m elf64_sparc". > > That solved it!!!! > > Now how could I get that inside the /usr/bin/ld, unless I alias it? Maybe it > should be in the configure or the makefiles. > > P.D.: I'm send a copy to Peter Eisentraut, who is a PostgreSQL core > developer, > and a Linux SPARC user.
I'm not sure of the best way, since I don't know how the build system in PostgreSQL works. The configure script would be the likely place, but it would also be a sparc64 specific addition. Other 32/64 architectures would need similar fixes, and those types of systems are increasing in number. I would suggest something close to ditching calling ld directly, so that the CC env can make things work smoothly. -- Debian - http://www.debian.org/ Linux 1394 - http://www.linux1394.org/ Subversion - http://subversion.tigris.org/ WatchGuard - http://www.watchguard.com/

