"Juan" == Juan Cespedes <[EMAIL PROTECTED]> writes:
Juan> Please, someone, answer this telling us how do you manage to
Juan> compile things with the new libc6.
Assuming you have libc6-dev, etc., just install this as
usr/lib/gcc-lib/sparc-linux/2.7.2.1/specs:
-- snip --
*asm:
%{V} %{v:%{!V:-V}} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Wa,*:%*} -s %{fpic:-K PIC}
%{fPIC:-K PIC}
*asm_final:
%{pipe:-}
*cpp:
%{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__}
%{msparclite:-D__sparclite__} %{mv8:-D__sparc_v8__}
%{msupersparc:-D__supersparc__ -D__sparc_v8__} %{posix:-D_POSIX_SOURCE}
*cc1:
%{sun4:} %{target:}
*cc1plus:
*endfile:
crtn.o%s
*link:
-m elf32_sparc -Y P,/usr/lib %{shared:-shared} %{!shared: %{!ibcs:
%{!static: %{rdynamic:-export-dynamic}
%{!dynamic-linker:-dynamic-linker /lib/ld-linux.so.2}}
%{static:-static}}}
*lib:
%{!shared: %{mieee-fp:} %{!ggdb:-lc} %{ggdb:-lg}}
*libgcc:
%{!shared:-lgcc}
*startfile:
%{!shared: %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} crti.o%s
*switches_need_spaces:
*signed_char:
%{funsigned-char:-D__CHAR_UNSIGNED__}
*predefines:
-D__ELF__ -Dunix -Dsparc -Dlinux -Asystem(unix) -Asystem(posix) -Acpu(sparc)
-Amachine(sparc)
*cross_compile:
0
*multilib:
. ;
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble? e-mail to [EMAIL PROTECTED] .