compile question

These are old archives. They are kept for historic purposes only.
Post Reply
pete212
Posts: 80
Joined: Mon Jul 12, 2004 1:56 am

compile question

Post by pete212 »

if i have something that i wanted changed in the server and i need to 'make' for it.. is it alright if i make while the server is running and then when its done i restart the server to save sometime for the downtime?
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

I guess that depends on whether your OS allows you to overwrite a file that is currently in use...
-- codemastr
pete212
Posts: 80
Joined: Mon Jul 12, 2004 1:56 am

Post by pete212 »

i run redhat 9 shrike
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Generally you have to use a different directory, or at least just rename the ircd binary.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Winbots
Posts: 65
Joined: Wed Apr 21, 2004 12:26 am
Location: irc://irc.winbots.org/Winbots
Contact:

Post by Winbots »

i have RH9, and i can make over the running ircd... but prolly should do "make clean; make" instead of just "make"... if you are making a module then no need for even a restart :P
pete212
Posts: 80
Joined: Mon Jul 12, 2004 1:56 am

Post by pete212 »

what does make clean do
Winbots
Posts: 65
Joined: Wed Apr 21, 2004 12:26 am
Location: irc://irc.winbots.org/Winbots
Contact:

Post by Winbots »

it removes any other junk
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

Including binaries (on *NIX, for example, src/ircd, *.o and *.so files). This makes sure you'll recompile everything and therefore you won't mix old binaries with new ones. Handy. :)
Post Reply