no other compilers?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
yan

no other compilers?

Post by yan »

hello sirs,i must trouble all u again:)

in minix,only cc(oh,what is it?)can compiler a C program?can other compilers do this?(e.g. can gcc do it?)
Thunder

Re:no other compilers?

Post by Thunder »

How much I know gcc is open source, but it only works in Linux and windowz.
You can port into Minix.

Please correct me if I made mistake. :)
yan

Re:no other compilers?

Post by yan »

add one question:can a.out compiled by minix's cc run under linux system?is it a standard a.out file?and is there some stuff can help me understand this file's sturcture?
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:no other compilers?

Post by Pype.Clicker »

try the file format database : http://www.wotsit.org/

i don't see a good reason why an A.out file compiled on system X couldn't run on system Y, except if it depends on dynamic libraries that might not be present in Y.

however, i'm unsure whether a.out has a support for dynamic libraries, anyway...

Note that a.out is nearly obsolete in Linux and that it may require you to explicitely configure it in the kernel options.
Post Reply