Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-16-2009, 02:40 PM
prickle
Hill Giant
 
Join Date: Sep 2009
Posts: 147
Default 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.
Reply With Quote
  #2  
Old 09-17-2009, 12:28 PM
cybernine186
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default

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?
Reply With Quote
  #3  
Old 10-02-2009, 02:10 PM
prickle
Hill Giant
 
Join Date: Sep 2009
Posts: 147
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:13 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3