public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* building a cross compiler
@ 2003-04-30 18:59 erwan ancel
  2003-04-30 20:40 ` LLeweLLyn Reese
  2003-05-01 20:42 ` Pieter Thysebaert
  0 siblings, 2 replies; 13+ messages in thread
From: erwan ancel @ 2003-04-30 18:59 UTC (permalink / raw)
  To: gcc-help

Hi,

I am trying to build the gcc 3.2.3 under linux for Windows Cygwin
target.
my configure parameters are:
./configure -v --prefix=/usr/cross-compile --target=i386-mingw32
--with-gnu-as --with-gnu-ld --disable-multilib

when typing make, the xgcc is built, but I got the error:
checking whether the C compiler (/home/awa/toto/gcc-3.2.3/gcc/xgcc
-B/home/awa/toto/gcc-3.2.3/gcc/ -B/usr/cross-compile/i386-mingw32/bin/
-B/usr/cross-compile/i386-mingw32/lib/ -isystem
/usr/cross-compile/i386-mingw32/include -O2 -g -O2 ) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
make: *** [configure-target-libiberty] Erreur 1

Does anyone know what happens ?

		Erwan.

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: building a cross compiler
@ 2001-01-12  3:22 David Korn
  2001-01-12 10:05 ` Albert Niessner
  0 siblings, 1 reply; 13+ messages in thread
From: David Korn @ 2001-01-12  3:22 UTC (permalink / raw)
  To: 'Albert Niessner', gcc-help; +Cc: tgl

    Hi Al,

>make[2]: Entering directory
>`/export/home/niessner/Scratch/CrossCompiler/build-gcc-sparc/sp
>arc-sun-solaris2/libiberty'
>
>make[2]: *** No targets specified and no makefile found.  Stop.
>make[2]: Leaving directory
>`/export/home/niessner/Scratch/CrossCompiler/build-gcc-sparc/sp
>arc-sun-solaris2/libiberty'
>
>make[1]: *** [../libiberty/libiberty.a] Error 2
>make[1]: Leaving directory
>`/export/home/niessner/Scratch/CrossCompiler/build-gcc-sparc/sp
>arc-sun-solaris2/libstdc++'
>
>make: *** [all-target-libstdc++] Error 2

  This looks very much like something failed badly during the configure
stage, since that's when the makefiles should have been created. Was there
anything unusual in the output from that ?

     DaveK
-- 
The Boulder Pledge: "Under no circumstances will I ever purchase anything 
offered to me as the result of an unsolicited email message. Nor will I 
forward chain letters, petitions, mass mailings, or virus warnings to large 
numbers of others. This is my contribution to the survival of the online
community." 


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

^ permalink raw reply	[flat|nested] 13+ messages in thread
* building a cross compiler
@ 2001-01-11 17:04 Albert Niessner
  0 siblings, 0 replies; 13+ messages in thread
From: Albert Niessner @ 2001-01-11 17:04 UTC (permalink / raw)
  To: gcc-help; +Cc: tgl

gcc version = 2.95.2
host = i686-pc-linux-gnu
target = sparc-sun-solaris2
configure line = ../gcc-2.95.2/configure --target=$target
--prefix=/usr/local -v --with-headers=../Solaris-2.6/include

I am attempting to build a cross compiler for the sparc platform and the
make is crashing when it gets to libiberty. I looked through the
configure.in and libiberty/configure.in looking for extra controls and
found none that helped. The specific error make is throwing is:

make[2]: Entering directory
`/export/home/niessner/Scratch/CrossCompiler/build-gcc-sparc/sparc-sun-solaris2/libiberty'

make[2]: *** No targets specified and no makefile found.  Stop.
make[2]: Leaving directory
`/export/home/niessner/Scratch/CrossCompiler/build-gcc-sparc/sparc-sun-solaris2/libiberty'

make[1]: *** [../libiberty/libiberty.a] Error 2
make[1]: Leaving directory
`/export/home/niessner/Scratch/CrossCompiler/build-gcc-sparc/sparc-sun-solaris2/libstdc++'

make: *** [all-target-libstdc++] Error 2


Just as a test I then did a make -k to proceed past the errors. It
completed and installed, but is not functional. It crashes during the ld
phase. Since the test program compiles and runs with a host compiler, it
should compile and link with the cross.

What is missing in the configure line which will allow the compiler to
build?


Al Niessner

^ permalink raw reply	[flat|nested] 13+ messages in thread
* Building a cross compiler.
@ 1999-12-11 12:26 Mark A. Framness
  1999-12-11 13:51 ` Mumit Khan
  1999-12-31 22:24 ` Mark A. Framness
  0 siblings, 2 replies; 13+ messages in thread
From: Mark A. Framness @ 1999-12-11 12:26 UTC (permalink / raw)
  To: help-gcc

Hey

What is the deal with a cross compiler?  It seems to me that a x-compiler 
will allow one to build programs for differing target systems.
 
Anyone have experience building this for perhaps Linux - OS/2 - Win*?

Thanks

From:  Mark A. Framness
http://netnet.net/~farmer/
mframness@lakefield.net

 Go Pack Go!

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2003-05-01 20:42 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-30 18:59 building a cross compiler erwan ancel
2003-04-30 20:40 ` LLeweLLyn Reese
2003-04-30 21:10   ` erwan ancel
2003-05-01  4:16   ` npat
2003-05-01 20:42 ` Pieter Thysebaert
2003-05-01 20:36   ` erwan ancel
  -- strict thread matches above, loose matches on Subject: below --
2001-01-12  3:22 David Korn
2001-01-12 10:05 ` Albert Niessner
2001-01-11 17:04 Albert Niessner
1999-12-11 12:26 Building " Mark A. Framness
1999-12-11 13:51 ` Mumit Khan
1999-12-31 22:24   ` Mumit Khan
1999-12-31 22:24 ` Mark A. Framness

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).