Page 1 of 1

no other compilers?

Posted: Sun Aug 03, 2003 3:59 am
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?)

Re:no other compilers?

Posted: Sun Aug 03, 2003 6:24 am
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. :)

Re:no other compilers?

Posted: Sun Aug 03, 2003 9:16 am
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?

Re:no other compilers?

Posted: Mon Aug 04, 2003 12:01 am
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.