Closed Thread
Results 1 to 6 of 6

Thread: How to compile OS source code.

  1. #1
    Kuto's Avatar
    Kuto is offline Learning Programmer
    Join Date
    May 2009
    Posts
    48
    Rep Power
    10

    How to compile OS source code.

    Yes my friends, i wanna compile minix source code but i don't know which on platform and how.
    I got its source code and i installed it on my virtual pc, so i can write program in the minix and i understand its source code. But i can't edit it because i don't know how to compile and which compiler.

    I m sorry for my english, i hope you see me. I wait your answer. Thanks...

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: How to compile OS source code.

    Are you trying to do the compiling within minix (use cc), or from outside? Googling for "compile minix" had several promising links.
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    TkTech's Avatar
    TkTech is offline The Crazy One
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    1,412
    Blog Entries
    1
    Rep Power
    31

    Re: How to compile OS source code.

    ...See that README in the base directory? Yeah, read it. You'll need to cross-compile for i586-elf

  5. #4
    Kuto's Avatar
    Kuto is offline Learning Programmer
    Join Date
    May 2009
    Posts
    48
    Rep Power
    10

    Re: How to compile OS source code.

    Thank you first for answers, @WingedPanther, if i can open source code within minix, i just write "make", and i compile it, but how to transfer source code within minix, i don't know this ,and i searched google but i couldn't find any useful thing. Besides i must make bootable image after compile.
    @TkTech, i research cross-compiler, thank you, if i do it, i will write here.
    Last edited by Kuto; 05-26-2009 at 02:58 PM.

  6. #5
    Kuto's Avatar
    Kuto is offline Learning Programmer
    Join Date
    May 2009
    Posts
    48
    Rep Power
    10

    Re: How to compile OS source code.

    Hi again, i installed cygwin unix emulator and gcc cross compiler i586. but when i try compile any .c file with gcc, given error. What should i do, did you try it?

  7. #6
    Join Date
    Oct 2007
    Location
    /dev/null
    Posts
    4,513
    Blog Entries
    8
    Rep Power
    59

    Re: How to compile OS source code.

    What error exactly did you get? Could you copy and paste the messages for us?

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Source Code Help.
    By anusam221 in forum Request Services
    Replies: 1
    Last Post: 06-25-2011, 11:47 AM
  2. Why won't this simple code compile?
    By JewFro297 in forum Java Help
    Replies: 5
    Last Post: 02-16-2011, 07:24 AM
  3. Source Code
    By whoda in forum General Programming
    Replies: 2
    Last Post: 04-23-2009, 09:15 AM
  4. Dynamically compile and run Java code
    By Exem in forum Java Help
    Replies: 2
    Last Post: 03-25-2009, 12:36 AM
  5. how to compile source kernel
    By raammadala in forum Linux Hardware
    Replies: 4
    Last Post: 11-29-2008, 06:19 AM

Tags for this Thread

Bookmarks

Posting Permissions

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