07-21-2015
Quote:
Originally Posted by
Ultrix
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?
You originally said:
Quote:
This means that open source software that is distributed as source is inaccessible to users of newer versions of Mac OS X, because we can't use gcc or make to compile it.
Now you're saying
gcc and
make work just fine, but don't magically download open source libraries needed by the open source software you downloaded from a 3rd party site. When you're downloading open source software, you also have to download, build, and install the open source libraries upon which it depends.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
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
My system is ubuntu, can I use PMake ? (0 Replies)
Discussion started by: meili100
0 Replies
4. Programming
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
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
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
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
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
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
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
xcrun
xcrun -- run or locate development tools
SYNOPSIS
xcrun [-sdk SDK] -find <tool_name>
xcrun [-sdk SDK] [-log] <tool_name> [<tool_arguments>]
<tool_name> [<tool_arguments>]
DESCRIPTION
xcrun provides a means locate or invoke coexistence- and platform-aware developer tools from the command-line, without requiring users to
modify makefiles or otherwise take laborious or inconvenient measures to adopt Xcode's multiple tool chains.
xcode-select is used to specify which installation of Xcode is used, and may be overridden by the DEVELOPER_DIR environment variable.
The SDK defaults to the current OS SDK, and can be specified by SDKROOT environment variable or the -sdk flag (which takes precedences over
SDKROOT).
USAGE
The first usage returns the full path to the found tool_name.
The second usage executes tool_name with the given tool_arguments.
The last syntax is when xcrun replaces any of the standard UNIX developer tools (typically in /usr/bin). In this case, xcrun will use its
tool name to locate the corresponding tool within evaluated DEVELOPER_DIR and SDK.
If the tool is not named xcrun , tool_arguments are not parsed by xcrun.
OPTIONS
-verbose
display information about how the redirected path is constructed.
-no-cache
don't consult the cache when looking up values. In effect, causes the cache to be refreshed.
-sdk SDK
specifies which SDK to use. Overrides any SDKROOT set in the environment.
-log print the full command line that is invoked.
-find
print the full path to the tool.
ENVIRONMENT
DEVELOPER_DIR - specifies the search path for locating the current developer tools (overrides xcode-select default).
SDKROOT - specifies the SDK to use; overriden by the command line -sdk flag.
xcrun_log - same as specifying -log
xcrun_nocache - same as specifying -no-cache
xcrun_verbose - same as specifying -verbose
DIAGNOSTICS
When xcrun is invoked with the name xcrun , the flags -log and -verbose are useful debugging aids. The flag -no-cache can be used to bypass
cache lookup.
When xcrun as taken the place of another tool, the arguments are those of the tool replaced, and the various xcrun flags can't be used. In
this case, use the specific environment variables instead.
SEE ALSO
xcodebuild -find Xcode coexistence