I need a guide to compiling using GCC
Is anybody able to publish a guide for compiling Binarys using GCC?
The gcc package itself is genrally not very helpfull, and I dont have access to .NET Visual Studio. I noticed in another thread that gcc is the only free compiler that is supported (WOW, the search button got used). hehehe Well thanx guys |
I need one of these as well because unless I find a friend with VS.net 2003 or Visual C++, I'm going to have to use GCC to compile with. I found the following link
http://www.everquestserver.com/forum...&highlight=gcc And I am searching the site and google but would love it if someone who has already compiled EQEMU with GCC could post what they did to get it working. |
|
Thanx, but I learnt to use MS Visual C++ since my original post. EQEmu compiles beautifully
|
First thanks for the link Trumpcard and thanks moonphoenix for the files. I unfortunately am having trouble with both. I won't go into all of the file problems here since they involve a different topic but I would like a bit more help with gcc if I could get it.
I went to gcc.gnu.org and downloaded what I believe is gcc_3_3_2 fron cvs. I downloaded it that way because I don't know anything about tar.gz or gzip even after playing the program. Now that I have the files (in some form) I don't know what to do with them. I went back to the GCC site and read a fair deal of documentation, including a section on "Installation" of gcc. None of what I read made much sense and what did got me worried that I needed about ten other programs to compile the compiler GCC. If that is the case then I'm probably not going to learn anything more about GCC, because I know when I'm way out of my league. And with this stuff, I'm getting really close. I also downloaded and installed cygwin because I was under the impression, from other posts I've read, that I needed cygwin to run GCC under windows. I've read over the help file you posted Trumpcard several times but I cannot see where I am supposed to do the "cd world," "make" and other commands. I would assume in the gcc program but I'm at a loss as to how I turn the GCC files I downloaded into a program and I'm also at a loss as to how I run GCC in cygwin. I have some ideas, and I've tried some things but nothing I've tried has worked. What I want to know is do I need to compile GCC to run it so that I can compile world.exe, zone.exe and EMUSharMem.dll? If I don't need to do all that, then how do I run GCC? Through cygwin somehow? What commands do I need to get it to run in cygwin? Just so you know, I'm on a WinXP machine with a P4 1.4gh processor. I have 512 mb ram and 40gigs HD. I'm starting to think finding a person who has a copy of Visual Studio might not be so hard after all compared with getting GCC to run on a windows machine. |
From reading over your post, my recommedation is that you wait till the binary is released. It is going to be ALOT of work for someone completely unfamiliar with development to try and set up the compiler, figure out how to compile the code, then set up and run the server. I dont want to discourage you from trying if you are wanting to learn, buit if you just want the server software as the end product, you're going to go through ALOT of effort for very little.
gcc is a linux compiler, it's not going to do any good downloading it for windows. Those install instructions are for a linux build of EQEMU, it 1st off requires LINUX. There are no instructions for building gcc or setting up your compiler, in the linux world, thats typically taken care of for you, and as such is left as an exercise for the reader. cygwin is a LINUX port to windows (another OS, not WINDOWS) that will run within the wndows machine, it has gcc as a part of it. for people that want to play with the code and compile, and dont want to buy a compiler, its the best best. I've never built and run eqemu from inside it, but I've been told it can be done. |
Yeah, I had a feeling I was getting into deeper water than I could tread but I wanted to try because it started off as a fun challenge. I am still a bit interested in learning some of this for it's own sake, especially cygwin, since it's on my computer but you don't have to teach me. I would love to hear from those people that said they got eqemu to compile from it, though. If one of those people would happen to read this and could step forward and say what steps they took to make it work, I'd love trying to duplicate their actions. But barring that, yeah, I don't see my setting up a DR server as being a likelihood. But this has been very educational despite the frustrations involved. I especially liked learning about CVS. I was amazed at how fast that program downloaded files with my slow connection.
|
The instructions I linked you too should work just fine for cygwin, so long as you have the mysql and zlib headers installed (you pick them as part of the install process)
You can use cvs inside of cygwin to pull down the source code, and then put them somewhere in your cygwin directory, and use the linux readme instructions to compile them. By all means, experiment, learn and feel free to post what you've been able to accomplish. I'd like to hear 100% that someone was able to compile, and run the latest eqemu code from within cygwin, it might put a stopper in the pieholes of everyone screaming about not wanting to buy Microsoft compilers... LOL.... |
Quote:
Quote:
Quote:
2) md eqemu 3) cd eqemu 4) cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/eqemu login 5) cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/eqemu -z3 co eqemu Now, you should be able to proceed by following the Linux instructions. I've got to agree w/ Trump, though... This isn't worth it for you, unless your goal is just to learn something new. The process will require that you learn many new technologies. OTOH, becoming proficient with the system will open all kinds of new doors for you. p.s. You may have to modify/disable the sharedmem stuff for a cygwin compile. |
Quote:
'I run Linux' You know as well as I do when dealing with endusers (ie computer neophytes) that you have to roll everything up and simplify it. Most complain about it, but all experts in any industry have to do it and deal with it when dealing with people outside of their specialization. I bet you're one of those people that whines about the fact that the term 'hacker' was stolen by the media... I'm going to create an xml .dtd file with an <anal> element for you people!!! I understand what you are saying though, it can always be firstrating seeing your work misrepresented/misunderstood, but it's the round the table game.... LOL |
All times are GMT -4. The time now is 07:34 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.