[Prev][Next][Index][Thread]
Re: ANNOUNCE (Linux): svgalib "soon"
-----BEGIN PGP SIGNED MESSAGE-----
On Sat, 2 Sep 1995, Jared Roberts wrote:
> Date: Sat, 2 Sep 1995 22:22:32 -0700 (PDT)
> From: Jared Roberts <root@dontmailhere.cyberspace.com>
> To: executor@nacm.com
> Subject: Re: ANNOUNCE (Linux): svgalib "soon"
>
> >
> > if i compile using the ELF makefiles in src and gl things go ok but if i
> > try to use these i get this error (i was trying to run zgv since it loads
> > fast).
>
> What are you using to compile? I've done "ln -sf Makefile.elf Makefile"
> in both of those directories, and it won't compile for me. I'm doing a
> "make installheaders" and "make all", but it tells me to "make install"
> first, which the README.ELF tells me NOT to do... hmm...
ok, here's what i do. i didn't use the main Makefile for anything. i
go into src, rm Makefile (the link), and make a new softlink to
Makefile.elf. i repeat the process for the gl dir. next, in either
the src or gl dir i do a 'make clean' and then a make all. it
compiles fine with some errors relating to unused defs or something
(can't recall exactly). the errors are only when compiling
libvga.so.1.2.7. i get zero errors with libvgagl.so.1.2.7.
> > after make is complete, i move these files to /usr/lib and run ldconfig.
> >
> > libvga.a
> > libvga.so.1.2.7*
> > libvgagl.a
> > libvgagl.so.1.2.7*
>
> Ok, this sounds right. Although I thought "make installheaders" or
> something had already done this for you...
as far as i know, make installheaders just moves the .h files to their
proper local. it has nothing to do with the libs i listed above.
> > additionally, if i want to build the aout format i put -b
> > i486-linuxaout on the CFLAGS line of the makefile. this appears to do
> > nothing as the library that comes out is still ELF.
>
> Did you make clean first? And are you adding "-m i386linux" to the
> LFLAGS line?
i didn't do that. i thought that was necessary if you had a 386.
here's something from the src/Makefile.elf
- ----
# You might want to add -m386 here if you have a recently installed
# (486 configured) compiler on a 386. The only real difference is the
# generous alignment padding of function entry-points for the 486.
- ----
i think one problem is that the DLLFLAGS in the elf makefile is set to
- -fPIC, which i know is what tells the compiler to produce and ELF
library. i don't have a clue what i should change this too as it's
not set in the Makefile.aout
if anyone has successfully built (and used) this under ELF, PLEASE WRITE!!!
patrick finerty = zinc@zifi.genetics.utah.edu = pfinerty@nyx.cs.du.edu
U of Utah biochem grad student in the Bass lab - zinc fingers + dsRNA!
** FINGER zinc-pgp@zifi.genetics.utah.edu for pgp public key - CRYPTO!
zifi runs LINUX 1.2.11 -=-=-=WEB=-=-=-> http://zifi.genetics.utah.edu
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
iQCVAwUBMEnUzk3Qo/lG0AH5AQGK3gP6A6nJlmAgQb1fS8dw06ZClk4jxyJCXM4H
O+7ODFd5e2rdZWZBvZevL6ePQPb+/n3kqUM5Oc1pyeqrAb9L2YgZWSKomAxwmb9d
cseq/RDg2NcPow3lCqgyV9Ovpp0dDzs85YrAsBswyt+TY4BrudBxtS3EGwn+jEsa
gH04UEUJ4Hw=
=8fSP
-----END PGP SIGNATURE-----
Follow-Ups:
References: