Installing gcc without xcode?

How can my students install the command-line gcc compiler into Lion without having to download the entire, huge xcode environment from AppStore?
(up to 2-hour download)

I would consider a different roll-your-own strategy; if you're going to invest in this effort, it's usually best pick your battles.
You're clearly trying to optimize for network bandwidth, but at the cost of an older compiler (Clang is the path forward for Mac OS X, and not gcc) and at maintaining that part of your students' environments yourself, and at dealing with the usual errors and weirdnesses, and at an approach that's not integrated with Xcode; most industry work now arises with an IDE of some ilk. 
Obviously you know your curriculum and your available time here for IT, of course.
Here, I'd move to an approach based on mastering the entire Mac OS X installations, and loading those into the students' systems, and I'd incorporate the standard kits into the master including (for this case) Xcode.  There are other advantages here, too.  If something goes wrong with the student's environment or a disk fails or... you can blow away the contents and reload the master.
For some discussions of mastering and managing your own distributions, see the MacEnterprise mailing list and mailing list archives, among other resources.  (With a server, you can run most of this stuff on-line.  Also hosting Apple software updates via Mac OS X Server and Software Update Services, or via Linux with the Reposado package, to cut down your bandwidth requirements.)
It's also potentially possible to use a different distributions here as part of your mastering; check with Apple around the availability of that.
And if these arem't your school's Mac systems, there's a whole 'nother discussion here around managing the Apple Ids and related on these systems.  (There are some of those discussions on the MacEnterprise list, as well.  Check the mailing list archives, among others.  It's a goldmine for these sorts of questions, and Xcode has specifically been discussed at length.)  

Similar Messages

  • How do i install GCC without installing XCode

    Hello
    I am trying to install GCC without installing XCODE.
    How do i do that if possible?

    Use a binary distribution of fink to install the binary distribution of gcc4...
    Powerbook G4 1GHz   Mac OS X (10.3.9)  

  • How Do I Compile C Without Xcode?

    How do I? I've installed GCC off my Leopard disk and in Terminal, neither the gcc or cc commands work. Could somebody help me please?

    It is possible to avoid the large xcode footprint with the Leopard install. From the OS install disc start with the optional installs and start the XCode Tools -> XCodeTools.mpkg as you would to install the full version of XCode. The key is when you are going through the install and get to the "Installation Type" selection don't click "Install" but rather click the "Customize" option instead. In the menu that follows the "Developer Tools Essentials" is inactive. However, if you deselect all the other options you will be able to deselect it as well. Once everything is deselected, simply select the "UNIX Development Support" and then click the "Install" button and go through the rest of the install. This will allow you to use the gcc compiler with the various libraries etc without the overhead of the XCode GUI components. Open up a terminal and go to town with your builds and allows for the use of makefiles and shell scripts. While this is still a large footprint 500Mb, all things being relative it is still quite small compared to 3.1Gb you would get with the default install.

  • How to install GCC 3.3 and Berkeley DB ?

    Hi to all
    I am doing a project written in C. It involves the use of BerkeleyDB database too.
    Tthe problem is that the project compiles successfully on GCC 3.3 but on GCC 4.3 its gives error due to strict checking.
    Kindly tell me how can I install GCC 3.3 on archlinux.
    Also how can I install Berkeley DB (including development package) on archlinux with all the header files and configure it.
    thanks to all of you
    regards
    visio159

    Thanks guys I am loving Archlinux, the speed and control is amazing.
    I installed GCC 3.3 and db.h was already in /usr/include/db.h
    but when I compiled the code (MAIN.c) it gave these errors in db.h ??? I don't know what to do now, db.h itself is reflecting errors..huh.
    As you can see the starting lines are directing towards db.h as having errors
    [noface@myhost PROJ]$ gcc-3.3 MAIN.c -ldb
    gcc-3.3: ldb: No such file or directory
    In file included from MAIN.c:3:
    /usr/include/db.h:1201: error: syntax error before "u_int"
    /usr/include/db.h:1206: error: syntax error before '}' token
    /usr/include/db.h:1544: error: syntax error before "u_int"
    /usr/include/db.h:1660: error: `close' redeclared as different kind of symbol
    /usr/include/unistd.h:320: error: previous declaration of `close'
    /usr/include/db.h:1702: error: `remove' redeclared as different kind of symbol
    /usr/include/stdio.h:155: error: previous declaration of `remove'
    /usr/include/db.h:1703: error: `rename' redeclared as different kind of symbol
    /usr/include/stdio.h:157: error: previous declaration of `rename'
    /usr/include/db.h:1740: error: `stat' redeclared as different kind of symbol
    /usr/include/sys/stat.h:210: error: previous declaration of `stat'
    /usr/include/db.h:1742: error: `sync' redeclared as different kind of symbol
    /usr/include/unistd.h:933: error: previous declaration of `sync'
    /usr/include/db.h:1743: error: `truncate' redeclared as different kind of symbol
    /usr/include/unistd.h:949: error: previous declaration of `truncate'
    /usr/include/db.h:1809: error: syntax error before '}' token
    /usr/include/db.h:1916: error: syntax error before "u_int"
    /usr/include/db.h:1923: error: conflicting types for `close'
    /usr/include/db.h:1660: error: previous declaration of `close'
    /usr/include/db.h:1925: error: conflicting types for `del'
    /usr/include/db.h:1664: error: previous declaration of `del'
    /usr/include/db.h:1926: error: `dup' redeclared as different kind of symbol
    /usr/include/unistd.h:490: error: previous declaration of `dup'
    /usr/include/db.h:1927: error: conflicting types for `get'
    /usr/include/db.h:1669: error: previous declaration of `get'
    /usr/include/db.h:1928: error: conflicting types for `get_priority'
    /usr/include/db.h:1687: error: previous declaration of `get_priority'
    /usr/include/db.h:1929: error: conflicting types for `pget'
    /usr/include/db.h:1700: error: previous declaration of `pget'
    /usr/include/db.h:1930: error: conflicting types for `put'
    /usr/include/db.h:1701: error: previous declaration of `put'
    /usr/include/db.h:1931: error: conflicting types for `set_priority'
    /usr/include/db.h:1734: error: previous declaration of `set_priority'
    /usr/include/db.h:1975: error: syntax error before '}' token
    /usr/include/db.h:2126: error: syntax error before "u_int"
    /usr/include/db.h:2145: error: syntax error before "mp_ncache"
    /usr/include/db.h:2211: error: syntax error before "cl_id"
    /usr/include/db.h:2267: error: syntax error before '*' token
    /usr/include/db.h:2282: error: conflicting types for `close'
    /usr/include/db.h:1923: error: previous declaration of `close'
    /usr/include/db.h:2287: error: conflicting types for `err'
    /usr/include/db.h:1665: error: previous declaration of `err'
    /usr/include/db.h:2288: error: conflicting types for `errx'
    /usr/include/db.h:1666: error: previous declaration of `errx'
    /usr/include/db.h:2291: error: conflicting types for `get_cachesize'
    /usr/include/db.h:1672: error: previous declaration of `get_cachesize'
    /usr/include/db.h:2294: error: conflicting types for `get_encrypt_flags'
    /usr/include/db.h:1674: error: previous declaration of `get_encrypt_flags'
    /usr/include/db.h:2295: error: conflicting types for `get_errfile'
    /usr/include/db.h:1676: error: previous declaration of `get_errfile'
    /usr/include/db.h:2296: error: conflicting types for `get_errpfx'
    /usr/include/db.h:1677: error: previous declaration of `get_errpfx'
    /usr/include/db.h:2297: error: conflicting types for `get_flags'
    /usr/include/db.h:1678: error: previous declaration of `get_flags'
    /usr/include/db.h:2312: error: conflicting types for `get_msgfile'
    /usr/include/db.h:1683: error: previous declaration of `get_msgfile'
    /usr/include/db.h:2313: error: conflicting types for `get_open_flags'
    /usr/include/db.h:1685: error: previous declaration of `get_open_flags'
    /usr/include/db.h:2364: error: conflicting types for `open'
    /usr/include/db.h:1698: error: previous declaration of `open'
    /usr/include/db.h:2365: error: conflicting types for `remove'
    /usr/include/db.h:1702: error: previous declaration of `remove'
    /usr/include/db.h:2387: error: syntax error before "u_int"
    /usr/include/db.h:2391: error: syntax error before "u_int"
    /usr/include/db.h:2393: error: syntax error before "u_int"
    /usr/include/db.h:2398: error: conflicting types for `set_alloc'
    /usr/include/db.h:1705: error: previous declaration of `set_alloc'
    /usr/include/db.h:2402: error: conflicting types for `set_cachesize'
    /usr/include/db.h:1713: error: previous declaration of `set_cachesize'
    /usr/include/db.h:2405: error: conflicting types for `set_encrypt'
    /usr/include/db.h:1716: error: previous declaration of `set_encrypt'
    /usr/include/db.h:2406: error: conflicting types for `set_errcall'
    /usr/include/db.h:1717: error: previous declaration of `set_errcall'
    /usr/include/db.h:2408: error: conflicting types for `set_errfile'
    /usr/include/db.h:1719: error: previous declaration of `set_errfile'
    /usr/include/db.h:2409: error: conflicting types for `set_errpfx'
    /usr/include/db.h:1720: error: previous declaration of `set_errpfx'
    /usr/include/db.h:2412: error: conflicting types for `set_feedback'
    /usr/include/db.h:1721: error: previous declaration of `set_feedback'
    /usr/include/db.h:2413: error: conflicting types for `set_flags'
    /usr/include/db.h:1722: error: previous declaration of `set_flags'
    /usr/include/db.h:2431: error: conflicting types for `set_msgcall'
    /usr/include/db.h:1730: error: previous declaration of `set_msgcall'
    /usr/include/db.h:2432: error: conflicting types for `set_msgfile'
    /usr/include/db.h:1731: error: previous declaration of `set_msgfile'
    /usr/include/db.h:2433: error: conflicting types for `set_paniccall'
    /usr/include/db.h:1733: error: previous declaration of `set_paniccall'
    /usr/include/db.h:2448: error: conflicting types for `stat_print'
    /usr/include/db.h:1741: error: previous declaration of `stat_print'
    /usr/include/db.h:2510: error: syntax error before '}' token
    /usr/include/db.h:2632: error: syntax error before "u_long"
    In file included from MAIN.c:6:
    /usr/include/fcntl.h:85: error: `open' redeclared as different kind of symbol
    /usr/include/db.h:2364: error: previous declaration of `open'
    In file included from /media/evt/PROJ/PROJ/include/makeTreeDB.h:2,
    from MAIN.c:19:
    /media/evt/PROJ/PROJ/include/berkeleyDB.h: In function `removeDB':
    /media/evt/PROJ/PROJ/include/berkeleyDB.h:36: warning: passing arg 1 of pointer to function makes pointer from integer without a cast
    /media/evt/PROJ/PROJ/include/berkeleyDB.h:36: error: too few arguments to function
    /media/evt/PROJ/PROJ/include/berkeleyDB.h:37: warning: passing arg 1 of pointer to function from incompatible pointer type
    /media/evt/PROJ/PROJ/include/berkeleyDB.h:37: error: too few arguments to function
    /media/evt/PROJ/PROJ/include/berkeleyDB.h: In function `addNodeToBerkeleyDB':
    /media/evt/PROJ/PROJ/include/berkeleyDB.h:64: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/berkeleyDB.h:84: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/berkeleyDB.h:96: error: dereferencing pointer to incomplete type
    In file included from MAIN.c:21:
    /media/evt/PROJ/PROJ/include/scanProc.h: In function `scanProc':
    /media/evt/PROJ/PROJ/include/scanProc.h:92: warning: passing arg 1 of pointer to function from incompatible pointer type
    /media/evt/PROJ/PROJ/include/scanProc.h:92: warning: passing arg 2 of pointer to function from incompatible pointer type
    /media/evt/PROJ/PROJ/include/scanProc.h:92: error: too few arguments to function
    /media/evt/PROJ/PROJ/include/scanProc.h: In function `showSummary':
    /media/evt/PROJ/PROJ/include/scanProc.h:235: warning: passing arg 1 of pointer to function from incompatible pointer type
    /media/evt/PROJ/PROJ/include/scanProc.h:235: warning: passing arg 2 of pointer to function from incompatible pointer type
    /media/evt/PROJ/PROJ/include/scanProc.h:235: error: too few arguments to function
    In file included from MAIN.c:22:
    /media/evt/PROJ/PROJ/include/bigProcessing.h: In function `bigProcessing':
    /media/evt/PROJ/PROJ/include/bigProcessing.h:58: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/bigProcessing.h:95: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/bigProcessing.h: In function `scanFS_DB':
    /media/evt/PROJ/PROJ/include/bigProcessing.h:158: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/bigProcessing.h:178: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/bigProcessing.h:206: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/bigProcessing.h:211: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/bigProcessing.h:219: error: dereferencing pointer to incomplete type
    /media/evt/PROJ/PROJ/include/bigProcessing.h:224: error: dereferencing pointer to incomplete type

  • Is there a way to install X11 without re-installing OSX?

    I cannot find a way of installing X11 without re-installing OSX.
    I've looked on the cd for the installer but with no luck.
    The X11 installer isn't located in the bundled software installer and X11 will not install with the X11 SDK.
    The retail verson of tiger has an optional istall on the disk but it will not work with intel macs. And the X11 download from apple will not work with Tiger (not even in Rosetta).
    I've found the X11 install option when I restart my MacBook with the install DVD inside and am asked to reinstall Tiger. This doesnt do me any good because i dont want to do a fresh install of tiger just to get X11.
    Does anyone know a way around this issue?
    Please Help!
    MacBook Pro Mac OS X (10.4.6)

    On the intel Tiger DVD there is no additional software or other software folers or packages. There is:
    Install Bundled Software (which does not contain X11)
    Install OSX and Bundled Software (which requires you to reinstall OSX to Install X11)
    Xcode Tools Folder (which contains Xcode and Xcode extras but no X11 installer)
    And documentation PDFs
    MacBook Pro Mac OS X (10.4.6)

  • Trying to install gcc with Command Line Tools - Mountain Lion

    I am trying to update the CUDA driver for an NVIDIA GeForce GTX 570 card. To do that, I need gcc installed.
    It appears I have not been able to install gcc, and I need help doing this.
    I am a newbie to both Terminal commands and to updating CUDA drivers, so please bear with me.
    I am running Mountain Lion (10.8.2) on a dual quad core Mac Pro (mid 2010 model).
    I have been following the guide here:
    http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-mac-os-x/index.html
    To install gcc w/o having to install Xcode (I don’t need all of Xcode and so don’t want it installed), I downloaded the “Command Line Tools (OS X Mountain Lion) for Xcode – November 2012” from the Apple Developer Downloads page:
    xcode452cltools10_86938211a.dmg
    I also downloaded the “Mac OS X CUDA 5 Production Release” from the NVIDIA Developers Download page:
    cuda_5.0.36_macos.pkg
    I installed the Command Line Tools, and then installed the CUDA 5 Release (driver, toolkit, samples). Both installed successfully.
    To verify that gcc was installed, I entered the Terminal command (the guide above says this is how I check):
    /usr/bin/gcc –-help
    The resulting message was:
    i686-apple-darwin11-llvm-gcc-4.2: –-help: No such file or directory
    i686-apple-darwin11-llvm-gcc-4.2: no input files
    I take it this means I did not successfully install gcc.
    Please tell me what I am doing wrong.
    NOTE: The steps below may not be of interest to you, since they are steps to verify the CUDA driver was updated (once gcc is successfully installed).
    But I included them in the post, in case they are helpful..
    I went to “Define the environment variables”.
    I entered the command
    export PATH=/Developer/NVIDIA/CUDA-5.0/bin:$PATH
    I got no message
    I then entered the command:
    export DYLD_LIBRARY_PATH=/Developer/NVIDIA/CUDA-5.0/lib:$DYLD_LIBRARY_PATH
    I got no message
    To verify that the CUDA kernel extension is loaded, I then entered the command:
    kextstat | grep -i cuda
    I got this message:
    123 0 0xffffff7f81e69000 0x2000 0x2000 com.nvidia.CUDA (1.1.0)
    I then checked the CUDA Toolkit version by entering the command:
    nvcc –V
    I got the message:
    nvcc: NVIDIA (R) Cuda compiler driver
    Copyright (c) 2005-2012 NVIDIA Corporation
    Built on Fri_Sep_28_16:10:16_PDT_2012
    Cuda compilation tools, release 5.0, V0.2.1221
    To change the directory, I then entered:
    cd /Developer/NVIDIA/CUDA-5.0/samples
    Then to compile the samples, I entered:
    make
    The resulting message was:
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    make[1]: Nothing to be done for `all'.
    Makefile:79: *** MPI not found, not building simpleMPI.. Stop.
    make: *** [0_Simple/simpleMPI/Makefile.ph_build] Error 2
    To run the binaries, I changed the directory by entering:
    cd /Developer/NVIDIA/CUDA-5.0/samples/C/bin/darwin/release
    and then entered
    deviceQuery
    I got the message:
    -bash: cd: /Developer/NVIDIA/CUDA-5.0/samples/C/bin/darwin/release: No such file or directory

    (1) When I typed in the command
    /usr/bin/gcc –v
    I got this response:
    Using built-in specs.
    Target: i686-apple-darwin11
    Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/dst-llvmCore/Deve loper/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
    Thread model: posix
    gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
    Does this say I successfully installed gcc? 4.2.1 is the latest version?
    If I have successfully installed the latest version of gcc, then my problem lies with the installation of the CUDA driver.
    If your command worked, then the NVIDIA "CUDA Getting Started Guide" doc I referenced above, which I am following, is just incorrect.
    (2) I then went through the same steps as above, and got the same responses, until I got to the "make" command. This time I entered
    make clean
    And I got the response:
    rm -f asyncAPI asyncAPI.o
    rm -f cdpSimplePrint cdpSimplePrint.o
    rm -f cdpSimpleQuicksort cdpSimpleQuicksort.o
    rm -f clock clock.o *.bin
    rm -f cppIntegration cppIntegration.o cppIntegration_gold.o main.o *.bin
    rm -f cudaOpenMP cudaOpenMP.o
    rm -f inlinePTX inlinePTX.o *.bin
    rm -f matrixMul matrixMul.o
    rm -f matrixMulCUBLAS.o matrixMulCUBLAS
    rm -f matrixMulDrv matrixMulDrv.o data/matrixMul_kernel64.ptx matrixMul_kernel64.ptx
    rm -f matrixMulDynlinkJIT matrixMulDynlinkJIT.o matrixMul_gold.o matrixMul_kernel_32_ptxdump.o matrixMul_kernel_64_ptxdump.o cuda_drvapi_dynlink.o
    rm -f simpleAssert simpleAssert.o
    rm -f simpleAtomicIntrinsics simpleAtomicIntrinsics.o simpleAtomicIntrinsics_cpu.o
    rm -f simpleCallback simpleCallback.o multithreading.o *.bin
    rm -f simpleCubemapTexture simpleCubemapTexture.o *.bin
    rm -f simpleIPC simpleIPC.o
    rm -f simpleLayeredTexture simpleLayeredTexture.o
    Makefile:79: *** MPI not found, not building simpleMPI..  Stop.
    make: *** [0_Simple/simpleMPI/Makefile.ph_clean] Error 2
    Then I entered
    make
    And I got the response:
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o asyncAPI.o -c asyncAPI.cu
    g++ -arch x86_64 -o asyncAPI asyncAPI.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp asyncAPI ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64 -dc  -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o cdpSimplePrint.o -c cdpSimplePrint.cu
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64 -gencode arch=compute_35,code=sm_35  -o cdpSimplePrint cdpSimplePrint.o -L/Developer/NVIDIA/CUDA-5.0/lib -lcudadevrt
    mkdir -p ../../bin/darwin/release
    cp cdpSimplePrint ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64 -dc  -gencode arch=compute_35,code=sm_35  -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o cdpSimpleQuicksort.o -c cdpSimpleQuicksort.cu
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64 -gencode arch=compute_35,code=sm_35  -o cdpSimpleQuicksort cdpSimpleQuicksort.o -L/Developer/NVIDIA/CUDA-5.0/lib -lcudadevrt
    mkdir -p ../../bin/darwin/release
    cp cdpSimpleQuicksort ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o clock.o -c clock.cu
    g++ -arch x86_64 -o clock clock.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp clock ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o cppIntegration.o -c cppIntegration.cu
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o cppIntegration_gold.o -c cppIntegration_gold.cpp
    g++ -arch x86_64   -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o main.o -c main.cpp
    g++ -arch x86_64 -o cppIntegration cppIntegration.o cppIntegration_gold.o main.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp cppIntegration ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64 -lineinfo -Xcompiler -fopenmp  -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o cudaOpenMP.o -c cudaOpenMP.cu
    ptxas warning : Command line option '--generate-line-info' not supported for 'sm_1x architecture', will be ignored
    g++ -arch x86_64 -o cudaOpenMP cudaOpenMP.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart -lgomp
    mkdir -p ../../bin/darwin/release
    cp cudaOpenMP ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o inlinePTX.o -c inlinePTX.cu
    g++ -arch x86_64 -o inlinePTX inlinePTX.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp inlinePTX ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o matrixMul.o -c matrixMul.cu
    g++ -arch x86_64 -o matrixMul matrixMul.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp matrixMul ../../bin/darwin/release
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o matrixMulCUBLAS.o -c matrixMulCUBLAS.cpp
    g++ -arch x86_64 -o matrixMulCUBLAS matrixMulCUBLAS.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart -lcublas
    mkdir -p ../../bin/darwin/release
    cp matrixMulCUBLAS ../../bin/darwin/release
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o matrixMulDrv.o -c matrixMulDrv.cpp
    g++ -arch x86_64 -o matrixMulDrv matrixMulDrv.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -framework CUDA
    mkdir -p ../../bin/darwin/release
    cp matrixMulDrv ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_10,code=sm_10 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o matrixMul_kernel64.ptx -ptx matrixMul_kernel.cu
    mkdir -p data
    cp matrixMul_kernel64.ptx ./data
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -o matrixMulDynlinkJIT.o -c matrixMulDynlinkJIT.cpp
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -o matrixMul_gold.o -c matrixMul_gold.cpp
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -o matrixMul_kernel_32_ptxdump.o -c matrixMul_kernel_32_ptxdump.c
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -o matrixMul_kernel_64_ptxdump.o -c matrixMul_kernel_64_ptxdump.c
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -o cuda_drvapi_dynlink.o -c cuda_drvapi_dynlink.c
    g++ -arch x86_64  -o matrixMulDynlinkJIT matrixMulDynlinkJIT.o matrixMul_gold.o matrixMul_kernel_32_ptxdump.o matrixMul_kernel_64_ptxdump.o cuda_drvapi_dynlink.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -framework CUDA
    mkdir -p ../../bin/darwin/release
    cp matrixMulDynlinkJIT ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o simpleAssert.o -c simpleAssert.cu
    g++ -arch x86_64 -o simpleAssert simpleAssert.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp simpleAssert ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_11,code=sm_11 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o simpleAtomicIntrinsics.o -c simpleAtomicIntrinsics.cu
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o simpleAtomicIntrinsics_cpu.o -c simpleAtomicIntrinsics_cpu.cpp
    g++ -arch x86_64 -o simpleAtomicIntrinsics simpleAtomicIntrinsics.o simpleAtomicIntrinsics_cpu.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp simpleAtomicIntrinsics ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o simpleCallback.o -c simpleCallback.cu
    g++ -arch x86_64 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o multithreading.o -c multithreading.cpp
    g++ -arch x86_64 -o simpleCallback simpleCallback.o multithreading.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart -lpthread
    mkdir -p ../../bin/darwin/release
    cp simpleCallback ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o simpleCubemapTexture.o -c simpleCubemapTexture.cu
    g++ -arch x86_64 -o simpleCubemapTexture simpleCubemapTexture.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp simpleCubemapTexture ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o simpleIPC.o -c simpleIPC.cu
    g++ -arch x86_64 -o simpleIPC simpleIPC.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp simpleIPC ../../bin/darwin/release
    /Developer/NVIDIA/CUDA-5.0/bin/nvcc -m64  -gencode arch=compute_20,code=sm_20 -gencode arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -I/Developer/NVIDIA/CUDA-5.0/include -I. -I.. -I../../common/inc -o simpleLayeredTexture.o -c simpleLayeredTexture.cu
    g++ -arch x86_64 -o simpleLayeredTexture simpleLayeredTexture.o -Xlinker -rpath /Developer/NVIDIA/CUDA-5.0/lib -L/Developer/NVIDIA/CUDA-5.0/lib -lcudart
    mkdir -p ../../bin/darwin/release
    cp simpleLayeredTexture ../../bin/darwin/release
    Makefile:79: *** MPI not found, not building simpleMPI..  Stop.
    make: *** [0_Simple/simpleMPI/Makefile.ph_build] Error 2
    There is still an "Error 2" at the end, so something still appears to be wrong.

  • How to install gcc compiler on mac

    how to install gcc compiler om macair( 2013) ?
        THANKS IN ADVANCE !!!

    In OS X, GCC is part of Xcode's command tools, so first, open the Mac App Store and install Xcode for free.
    Then, open Xcode, go to Xcode menu (on the menu bar) > Preferences > Downloads, and install Command Line Tools. You will get commands like gcc, make, purge...

  • My ipad 2 has OS version 6.13 . I have a software update for 7.0.6 ready to install. Can I install this without going to OS version 7.0 first

    My ipad 2 has OS version 6.13 . I have a software update for 7.0.6 ready to install. Can I install this without going to OS version 7.0 first?

    Do you know of any problems or how long it takes to install?

  • Installing driver without having connected printer

    Hi.
    I have to install the hp laserjet p1102 driver to my Server 2012R2 without physically connected printer for remote desktop sessions. I had downloaded LJP1100_P1560_P1600_Full_Solution, but I can't install it without printer. In the unpacked folders of the LJP1100_P1560_P1600_Full_Solution-file I can't see the inf-files to install it manually. I can't install the updated driver too, cause I have to have the old driver.
    Sorry. Already found it.

    DP
    The computer (and driver) have to handshake with the printer, QED it has to be either online or physically connected and if it is physically connected it wont work on the network so yes it does.
    Wanikiya and Dyami--Team Zigzag

  • HT201304 How do I install apps without the  app store

    How do I install apps without the  app store

    This is an issue not to be taken lightly. I just upgraded to Mavericks. My two favorite amateur radio apps will not launch because they did not come from the App Store. There must be a way to make them work. Come on, let's have it. Ohh, the apps: DVTool for DStar Radio operation, and echomac for amateur radio repeater connection from a Mac. These are essential amateur radio applications used in emergency radio communications ... ARES.

  • Can I install Tiger without DVD drive?

    Hello all!
    I need your advice and help!
    Today I finally added more RAM to my iMac and proceeded to upgrade to OSX. I bought v10.4.3 Tiger at a retail location. Nothing happens after I inserted the installation DVD. Then I realised that I probably do not have a DVD drive! (I did look at the system requirement page and saw a slot loading iMac there ...)
    Is there any way I could install Tiger? All your help is much appreciated!
    kris

    First, have you installed the firmware update required for your model? You must boot directly into OS 9.1 or higher (but not OS X) to install the firmware update.
    Secondly, your hard drive must be formatted Mac OS Extended (Journaled) for Tiger.
    If you open your Apple System Profiler it should tell you if you have a DVD drive. It was an option on your model, especially if you have the DV model.
    If you don't have a DVD drive, then there are ways to install Tiger without one. One way is to exchange the DVD for a CD set from Apple. Visit the Apple OS X site to find the form needed for the exchange.
    The following KB articles present alternatives for installing Tiger without a DVD:
    http://www.oreillynet.com/pub/wlg/6976
    http://www.applelinks.com/p5/index.php/more/osx_odyssey_752_how_to_installing_tiger_using_firewire_target_diskmode/
    You can also use an external Firewire DVD drive provided it is a bootable drive.

  • Install gcc 3.2.3 on Solaris 9

    Have installed Sol 2.9 on a SparcStation 4, now trying to get GCC onto it. However, the "make bootstrap" command from the html documentation does not work. It asks for a valid copy of 'cc' which I do not have, which was the reason I am trying to install gcc - and is starting to become a circular argument.
    gcc was downloaded from sunfreeware.com. Their instructions for non-compilation installation of gcc are vague at best.
    Can anyone provide me with the info on whats required to instal this package?
    Thanks, Ian Dennison (HP-UX Certified SysAdmin)

    Set your environment variable CC=gcc or edit the Makefile or config file that would have the line
    for the compiler to use. either cc or gcc.

  • How can I install CS6 without a disk drive?

    Hi there!
    I recently purchased the Creative Suite 6 Design and Web Premium addition.
    The sales person at the store assured me that despite not having a CD drive in my Macbook Pro there would be a way to install/download the suite with the product information in the box.
    So far, all I have been able to acheive is recovering my serial code. I am compeltely at a loss of how to even begin to start the install process without the a disc drive.
    Is this possible or did the sales person send me down the wrong road?
    Thanks in advanced!

    Hi Emma_Rose,
    Welcome to Adobe Forums.
    We apologize for the inconvenience caused to you.
    Please use the below link to download CS6 Design & Web Premium.
    http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    Thanks

  • I may have totally screwed myself but...after installing Yosemite without checking first, my CS4 Design Premium suite wouldn't open. So I deinstalled it, but I only have disks for my old CS3. When I got the CS4 upgrade I downloaded it. What can I do??

    I may have totally screwed myself but...after installing Yosemite without checking for potential problems with Adobe software, my CS4 Design Premium suite wouldn't open. So after consulting some forums, I deinstalled it, but I only have disks for my old CS3. When I got the CS4 upgrade I downloaded it, back in 2011... What can I do?? Everything was fine before I upgraded that *#$%* Yosemite.

    You can find the CS4 download here: https://helpx.adobe.com/creative-suite/kb/cs4-product-downloads.html
    Benjamin

  • How do I install Tiger without DVD drive?

    How do I install Tiger without DVD drive on a Powerbook?
    My Powerbook had some problems recently, the HDD and the Superdrive where gone. I replaced the HD but can not get Tiger installed here because the DVD drive isn't working. I boot right now from a FW HD. Any Ideas how to install the OS on the internal drive?
    Any ideas would be apreciated.

    See Option 2 in
    <http://docs.info.apple.com/article.html?artnum=304129> or Option 1 in
    <http://docs.info.apple.com/article.html?artnum=303028>
    It has worked for at least one person:
    "Kenichi Watanabe
    Posts: 853
    Registered: 2-Sep-2003
    Re: Using DVD drive in iMac G4 for iMac G3 in Target Disk Mode-->won't read DVD
    Posted: 26-Oct-2006 4:37 PM in response to: AJ Nealey
    Reply Email
    I just tried it between a Power Mac G5 and a PowerBook G3 (Pismo) and it worked. The G5 was Mac in Firewire Target Disk Mode. I started the G5 with the T with no DVD in the drive. I started up the G3, and the G5's hard drive appeared on the G3's desktop. I pushed the eject key (on the G5 keyboard) and the SuperDrive opened. I put in a DVD (the Tiger installation disk) and closed the SuperDrive. The DVD appeared on the G3's desktop. I restarted the G3 with the Option key held down, and the DVD in the G5 appeared as a valid startup choice."

Maybe you are looking for