EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   Should I change -Di386 entries in the makefiles? (https://www.eqemulator.org/forums/showthread.php?t=29564)

prickle 09-16-2009 02:40 PM

Should I change -Di386 entries in the makefiles?
 
Hi,

I've already compiled the server and have it running. Everything appears to be running fine at this point, including the bots. However, I couldn't help but notice that when I did my original compile I had to change all of the 'march=i686' entries to 'march=athlon64'. This makes me wonder whether I should change the '-Di386' DFLAG to '-Dathlon64' as well in the sake of thoroughness?

I usually stick with "if it ain't broke don't fix it", but curiosity has me wondering if it'll be 'better'...

Thanks for any input you may have.

cybernine186 09-17-2009 12:28 PM

You know I was wondering the same thing....I would also like to know the answer to this one but its above me.

Also in some of the makefiles they do not have a -D flag, does some of the applications not require it or just not specified just because?

prickle 10-02-2009 02:10 PM

I've figured it out enough for myself to understand at this point with the help of some Google Fu.

The -Di386 needs to stay as that's the basic architecture. The -march=xxxxxxx is the optimization instruction set to compile into the binary during compile. Essentially, Intel and AMD 64 bit processors are x86 processors with their individual 64 bit optimizations...

As for your question with some makefiles with and without the -D flag, i believe the ones without are being called upon by other makefile(s) and inherit the -D flags from those files.


All times are GMT -4. The time now is 07:34 PM.

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