Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-01-2005, 07:10 AM
|
#1
|
LQ Newbie
Registered: May 2005
Posts: 7
Rep:
|
windows to linux cross-compiler
Could anyone tell me where to get a gcc-based cross-compiler that would run on windows NT and generate linux binaries.
Last edited by back2morrie; 07-05-2005 at 12:16 AM.
|
|
|
07-01-2005, 08:18 AM
|
#2
|
Senior Member
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Rep:
|
As far as I know the only way to do this is to use Cygwin. I could be mistaken, but I don't think gcc will run under native Windows.
|
|
|
07-01-2005, 08:22 AM
|
#3
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Re: windows to linux cross-compiler
Quote:
Originally posted by back2morrie
A fast reply would be highly appreciated as this is a bit urgent.
|
Might be urgent for you but not for us. This is a free forum based website you can ask questions in which other members come here in their own free time to help people like you asking such questions. Be considerate and don't place urgent in your questions as your thread/question has no priority over any other thread/question that is asked here..
|
|
|
07-04-2005, 12:03 AM
|
#4
|
LQ Newbie
Registered: May 2005
Posts: 7
Original Poster
Rep:
|
Sorry about tht. But I wasnt trying to belittle others' posts or put my own message above others. It was just a humble request for some greatly needed help.
|
|
|
07-04-2005, 12:06 AM
|
#5
|
LQ Newbie
Registered: May 2005
Posts: 7
Original Poster
Rep:
|
Actually acc. to me, cygwin and djgpp are packages that help us run gcc in windows in a linux like enviroment and the binaries that they generate also run on windows. But what I want to do is to run gcc windows and generate binaries for linux, for which a cross-compiler is required.
|
|
|
07-04-2005, 06:30 AM
|
#6
|
Member
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276
Rep:
|
May I ask why you don't simply set up a linux box (any PIII will do for a fairly recent distribution, I hope although it's urgent you still can afford to take the compilation a few minutes  ) and compile your sources there? You could simply store your working copy on a samba share, and compile the linux variant on the server.
|
|
|
07-05-2005, 12:14 AM
|
#7
|
LQ Newbie
Registered: May 2005
Posts: 7
Original Poster
Rep:
|
thats coz the application that I have built using the cross-compiler has to be run on windows while the binaries generated have to be run on a linux based embedded system. 
|
|
|
07-05-2005, 12:53 AM
|
#8
|
Member
Registered: Jan 2004
Location: Munich
Distribution: SuSE 9.2, 10.2, 10.3, knoppix
Posts: 276
Rep:
|
Quote:
Originally posted by back2morrie
thats coz the application that I have built using the cross-compiler has to be run on windows while the binaries generated have to be run on a linux based embedded system.
|
Errr... what is the difference between "application that I have built using the cross-compiler" (which results IMHO in a binary) and "the binaries generated have to be run on a linux based "? That is, what is the difference between binary and binary?
Anyway, what keeps you from compiling your sources on the embedded system? Just install samba and telnet server and gcc, make, whatever you need, and there you go. Much easier than messing around with cygwin and such stuff. BTW your embedded board, is it x86 compatible, or something else?
|
|
|
07-13-2005, 03:15 AM
|
#9
|
LQ Newbie
Registered: May 2005
Posts: 7
Original Poster
Rep:
|
Quote:
Originally posted by Marius2
what keeps you from compiling your sources on the embedded system?
|
Well thats precisely the reason why cross-compilers have come into existence.......coz embedded systems are highly limited in terms of the resources available. ...also sometimes users are expected to write and compile code on a user friendly windows machine which is much easier....and then download the binaries into the embedded system.........i hope u get it now..
|
|
|
All times are GMT -5. The time now is 05:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|