View previous topic :: View next topic |
Author |
Message |
chenghui1981 Just Arrived
Joined: 24 Aug 2002 Posts: 0
|
Posted: Mon Feb 24, 2003 6:49 am Post subject: how to re-compile the program ? |
|
|
hi guy
my english not really good ...hope u all could understand what i said..
i want to ask how to re-compile program..
if i get the source code..what compiler i should used to re-compile it?
got any link about re-compile program one??
thank 1st
|
|
Back to top |
|
|
Giro New Member
Joined: 25 Mar 2004 Posts: 22 Location: England
|
Posted: Mon Feb 24, 2003 11:05 am Post subject: |
|
|
What programming language is it written in??
|
|
Back to top |
|
|
ShaolinTiger Forum Fanatic
Joined: 18 Apr 2002 Posts: 16777215 Location: Kuala Lumpur, Malaysia
|
Posted: Mon Feb 24, 2003 11:46 am Post subject: |
|
|
Why recompile?
If you have the source code just compile it, compile it with whatever compiler is suitable for the language the code is written in.
gcc for c, g++ for c++, javac for Java etc.
|
|
Back to top |
|
|
TheKingster Link Spammer
Joined: 03 May 2002 Posts: 0 Location: UK
|
Posted: Mon Feb 24, 2003 2:31 pm Post subject: |
|
|
Think he wants to amend the code before recompiling it, thats why he wants to get hold of the source code.
Without knowing the language nobody can recommend a compiler!
|
|
Back to top |
|
|
chenghui1981 Just Arrived
Joined: 24 Aug 2002 Posts: 0
|
Posted: Mon Feb 24, 2003 6:12 pm Post subject: |
|
|
i mean like i got a source code of gaim for Linux
but i want used it in freeBSD then i've compile it again, right?
then, how to do? is using gcc? and how to using gcc do it?
|
|
Back to top |
|
|
ShaolinTiger Forum Fanatic
Joined: 18 Apr 2002 Posts: 16777215 Location: Kuala Lumpur, Malaysia
|
Posted: Mon Feb 24, 2003 6:22 pm Post subject: |
|
|
You should read the documentation with the source for the program.
Usually from the source directory you run:
./configure
./make
./make install
|
|
Back to top |
|
|
chenghui1981 Just Arrived
Joined: 24 Aug 2002 Posts: 0
|
Posted: Mon Feb 24, 2003 6:40 pm Post subject: |
|
|
thank u
shoalin tiger
|
|
Back to top |
|
|
flw Forum Fanatic
Joined: 27 May 2002 Posts: 16777215 Location: U.S.A.
|
Posted: Mon Feb 24, 2003 7:05 pm Post subject: |
|
|
Quote: |
Think he wants to amend the code before recompiling it, thats why he wants to get hold of the source code. |
Think he wants to plant a nasty inside? What other reason could there be? Otherwise he'd have the actual source code and the correct complier.
|
|
Back to top |
|
|
ShaolinTiger Forum Fanatic
Joined: 18 Apr 2002 Posts: 16777215 Location: Kuala Lumpur, Malaysia
|
Posted: Mon Feb 24, 2003 7:07 pm Post subject: |
|
|
fastlanwan wrote: |
Think he wants to plant a nasty inside? What other reason could there be? Otherwise he'd have the actual source code and the correct complier. |
No he doesn't have the brains to do that beleive me..
He just wants to install Gaim on FreeBSD and there is probably no binary.
|
|
Back to top |
|
|
Giro New Member
Joined: 25 Mar 2004 Posts: 22 Location: England
|
Posted: Mon Feb 24, 2003 11:50 pm Post subject: |
|
|
ShaolinTiger wrote: |
fastlanwan wrote: |
Think he wants to plant a nasty inside? What other reason could there be? Otherwise he'd have the actual source code and the correct complier. |
No he doesn't have the brains to do that beleive me..
He just wants to install Gaim on FreeBSD and there is probably no binary. |
Exactly why would he ask how to compile the program, Probably just used the wrong term he said his English is bad.
|
|
Back to top |
|
|
drivle Just Arrived
Joined: 01 Jan 2003 Posts: 0 Location: c/o the gutter
|
Posted: Tue Feb 25, 2003 1:28 am Post subject: |
|
|
ShaolinTiger wrote: |
No he doesn't have the brains to do that beleive me.. |
That's a bit strong, isn't it?
He may not have the know-how - but to say he doesn't have the brains....
|
|
Back to top |
|
|
ShaolinTiger Forum Fanatic
Joined: 18 Apr 2002 Posts: 16777215 Location: Kuala Lumpur, Malaysia
|
Posted: Tue Feb 25, 2003 1:45 am Post subject: |
|
|
Hehe I know him personally don't worry, known him since long before the forum started, it's a joke not an insult.
|
|
Back to top |
|
|
drivle Just Arrived
Joined: 01 Jan 2003 Posts: 0 Location: c/o the gutter
|
Posted: Tue Feb 25, 2003 1:59 am Post subject: |
|
|
Ahhh - way to embarrass the new guy Shaolin
Now - I feel a right
|
|
Back to top |
|
|
chenghui1981 Just Arrived
Joined: 24 Aug 2002 Posts: 0
|
Posted: Tue Feb 25, 2003 11:24 am Post subject: |
|
|
hehehehe
sorry everybody... my english is very worst but really n very thank for helping
anyway thank u
thank shaolin tiger
|
|
Back to top |
|
|
|