Sponsored Content
Operating Systems OS X (Apple) Alternatives to GNU Make for users of newer OS X Post 302950163 by Ultrix on Tuesday 21st of July 2015 07:31:47 PM
Old 07-21-2015
Quote:
Originally Posted by Don Cragun
That is news to me. I just tried the following on Mac OS X Yosemite Version 10.10.4:
Code:
$ cat hello.c
#include <stdio.h>
int main() {
    printf("Hello world.\n");
    return(0);
}
$ make hello
cc     hello.c   -o hello
$ ./hello
Hello world.
$

You do have to perform a free download of the Xcode development tools to get them, but once you do that gcc, make, and the other common development tools are readily available even if you don't use the Xcode tools to manage your source code.
I'm not sure I know what you're talking about. I already have gcc, make, etc. installed on my machine, and have added their directory to $PATH in my startup script. However, when I run gcc, it tells me certain libraries are missing. I can't link C libraries except through XCode. Will downloading the developer tools change this?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Problems with gnu make

I am running a make file through the gnu make tool and i am getting the following error jsh1035c:/users/egate453/admegate/kapil/samples $ make -f GNUmakefile queue_c make -f ./GNUmakefile queue_c in_objdir=1 build_root=/users/egate453/admegate/kapil/samples make: Entering directory... (2 Replies)
Discussion started by: handak9
2 Replies

2. UNIX for Advanced & Expert Users

GNU's make error codes - list

Hi, I often encounter make errors. Many a times, a corresponding error code is also shown, like make: Error 56 (ignored) make: Error 91 (ignored) make: Error 96 (ignored) et al. I tried google'ing as well as searching this forum for what these error codes mean. I know, make... (1 Reply)
Discussion started by: vino
1 Replies

3. UNIX for Dummies Questions & Answers

What's the difference between PMake and GNU Make?

My system is ubuntu, can I use PMake ? (0 Replies)
Discussion started by: meili100
0 Replies

4. Programming

Detecting host OS in Gnu make

Is this possible? Right now I'm developing some code for Linux, Windows and OS X. To build on each of the systems I've currently got separate build targets for each platform. Ideally I'd like to set up a single make rule that can detect the appropriate target and build it. I know this is... (2 Replies)
Discussion started by: G_Morgan
2 Replies

5. SCO

GNU cpp and make on SCO

Installed GNU make and the GNU C/C++ compiler on SCO Openserver 5.0.7 recently. Only a normal user is able to run make and compile programs - root is not able to. Under root, make do run, but root can't access the compiler at all, even tho I set root's path to point to the compiler.... (0 Replies)
Discussion started by: The_Librarian
0 Replies

6. Programming

A question about Makefile run by GNU make

Hello everybody, Currently I'm learning how to build projects (C programming) with GNU make. I have a problem with one Makefile and I would appreciate if you could kindly give me a hand. Here is the environment: OS: Redhat linux 5 compiler: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)... (2 Replies)
Discussion started by: dariyoosh
2 Replies

7. AIX

gnu make fir AIX 5.3 and gcc 3.3.2

Hi all i had installed gcc version 3.3.2 on my AIX 5.3 machine. which make utility i have to instal so it will fit the gcc version tnx skfn (2 Replies)
Discussion started by: skfn1203
2 Replies

8. AIX

Not picking up the GNU version of make

Hi team, I am new to unix,and need your advice on the below. I am using aix5.3 and have installed make-3.82 on the server. I need to use gmake for configuring and installing a package ,but it is giving error at the below root@sapsrp:/usr/tmp/xymon-4.3.2 # ./configure.server ... (7 Replies)
Discussion started by: sonal kumar
7 Replies

9. Shell Programming and Scripting

GNU make doesn't pick up changes

It's been a while since I had to write a Makefile, but I've managed to clobber this together: SRC=module1.c module2.c OBJS=$(SRC:%.c=%.o) HDR=include1.h include2.h CC=gcc CFLAGS=-Wall -ggdb -D_XOPEN_SOURCE -I. -ansi all: program program: $(OBJS) $(CC) $(CFLAGS) -o $@ $(OBJS) ... (3 Replies)
Discussion started by: pludi
3 Replies

10. Shell Programming and Scripting

extension building make GNU Linux

Hi, I do "touch poub.mlc" Download my Makefile, But when I try : make -f Makefile.txt(.txt in order my file to be accepted for upload), it says:"no rule for poub.mlo target" What is wrong in my Makefile(test yourself please before posting)? (1 Reply)
Discussion started by: synhedionn
1 Replies
GSQL(1) 						      General Commands Manual							   GSQL(1)

NAME
GSQL - an integrated database development environment for GNOME VERSION
Current version is 0.2.2 SYNOPSIS
gsql [options] DESCRIPTION
GSQL is a gtk2-based modular development tool for various RDBMS, such as Oracle, MySQL, PostgreSQL and others OPTIONS
The following options are provided by GSQL using the standard GNU command line syntax: --enable-debug Print debugging messages to stdout. --enable-trace Print tracing messages to stdout. -h, --help Print this help and exit. -v, --version Display the version information window. ENGINES
The Engine are GSQL's shared library contains a set of functions to access specific database plus the GUI components performing access to the database objects. Engines can be enabled and configured from the Preferences window. See http://gsql.org/development/ page for more information on developing engines. PLUGINS
GSQL allows for dynamic loading of plugins to add extra functionality to GSQL. See http://gsql.org/development/ page for more information on developing plugins. BUGS'n'PATCHES If you fix a bug in GSQL (or otherwise enhance it), please submit a patch (using svn diff > my.diff against the latest SVN revision) at http://code.google.com/p/gsql/issues/list Before sending a bug report, please verify that you have the latest version of GSQL. Many bugs (major and minor) are fixed at each release, and if yours is out of date, the problem may already have been solved. SEE ALSO
http://gsql.org/ http://code.google.com/p/gsql/ LICENSE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA AUTHORS
GSQL's active developers are: Taras Halturin (lead developer) <halturin@gmail.com> This manpage was originally written by Taras Halturin. GSQL(1)
All times are GMT -4. The time now is 05:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy