LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-14-2010, 03:52 PM   #1
eniv6208
LQ Newbie
 
Registered: Dec 2010
Location: Monterrey, Mexico
Distribution: Ubuntu
Posts: 5

Rep: Reputation: 0
Unhappy What TARGET to use when installing software with ./configure ?


I am installing gcc-core, binutils, etc, to cygwin. The goal I am pursuing is to be able to build from a Windows platform, for a Linux target, saying it in other words is to compile programs in a Windows environment to run them in a Linux environment.

The problem is that I need to know what TARGET to choose when running the ./configure. My understanding is that it depends on the target CPU, right?

I need to build gcc-core and all the needed utils, to be able to build later the gcc-linux. Is this correct?

Thanks

eniv6208
 
Old 12-14-2010, 10:12 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
From http://gcc.gnu.org/install/specific.html#x-x-cygwin
Quote:
*-*-cygwin

Ports of GCC are included with the Cygwin environment.

GCC will build under Cygwin without modification; it does not build with Microsoft's C++ compiler and there are no plans to make it do so.

The Cygwin native compiler can be configured to target any 32-bit x86 cpu architecture desired; the default is i686-pc-cygwin. It should be used with as up-to-date a version of binutils as possible; use either the latest official GNU binutils release in the Cygwin distribution, or version 2.20 or above if building your own
 
1 members found this post helpful.
Old 12-17-2010, 09:27 AM   #3
eniv6208
LQ Newbie
 
Registered: Dec 2010
Location: Monterrey, Mexico
Distribution: Ubuntu
Posts: 5

Original Poster
Rep: Reputation: 0
Still have problems with cygwin

Quote:
Originally Posted by bigrigdriver View Post
Thank you for your response.
I still have problems with cygwin, I was having an error that said: sed command not found, and looking into this I found a place where they say I need to configure correctly the environment variables before starting up the shell, but they didn't provide the specific variables to configure to avoid this error. Do somebody know what variables are and what value do they need to be initialized with?


Really appreciate your help

Thanks
eniv6208

Last edited by eniv6208; 12-17-2010 at 10:53 AM.
 
  


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
dpkg-buildpackage configure: error: can only configure for one host and one target at donnied Debian 0 05-26-2008 07:08 PM
Installing software - configure-problems kensol Linux - Newbie 3 09-09-2007 11:28 AM
LXer: Call to target UK Software Piracy LXer Syndicated Linux News 0 05-24-2006 06:21 AM
iSCSI target software from Ardis pliva Linux - Software 2 05-13-2006 01:39 AM
gcc-3.3.3 compling(configure-target-libiberty error 1) windus Linux - Software 0 04-18-2004 12:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:52 PM.

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