LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 02-25-2007, 09:13 AM   #1
Wanda Tinasky
LQ Newbie
 
Registered: Feb 2007
Posts: 1

Rep: Reputation: 0
gcc c cross compiler to create linux executables on a windows system


Hello,
I'm a student and because of several reasons, I need a gcc c compiler which is able to create linux code. This compiler should run on a windows system. It is for a friend of mine who uses a windows system but have to send (for the university course) the c-programs as sourcecode and linux binary files.

This are simple student programs (no graphical gui applications nor system stuff). Is there something available?
Thx

Last edited by Wanda Tinasky; 02-25-2007 at 09:14 AM.
 
Old 02-25-2007, 09:36 AM   #2
slantoflight
Member
 
Registered: Aug 2005
Distribution: Smoothwall
Posts: 283
Blog Entries: 3

Rep: Reputation: 35
well you should be able to, atleast in theory, download something like dev C++

http://www.bloodshed.net/devcpp.html

Which nicely bundles a simple, but fairly good IDE with mingw. And after that. Somewhere in options theres a place for commands that are passed to gcc.

Should be as simple as --build=i386-linux-gnu, or maybe its target. Well you'll figure out I guess.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gcc gives error C compiler cannot create executables ADD Linux - Newbie 6 01-03-2006 05:43 AM
C++ compiler cannot create executables notmatt Linux - Newbie 4 09-30-2004 07:59 AM
Building cross-compiler gcc for powerpc-linux ccool Linux - General 3 09-17-2004 06:33 AM
C compiler cannot create executables shams Linux - Software 6 06-12-2004 01:55 PM
C compiler cannot create executables londonboi Debian 2 09-23-2003 02:41 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration