glibc availability
I'm trying to compile things with my newly compiled libc6 package but I run
into troubles about some headers. So, I will not upload it to Debian site
now.
Nevertheless, I uploaded it to my site:
ftp://lix.polytechnique.fr/pub/Linux/debian/sparc/exp
You have to download the following files:
1386182 Jul 8 00:04 libc6-dev_2.0.90-970629-1_sparc.deb
741428 Jul 8 00:05 libc6_2.0.90-970629-1_sparc.deb
988576 Jul 8 00:05 locales_2.0.90-970629-1_sparc.deb
254792 Jul 8 00:05 timezones_2.0.90-970629-1_sparc.deb
921268 Jul 8 00:04 binutils_2.8.1-2.1_sparc.deb
162792 Jul 8 00:04 libbfd2.8.1_2.8.1-2.1_sparc.deb
and maybe these optional packages:
307110 Jul 8 00:04 libbfd2.8.1-dev_2.8.1-2.1_sparc.deb
4541934 Jul 8 00:04 libc6-dbg_2.0.90-970629-1_sparc.deb
554402 Jul 8 00:04 libc6-doc_2.0.90-970629-1_all.deb
1636860 Jul 8 00:04 libc6-pic_2.0.90-970629-1_sparc.deb
New binutils is needed to link with libc6.
You have to replace GCC specs file (/usr/lib/gcc-lib/sparc-linux/2.7.2.1/specs)
by the one provided in this mail as MIME attachement.
Get it and try it :-)).
Pay attention about libraries you link with your binaries. Don't link with
libg++, ncurses, slang... They have to be recompiled with libc6 before they
can be used.
Now I'm trying to build libg++ (with some glitches :-( ).
Good luck ;-)
--
Eric Delaunay | "La guerre justifie l'existence des militaires.
delaunay@lix.polytechnique.fr | En les supprimant." Henri Jeanson (1900-1970)
*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:
. ;
Reply to: