Find the answer to your Linux question:
Results 1 to 6 of 6
Hi all, I want 2 know how 2 compile objective c code using gcc compiler? What command should be used for it? thanks in advance...
  1. #1
    Just Joined! Naveen Kumar D's Avatar
    Join Date
    Nov 2006
    Location
    India
    Posts
    56

    How 2 compile objective c using gcc compiler

    Hi all,

    I want 2 know how 2 compile objective c code using gcc compiler?
    What command should be used for it?


    thanks in advance

  2. #2
    Linux User cyberinstru's Avatar
    Join Date
    Jan 2007
    Location
    India
    Posts
    362
    use -x objective-c with gcc.

    Ex:

    # gcc -x objective-c <src_file> -o <obj>
    ---------------------------------
    Registered Linux User #440311
    HI2ARUN _AT_ GMAIL _DOT_ COM
    ---------------------------------

  3. #3
    Just Joined! Naveen Kumar D's Avatar
    Join Date
    Nov 2006
    Location
    India
    Posts
    56

    Talking Reply

    Ok thanks I will try

  4. #4
    Just Joined!
    Join Date
    Nov 2006
    Location
    Hyderabad
    Posts
    85
    hi,

    could you please tell me what is objective c code.

  5. #5
    Linux User infoshirish's Avatar
    Join Date
    May 2007
    Location
    Pune, India
    Posts
    397
    Quote Originally Posted by rajkumarmadhani View Post
    hi,

    could you please tell me what is objective c code.

    Hey,

    Code:
    # gcc program_name.c
    This will create a.out file.
    #./a.out
    To run the program.
    Regards,

    who |grep -i blonde |
    date; cd~; unzip; touch;
    strip; finger; mount; gasp;
    yes; uptime; umount;
    sleep

    Newbie clicks
    http://www.linuxforums.org/forum/lin...ead-first.html

  6. #6
    Linux User infoshirish's Avatar
    Join Date
    May 2007
    Location
    Pune, India
    Posts
    397
    Quote Originally Posted by rajkumarmadhani View Post
    hi,

    could you please tell me what is objective c code.

    Hey,

    Code:
    # gcc program_name.c
    This will compile the program and will create a.out file.
    #./a.out
    To run the program.
    Regards,

    who |grep -i blonde |
    date; cd~; unzip; touch;
    strip; finger; mount; gasp;
    yes; uptime; umount;
    sleep

    Newbie clicks
    http://www.linuxforums.org/forum/lin...ead-first.html

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...