Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

iladykoVision

macrumors newbie
Original poster
Dec 12, 2007
5
0
I'v never work with macos.
I want to build utility from C++ sources. It's build instruction says:
./configure
make
make install.

I open commander (smth. like cmd in WinXP) - OK
Run ./configure - OK (but with few errors)
Run make - Error. Such command doesn't exist.
So, where should I find make. How could I install make compiler.

I am waiting for any help. Thanks.
 
I'v never work with macos.
I want to build utility from C++ sources. It's build instruction says:
./configure
make
make install.

I open commander (smth. like cmd in WinXP) - OK
Run ./configure - OK (but with few errors)
Run make - Error. Such command doesn't exist.
So, where should I find make. How could I install make compiler.

I am waiting for any help. Thanks.

# -----------------------------------------------
# Files:
# rational.out - The Output File
# rational.h - Your Header Files
# rational.cpp - Your CPP File for the Header
# test.cpp - Your Test Program
#
# Directions: Replace all listed files with your own below.
# You MUST include any and all header (.h) and C++ files (.cpp).
# Include this file in your program directory
# After upload, cd into program directory and run the command "make"
#
# NOTE: If you used a "Managed Make C++ Project" in Eclipse, you will
# have to remove the auto-generated makefile in place of this one.

rational.out: Rationals.h Rationals.cpp RationalsTest.cpp
g++-4.0 -o Rationals.out Rationals.h Rationals.cpp RationalsTest.cpp


I simply copied one of my old school makefiles... I am pretty sure that you can get rid of the the -4.0 part. That was something that I started throwing into my make files to force the professors system to compile in GCC 4.0 since he had given me a low grade on one of my projects since it didn't compile the same in 3.3

Anyway, just sub in your information for my information and you should be set.

Oh, and I suggest Aquamacs emacs for the texteditor for creating your make file, it is quite good.
 
The main problem is, that I haven't any soft/compilers/linker for building project under macos. I have only downloaded sources of opensource project with instruction. I have never work with macos.
I know, that ./configure running creates needed Makefiles for make. But I haven't any make, or other C++ compilers under macos X (tiger), so I can't compile project :(

As I have only this instruction, I need make utility only, because in other way, I don't know how to build it.

Could you help we and give me link to any development tools with !make!, g++.
 
You have to install the developer tools from the Mac OS X installation DVD or download them from apple. Installing the developer tools will install everything you need (and more).
 
Could you give me exact link to this soft (developer tools from the Mac OS X). Are developer tools free?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.