4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 C Compiler
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
kepler
Junior WebHelper
Junior WebHelper


Joined: 08 Feb 2002
Posts: 37

PostPosted: Tue Oct 05, 2004 11:07 am (19 years, 6 months ago) Reply with QuoteBack to Top

Hi,

I need a C compiler hosted in a win32 machine ( with Windows XP ) that can generate the code to run in Linux ( target ). Does anyone knows one that can perform this task? I found one, the LCC compiler, but I can't seem to put it working right... I don't know how to configure the MASM assembler and put the included libraries working.

I need some assistance. Anyone...?

Best regards,

Kepler
OfflineView User's ProfileFind all posts by keplerSend Personal Message
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Tue Oct 05, 2004 1:21 pm (19 years, 6 months ago) Reply with QuoteBack to Top

Your best option would be to download Cygwin and run GCC in that.

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
kepler
Junior WebHelper
Junior WebHelper


Joined: 08 Feb 2002
Posts: 37

PostPosted: Tue Oct 05, 2004 2:16 pm (19 years, 6 months ago) Reply with QuoteBack to Top

Well, I don't know; doesn't Cygwin change the operative system of the computer to Linux? I use DOS since it was invented! ( or very close of it...).

Linux is a little bit confusing to me.

Regards,

Kepler
OfflineView User's ProfileFind all posts by keplerSend Personal Message
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Tue Oct 05, 2004 2:21 pm (19 years, 6 months ago) Reply with QuoteBack to Top

No, cygwin just allows you to have a Linux environment inside windows, which essentially allows you to run Linux applications on windows.

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
kepler
Junior WebHelper
Junior WebHelper


Joined: 08 Feb 2002
Posts: 37

PostPosted: Tue Oct 05, 2004 3:56 pm (19 years, 6 months ago) Reply with QuoteBack to Top

I see...but the problem is that I intend to compile the C programs to Linux to have them run in my webserver. I don't think Cygwin allows that.

Kepler
OfflineView User's ProfileFind all posts by keplerSend Personal Message
adam
Forum Moderator & Developer



Joined: 26 Jul 2002
Posts: 704
Location: UK

PostPosted: Tue Oct 05, 2004 8:10 pm (19 years, 6 months ago) Reply with QuoteBack to Top

It should do, if you use GCC to compile your programs in Cygwin then it should still output a valid linux binary that can be executed on your server.

________________________________
It's turtles all the way down...
OfflineView User's ProfileFind all posts by adamSend Personal MessageVisit Poster's Website
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.213295 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme