Link to home
Start Free TrialLog in
Avatar of mirror
mirror

asked on

Internet Online UNIX Ansi-C Compiler??

I am looking for a website or telnet site which will allow me to upload my ANSI C source code and have it compile it for me so that it runs under UNIX. Is there such a website I can go to do such a thing?

I have Windows 95 and have compiled my ansi C code for DOS already and it works fine.  Maybe is there a program for windows/dos which can output compiled executable code which runs under UNIX?

Thanks a mill!
Avatar of kellyjj
kellyjj

I don't think that there is any dos/windows program that will put out unix executable.  We are talking about two different animals.  
Which UNIX?  UNIX is an operating system which runs on many different architectures - each different architecture requires a different compiler. You won't get much help if you are offering no points.
 U can use DJGPP to compile UNIX-like sources, because it uses similar includes.
 Anyhow, All u need is any Unix machine with Telnet access, ask ur ISP or any friends
 with Unix machines to enable u Telnet or even X.  

   p.s.  U need this for TQ?
 
There exists a piece of software called "Code Warrior".  I only recently heard about it from a friend of mine, so I don't know too much about it, but evidently it allows you to compile programs of various languages to run on various platforms/architectures.  Try running a web search on it, and maybe it will come in handy for you.
Ain't code Warior just for Unix?
I would suggest that you try to find a cross compiler for DOS to your particular flavor of UNIX. As braveheart said above, the type of UNIX you are running on is a huge factor in which compiler you will need.  Obviously, the VAX and BSD unices are very different, and there are others, too, like Sun UNIX and FreeBSD and Linux and all kinds of others.  I would suggest that you get in touch with the manufacturer of you compiler for DOS and find out if they have a cross compiler for the type of UNIX you need.  I would also suggest that you don't try and get free help through the experts-exchange, particularly on a question that is relativley difficult, like this one.
ASKER CERTIFIED SOLUTION
Avatar of dreamPeace
dreamPeace

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial