Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-08-2005, 08:54 AM
wize_one
Dragon
 
Join Date: Jan 2004
Location: LasShithole, NV
Posts: 520
Default MS releases a free C++ compiler

see http://forums.microsoft.com/MSDN/Sho...26606&SiteID=1 for more details.

mods, move or delete if you want-need to.. i happened to come across this and thought i would share
__________________
Perfect quote from another site: it's immature pricks who refuse to read the numerous stickies in every forum pointing out what to do and what not to do that get flamed. Grow up and learn to do your fucking homework before opening your cake hole, junior. EQEmu doesn't like you anymore, and that's why you're getting errors. So go away.
__________________
Reply With Quote
  #2  
Old 11-08-2005, 11:35 AM
stefann
Sarnak
 
Join Date: Jul 2005
Posts: 39
Default

FOR 1 YEAR!!!!! If you REALLY need a free Windows C/C++(god forbid) compiler get MingW.

EDIT: I was wrong sorry, I gotta get my hands on these.... C#, VB.NET, ASP.NET, C++(.NET), screw MSSQL, but still, woohooo.
__________________
They are watching, BEWARE!

Last edited by stefann; 11-08-2005 at 07:40 PM..
Reply With Quote
  #3  
Old 11-08-2005, 02:36 PM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

I agree. Get MinGW.
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #4  
Old 11-08-2005, 03:37 PM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

Get MinGW... then try to get eqemu to work under it...
Reply With Quote
  #5  
Old 11-08-2005, 08:35 PM
Belfedia
Demi-God
 
Join Date: Jan 2005
Posts: 1,109
Default

Yes GNU/GPL power
__________________
__________________________________________________ _____________________________________
I speak english like a spanish cow..., I speak spanish like a english pudding...
But I try to speak good french !!! (Non au langage SMS sur forum)
http://eqfroggy.new.fr : Froggy French Server Website.
Reply With Quote
  #6  
Old 11-09-2005, 07:35 AM
stefann
Sarnak
 
Join Date: Jul 2005
Posts: 39
Default

Quote:
Originally Posted by fathernitwit
Get MinGW... then try to get eqemu to work under it...
Hey, also, if you cant compile it nativley on MingW, you can compile it on Cygwin and it will compile a Windows Binary, but using the Linux libraries, basically Cygwin is a POSIX 'emulation' layer(acuatlly, exactly what it is), so anything you can compile on Linux can be compiled through it, but at a ~1/3 hit on performance, or you can try Services for Unix, but whatever. Just FYI. Actually, I should make a how-to to compile EQEMU under MingW and Cygwin....steal my idea if you want, will save me the time :P
__________________
They are watching, BEWARE!
Reply With Quote
  #7  
Old 11-09-2005, 11:51 AM
Cisyouc
Demi-God
 
Join Date: Jun 2004
Location: Heaven.
Posts: 1,260
Default

Quote:
anything you can compile on Linux can be compiled through it,
Not -everything-...
__________________
namespace retval { template <class T> class ReturnValueGen { private: T x; public: ReturnValueGen() { x = 0; }; T& Generator() { return x; }; }; } int main() { retval::ReturnValueGen<int> retvalue; return retvalue.Generator(); }
C++ is wonderful.
Reply With Quote
  #8  
Old 11-09-2005, 03:05 PM
stefann
Sarnak
 
Join Date: Jul 2005
Posts: 39
Default

Quote:
Originally Posted by Cisyouc
Not -everything-...
(most) everything, is that better???
__________________
They are watching, BEWARE!
Reply With Quote
  #9  
Old 11-09-2005, 08:46 PM
Belfedia
Demi-God
 
Join Date: Jan 2005
Posts: 1,109
Default

Don't stop your work stefann
I think eqemu compilation on free C++ is a good thing for all eqemu's user
All don't want go on linux for mod her source...
And Microsoft's stuff is expensive (And piracy is a crime :p).
__________________
__________________________________________________ _____________________________________
I speak english like a spanish cow..., I speak spanish like a english pudding...
But I try to speak good french !!! (Non au langage SMS sur forum)
http://eqfroggy.new.fr : Froggy French Server Website.
Reply With Quote
  #10  
Old 11-10-2005, 02:25 AM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

my post was not clear enough apparently... I have tried quite a bit to get emu to build and work under cygwin, and have not had any success... but carry on.

heres what I have checked in as a makefile.cygwin:
Code:
HCC=$(shell ccache -V 2>/dev/null)
ifneq (,$(findstring version,$(HCC)))
        CC=ccache gcc
