Jump to content

How to compile?

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
9 replies to this topic

#1
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Hi,
I have no idea about C and C++, although once I set my mind to learn it, but never did... anyways sometimes I download some open source applications from sourceforge and I get all these files.. and a makefile.. now I guess the makefile is for Linux so I can compile the application, but how can I compile that project under Windows?? I tried opening all the files with eclipse (C++, since it's the only c++ ide that I have) but no success.. I have no clue how I can do this. Anyone can help?

Thanks.

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
If you install MinGW and MSYS, you can use makefiles.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
marwex89

marwex89

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 10,720 posts
You need a compiler, mate... :D Do you have one? Read the manual ;)
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

#4
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Thanks winged.. will do :)

#5
kiddies

kiddies

    Programmer

  • Members
  • PipPipPipPip
  • 130 posts
what u use OS in your home.....
if linux u have to have a compiler.....

n in windows u just download a program

#6
kiddies

kiddies

    Programmer

  • Members
  • PipPipPipPip
  • 130 posts
what u use OS in your home.....
if linux u have to have a compiler.....

n in windows u just download a program

#7
Raitt

Raitt

    Newbie

  • Members
  • Pip
  • 6 posts
you also can install cygwin, waht provide all what you need for project compilation

#8
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
The problem with cygwin is that apps compiled under cygwin will only run under cygwin unless you use a cross-compiler. To me, that can be very inconvenient.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#9
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
So cygwin will like 'emulate' them?

#10
Raitt

Raitt

    Newbie

  • Members
  • Pip
  • 6 posts
hmm, cyqwin is only the command-line interface and enviroment... I think it's possible to compile program under cygwin enviroment and run under windows enviroment, but it of course depend on kind of application. And what about ./configure?

If program could be compiled under windows, tarball with sources should contain file with instructions.