Reply 620 of 862, by Maraakate
- Rank
- Oldbie
I'm currently trying to figure out how to dxe it all so in theory all one would need is to change the glide3x.dxe for the voodoo card you need.
I'm currently trying to figure out how to dxe it all so in theory all one would need is to change the glide3x.dxe for the voodoo card you need.
Is it possible to statically link the glide lib with the gl lib? I guess the alternative is to have both dxe's co-exist, is that possible? Perhaps the static link (gl with glide only) is expedient and then revisit the other way later?
Perhaps the static link of glide with the gl would be efficient if possible.
Edit: it looks like he makefile.DJ in /mesa/src/ does this to make dxe:
$(LIBDIR)/$(GL_LIB): $(OBJECTS) $(AR) $(ARFLAGS) $(LIBDIR)/$(GL_LIB) $(OBJECTS) -dxe3gen -o $(LIBDIR)/$(GL_DXE) -I $(LIBDIR)/$(GL_IMP) -D $(LIBNAME) -E _gl -E _DMesa -P glid3.dxe -U $(OBJECTS)
Is it reasonable to statically link the mesa lib with q2dos and then use the glide3 for dxe only?
it won't link the lib in there unless we call it for something... unless theres a way to force linking the library into the binary?
I just got it all working. The order is slightly picky, and had to add a few exports.
I could test a couple of things if you think it would help. I am a bit lacking on the dxe configuration.
Edit: you got it already, wonderful!
That -E parameter for dxe3gen looks helpful for mass exporting. I know you have used that but just now realized its use toward large libs.
I don't seem to have sst1 or cvg or any of that in my /glide3x.src dir?
Here it is: Quake2 + Acebot for DOSBox (128mb).
I just saw your commit and your dxe method looks like it was difficult to implement.
It's not working properly with the voodoo 1. i have to rebuild fresh and see why...
I can use the original source from that post and try to rebuild.
It worked fine. Used djgpp204/gcc295, but it's possible that there is some other difference between environments? I could test with newer gcc and djgpp204 if it would help....
I would also use the attached archive by itself and move away any other files, such as in swlibs from another archive, if that's any issue.
Which makefile did you use?
I just tested again with the makefile from that archive posted earlier (the link is a few posts up).
I had to do a fresh full reboot of the one computer but the ref_gl.dxe works on the voodoo 2.
I thought you meant you just tested ref_gl.dxe and q2fx_dxe.exe
I apologize, my thinking is not anywhere near peak at the moment. 😀 Glad it worked though!
I was just testing with the archive (source code for gl) I posted earlier. I have yet to test your latest work.
wrote:I would also use the attached archive by itself and move away any other files, such as in swlibs from another archive, if that's any issue.
I don't understand. I only extracted the glide3-sst-cvg\glide3x dir and ran the makefile with USE_X86=1 FX_GLIDE_HW=sst1
Bah haha! I was accidentally using regular dosbox, 😁
That is correct what you did. We used the same build method.