else
        CC=gcc
endif

LINKER=gcc
MYSQL_FLAGS=-I/cygdrive/c/mysql/include
MYSQL_LIB=-L/cygdrive/c/mysql/lib -lmysqlclient -lz -lcrypt -lnsl -lm -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv
DFLAGS=-DEQDEBUG=5 -DCATCH_CRASH -DNO_PIDLOG -DSHAREMEM -DSPELL_EFFECT_SPAM -DFIELD_ITEMS -DCOMBINED -DAPP_OPCODE_SIZE=2
#try commenting out the following three lines to disable embedded perl
PERL_FLAGS=perl -MExtUtils::Embed -e ccopts
PERL_LIB=perl -MExtUtils::Embed -e ldopts
DFLAGS+=-DEMBPERL -DEMBPERL_PLUGIN -DHAS_UNION_SEMUN
WFLAGS=-Wall -Wuninitialized -Wwrite-strings -Wcast-qual  -Wstrict-prototypes -Wno-deprecated  -Wcomment -Wcast-align
COPTS=$(WFLAGS) -O -g -pg -march=i686 -pipe -D_GNU_SOURCE -DINVERSEXY -DFX -DZONE $(DFLAGS) $(MYSQL_FLAGS)
LINKOPTS=-rdynamic -L. -lstdc++ -ldl -lpthread $(MYSQL_LIB)

all: zone

include .depend

include makefile.common

.depend depend:
        echo $(SF) "" | sed -e 's#.obj/#../common/#g' -e 's/\.o/.cpp/g' | \
        xargs gcc -MM $(COPTS) `$(PERL_FLAGS)` >.depend
Reply With Quote
  #11  
Old 11-10-2005, 06:14 AM
stefann
Sarnak
 
Join Date: Jul 2005
Posts: 39
Default

Did you make sure to install the compilers and libraries needed by EQEMU under Cygwin???
EDIT: When I get home(at school, 14 years old, Jr. High sux) I'll try to see what I can do compiling it under CYGWIN, I have a 3 day weekend and all the time I want on my mom's 1.2GhZ AMD PC.
__________________
They are watching, BEWARE!

Last edited by stefann; 11-10-2005 at 02:16 PM..
Reply With Quote
  #12  
Old 11-10-2005, 06:25 AM
wize_one
Dragon
 
Join Date: Jan 2004
Location: LasShithole, NV
Posts: 520
Default

Quote:
Originally Posted by Belfedia
Don't stop your work stefann
I think eqemu compilation on free C++ is a good thing for all eqemu's user
All don't want go on linux for mod her source...
And Microsoft's stuff is expensive (And piracy is a crime :p).
the link is to a FREE C++ from microsoft.. IF you get it in the next year
__________________
Perfect quote from another site: it's immature pricks who refuse to read the numerous stickies in every forum pointing out what to do and what not to do that get flamed. Grow up and learn to do your fucking homework before opening your cake hole, junior. EQEmu doesn't like you anymore, and that's why you're getting errors. So go away.
__________________
Reply With Quote
  #13  
Old 11-10-2005, 07:27 AM
stefann
Sarnak
 
Join Date: Jul 2005
Posts: 39
Default

Quote:
Originally Posted by wize_one
the link is to a FREE C++ from microsoft.. IF you get it in the next year
ehem 'free' and 'microsoft' don't really mix, besides, if you REALLY want to learn/compile C++ code NOT written for M$'s .NET framework, it's not even worth it. Besides MingW is the direct Windows port of GCC(GNU(GNU's Not Unix) Compiler Collection) and is for one Open Source(GPL!! GPL!!!), still FREE(Bah, I know M$'s is, but whatever), AND on top of all of that its around a 20-50mb download last time I checked, compared to up to 600MB for Visual Studio Express Edition C++. Maybe I'm a Micro$oft basher, oh wait, I AM!!! I ONLY, ONLY, use Windows for my gaming, everything else can be done just as well(if not better) in Linux so *middle finger* Microsoft. Anyways getting off-topic, but yeah, why use a bloated Microsoft C++ compiler instead of a port of the best free C/C++ compiler in histroy.
__________________
They are watching, BEWARE!
Reply With Quote
  #14  
Old 11-10-2005, 11:25 AM
stefann
Sarnak
 
Join Date: Jul 2005
Posts: 39
Default

Fathernitwit, the Wiki seems out of date, I can't get the code off the CVS tree. What branch do I need to use?
__________________
They are watching, BEWARE!
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 08:21 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3