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?)
no other compilers?
Re:no other compilers?
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.
You can port into Minix.
Please correct me if I made mistake.
Re:no other compilers?
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?
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:no other compilers?
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.
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.