[Aurora-sparc-devel] [SPARC64] libpng10-1.0.18-1.fc3.src.rpm

Christian Joensson christian.joensson at gmail.com
Tue May 16 07:30:06 EDT 2006


Maybe a bit off topic here, let me know if I should drop this(these?)
thread(threads), for now, I hope you can accept the information herein
as memory support for me and others interested until the foot is set
down on what the Aurora project wants with sparc64 variants...]

Now, libpng10...

barfs like this:

gcc -shared -Wl,-soname,libpng.so.2 \
-o libpng.so.2.1.0.18 \
png.pic.o pngset.pic.o pngget.pic.o pngrutil.pic.o pngtrans.pic.o
pngwutil.pic.o pngread.pic.o pngrio.pic.o pngwio.pic.o pngwrite.pic.o
pngrtran.pic.o pngwtran.pic.o pngmem.pic.o pngerror.pic.o
pngpread.pic.o
/usr/bin/ld: warning: sparc:v9 architecture of input file `png.pic.o'
is incompatible with sparc output

due to not being able to build shared libs... again, -m64 fixes it, in
the libpng10 case, howeverm a simple CC='gcc -m64' in front of the
rpmbuild command
does not do the trick for me here...

gcc -m64 -shared -Wl,-soname,libpng.so.2 -o libpng.so.2.1.0.18
png.pic.o pngset.pic.o pngget.pic.o pngrutil.pic.o pngtrans.pic.o
pngwutil.pic.o pngread.pic.o pngrio.pic.o pngwio.pic.o pngwrite.pic.o
pngrtran.pic.o pngwtran.pic.o

-- 
Cheers,

/ChJ


More information about the Aurora-sparc-devel mailing list