Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ ROM ➜ Compiling the server ➜ Newbie compiler

Newbie compiler

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Roffelos   (3 posts)  Bio
Date Thu 31 Oct 2002 04:16 AM (UTC)
Message
Ummmm, I'm a newbie compiler, and just getting into modifying the ROM code i downloaded here. I have Cygwin, AND Microsoft Visual C++. People are always telling me to type 'make', but WHERE??!??!!, and how can i...'load' merc.c to be compiler? If you could answer this, or point me to a good website, it would be greatly appreciated.

-Roff
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 31 Oct 2002 09:29 AM (UTC)
Message
One level up in the forum is a link to "Detailed information about doing compiles, getting a compiler, making changes, and other useful topics are in the web page How to make changes, including compiling.". Did you read that?

The short answer is under Cygwin, you have a "command" window (white on black where you type commands a line at a time). That is where you type the word "make".

Under Visual C++ you just do a Build.

Under Visual C++ you add the files to a project. Make a new "console" application, and add all the .c files to the project, and then do a Build.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Roffelos   (3 posts)  Bio
Date Reply #2 on Thu 31 Oct 2002 04:34 PM (UTC)
Message
Ahh, i got into the src file with cygwin, i typed make, and it said 'make' command not found...Could you please help me solve this problem?

~Roff
Top

Posted by Roffelos   (3 posts)  Bio
Date Reply #3 on Thu 31 Oct 2002 07:25 PM (UTC)
Message
Also, with Microsoft Visual C++, which program do i run to load up the code?
Thanks
~Roff
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #4 on Thu 31 Oct 2002 07:53 PM (UTC)
Message
The question about "make" has been asked quite a few times. Please search this forum (see search button below) for "cygwin make", and read those posts.

To add the files to MS C++ go to Project -> Add To Project -> Files, and add your .c files.

To be honest, if you are not familiar with Cygwin or MS C++ this is a big project to get started with. Try compiling something small and simple like the "hello world" programs that are in most C books, just to get the hang of using the compiler.

Not having "make" on your system isn't really a ROM problem, it is a system setup problem.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Trom   (82 posts)  Bio
Date Reply #5 on Tue 02 Nov 2004 05:08 PM (UTC)
Message
if make is not recognized it probably means your lacking a makefile, make sure the distribution you have has one...
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #6 on Thu 04 Nov 2004 01:38 AM (UTC)
Message
Not quite. It indicates the Cygwin install doesn't have the make utility installed. A relatively easy problem to fix.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


19,096 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.