New With Cygwin Compiler

Posted by Mr.UnhappyDragon on Sat 15 Dec 2001 07:23 PM — 13 posts, 45,528 views.

#0
I dont know how to compile with it so id like some help any basic ideas and ill be more specific on what kind of muds
#1
I was also wondering does cygwin do dsp files and makefiles for compiling i wasnt sure about this earlier
#2
Ive got to understand how to get into makefile directoris but now my problem is everytime it type make it doesnt recognize it as a command
#3
Ok the only problem i have now is every time i type make it gives me this

$ make
Bash : Make : command not found
Australia Forum Administrator #4

Sounds like you didn't install 'make' when you installed Cygwin. Make sure you install make and the C compiler.

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. Whilst this is written for SMAUG, a great deal also applies to ROM as well.

#5
I dont see anything when it gives you a choice to pick it i see math and mail
Australia Forum Administrator #6

Take another look at the Cygwin install. You should see an image like the one below. You need to click inside the install window and scroll bars will appear, and click on the categories (eg. Devel) to see the individual files. In the screen dump you can see, near the bottom, gcc, the compilers.

Cygwin install example - 24K

#7
Now im getting an area on each mud trying to compile on db.o unless on one that ends sometime sooner
make *** [db.o] Error 1
Australia Forum Administrator #8
I didn't understand the problem there, you had better copy and paste the actual error message.
#9
I cannot copy and paste it
Australia Forum Administrator #10
If you click on the "system" menu (top LH corner) and then select the menu item "Edit -> Mark" you will then be able drag the mouse over the error message. When it is highlighted press <Enter> and the highlighted text will be copied to the Clipboard.

Then you can paste it into a message here.
#11
I sort of gave up on SWR code and tried out GodWars,I think I'm getting the same message as he is.All the C files have been turned to Object files,but when it tries to make the exe file,it feeds out an error:

$ make
rm -f merc
gcc -O -o merc act_comm.o act_info.o act_move.o act_obj.o act_wiz.o comm.o cons
t.o db.o fight.o handler.o interp.o magic.o save.o special.o update.o clan_table
.o kav_wiz.o kav_fight.o kav_info.o clan.o more.o artifact.o home.o rot_wiz.o de
mon.o werewolf.o olc.o string.o bit.o imc.o imc-interp.o imc-version.o imc-mail.
o imc-util.o imc-events.o imc-config.o imc-mercbase.o ice.o icec.o icec-mercbase
.o core.o
collect2: ld terminated with signal 11 [Segmentation fault]
make: *** [merc] Error 1

Can you derive anything from this jibberish talk?
Australia Forum Administrator #12
Segmentation fault means the linker crashed with some sort of access violation. Why, I can't say.