EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=621)
-   -   makefile for more targets (https://www.eqemulator.org/forums/showthread.php?t=11478)

smogo 01-21-2004 11:13 AM

makefile for more targets
 
Hi,

here is a command than i spawn after getting the cvs as 686 is too much for me:
Code:

perl -pi -e 's/march=i686/march=\`uname -m\`/' `find . -iname 'makefile*' `
Should work on BSD too.

This might not help much, as every one might have its own recipe, but ...

var1ety 01-21-2004 02:30 PM

According to gcc's manpage i686 encompasses everything from pentium pro onwards, so this command would only be relevant if you were running on a non-pro pentium (i586), a 486 (i486), or a 386 (i386).

So, as the OP indicates, this command isn't appropriate for everyone, but is surely appropriate for a few people.

Additionally, this would work fine on BSDs - we aren't so alien as people make us out to be =0

kathgar 01-21-2004 02:37 PM

He could be on a sparc, a risc, an alpha, a ppc, just about dozens of other arches than just x86

smogo 01-21-2004 05:49 PM

Quote:

Originally Posted by var1ety
if you were running on a non-pro pentium (i586), a 486 (i486), or a 386 (i386).

sorry if i missaid. my EQEmu actually runs on non-pro pentium :(

var1ety 01-21-2004 05:51 PM

I thought that because of endian problems eqemu was incompatible with systems that were not intel-endian, such as sparc?

kathgar 01-22-2004 04:12 AM

I don't think anyone has every tried. It might work, it might not. I don't think there would me that much endian specific code thats still in use. Might have to change some bitshifts but that should be it. We get nearly everything in network byte order, and net->host it and host-> net everything we send. You could always have an abstraction layer that does the endian swap for just eqemu procs. Again, speculation, never tried it.


All times are GMT -4. The time now is 02:28 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.