How to compile

For beginners, flames not allowed...(just by the staff :P)
Post Reply
User avatar
ilnux
On the way to fame!
On the way to fame!
Posts: 46
Joined: 21 Feb 2007, 17:00
17

How to compile

Post by ilnux »

How do I compile C apps from packetstorm in windows. It's easy using autotools in linux but I can't get a single thing to compile in windows.

alien100
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 693
Joined: 25 Sep 2006, 16:00
17
Location: Spartan HQ
Contact:

Post by alien100 »

get Dev-C++ Its the best compiler and here is the link = http://www.bloodshed.net/dev/devcpp.html
[img]http://img127.imageshack.us/img127/9128/sig3copyyybq4.jpg[/img]

User avatar
ilnux
On the way to fame!
On the way to fame!
Posts: 46
Joined: 21 Feb 2007, 17:00
17

Post by ilnux »

that's what I am using and nothing seems to compile with it, I'm probably doing something wrong do you have a good how to?

pseudo_opcode
cyber messiah
cyber messiah
Posts: 1201
Joined: 30 Apr 2006, 16:00
17
Location: 127.0.0.1

Post by pseudo_opcode »

actually some programs are never meant to be compiled on windows, also remember that in C sockets' header files are different in windows and linux so if your program uses that, you must make sure you're compiling it on right platform, (and i m sure the programs you want to compile will have some internet programming)and some may require special libraries or dlls or whatever

User avatar
floodhound2
∑lectronic counselor
∑lectronic counselor
Posts: 2117
Joined: 03 Sep 2006, 16:00
17
Location: 127.0.0.1
Contact:

Post by floodhound2 »

Ok when you compile the code you have to run it in DOS mode.
So got to start/run/ type”command” then find you program.
Type CD .. to go back a directory and again CD .. if you have to

Then in the C:/ directory look for you program and run it.

Type DIR to list all the folders. Find you compiled code and execute it.
₣£ΘΘĐĦΘŮŇĐ

User avatar
ilnux
On the way to fame!
On the way to fame!
Posts: 46
Joined: 21 Feb 2007, 17:00
17

Post by ilnux »

lol I know how to compile and run a program, I just can't do it in windows. And thanks I thought most of the stuff on packetstorm would run in windows and I probably don't have the required dlls. I'll stick to autotools in Ubuntu. Thanks again.

User avatar
Lyecdevf
cyber Idi Amin
cyber Idi Amin
Posts: 1222
Joined: 16 Mar 2006, 17:00
18
Location: In between life and death.
Contact:

Post by Lyecdevf »

Do not worry I also have a problem with this compiler. It does not seem to compile any thing at all.

User avatar
LaBlueGirl
Suckopithicus chickasaurus
Suckopithicus chickasaurus
Posts: 513
Joined: 22 Mar 2006, 17:00
18
Location: Brussel
Contact:

Post by LaBlueGirl »

An FAQ

http://www14.brinkster.com/aditsu/dev-cpp-faq.html

And something else...

http://www.cs.northwestern.edu/academic ... evcpp.html

and p_opcode is right, some stuff just plain old won't compile in Windows...
"Hey, Crash!
Ever tried walking with no legs?

It's real slow!"
~Crunch, Crash Bandicoot TTR

User avatar
FrankB
Ph. D. in Sucko'logics
Ph. D. in Sucko'logics
Posts: 315
Joined: 06 Mar 2006, 17:00
18
Location: Belgistahn
Contact:

Post by FrankB »

it's because iostream.h and windows.h hate each other, that's Win32 API for you :-)

Post Reply