compile a program from linux to mac

This is a discussion on compile a program from linux to mac within the Linux Programming forums, part of the Platform Specific Boards category; im speaking from linux system i have made a c program and i wondering how can i compile it for ...

  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    25

    compile a program from linux to mac

    im speaking from linux system
    i have made a c program and i wondering how can i compile it for being able to run on mac
    sorry for double posting in 2 sections but i think here is the right section for my topic

  2. #2
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    ..if you did not use any non-standard code..then just compiling it in mac will do...
    are you..however ..talking about cross compilation ?
    Manasij Mukherjee | gcc-4.8.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  3. #3
    Registered User
    Join Date
    Nov 2010
    Location
    Long Beach, CA
    Posts
    5,443

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can't compile an SDL program under Linux
    By dwks in forum Game Programming
    Replies: 2
    Last Post: 01-16-2006, 07:51 PM
  2. how to compile C++ file on linux OS
    By singh_nav in forum C++ Programming
    Replies: 4
    Last Post: 08-17-2004, 06:30 AM
  3. Compile under linux, To windows
    By Pandora in forum Linux Programming
    Replies: 0
    Last Post: 04-12-2003, 12:55 PM
  4. How to compile C program in Linux?
    By siubo in forum C++ Programming
    Replies: 4
    Last Post: 04-07-2003, 12:42 AM
  5. how to compile a c program in Linux
    By xman in forum Linux Programming
    Replies: 4
    Last Post: 03-18-2003, 09:41 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21