* Cross build applications
@ 2001-02-02 14:49 Carsten Langgaard
2001-02-02 15:03 ` Dr. David Gilbert
2001-02-02 15:04 ` Maciej W. Rozycki
0 siblings, 2 replies; 8+ messages in thread
From: Carsten Langgaard @ 2001-02-02 14:49 UTC (permalink / raw)
To: linux-mips
I'm trying to cross build a small test program on a linux PC, but it
fails.
mips-linux-gcc -o test test.c
/usr/mips-linux/bin/ld: cannot open crt1.o: No such file or directory
--
_ _ ____ ___ Carsten Langgaard Mailto:carstenl@mips.com
|\ /|||___)(___ MIPS Denmark Direct: +45 4486 5527
| \/ ||| ____) Lautrupvang 4B Switch: +45 4486 5555
TECHNOLOGIES 2750 Ballerup Fax...: +45 4486 5556
Denmark http://www.mips.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Cross build applications
@ 2001-02-02 15:03 ` Dr. David Gilbert
0 siblings, 0 replies; 8+ messages in thread
From: Dr. David Gilbert @ 2001-02-02 15:03 UTC (permalink / raw)
To: Carsten Langgaard; +Cc: linux-mips
On Fri, 2 Feb 2001, Carsten Langgaard wrote:
> I'm trying to cross build a small test program on a linux PC, but it
> fails.
>
> mips-linux-gcc -o test test.c
> /usr/mips-linux/bin/ld: cannot open crt1.o: No such file or directory
Yep - you need to obtain a copy of this - just copy it out of Linux/mips
installation and put it in one of the lib directories under your
/usr/mips-linux.
(That let me get "hello world" crossing from Linux/Alpha last week)
Dave
--
/------------------------------------------------------------------\
| Dr. David Alan Gilbert | Work:dg@px.uk.com +44-161-286-2000 Ex258|
| -------- G7FHJ --------|---------------------------------------- |
| Home: dave@treblig.org http://www.treblig.org |
\------------------------------------------------------------------/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Cross build applications
@ 2001-02-02 15:03 ` Dr. David Gilbert
0 siblings, 0 replies; 8+ messages in thread
From: Dr. David Gilbert @ 2001-02-02 15:03 UTC (permalink / raw)
To: Carsten Langgaard; +Cc: linux-mips
On Fri, 2 Feb 2001, Carsten Langgaard wrote:
> I'm trying to cross build a small test program on a linux PC, but it
> fails.
>
> mips-linux-gcc -o test test.c
> /usr/mips-linux/bin/ld: cannot open crt1.o: No such file or directory
Yep - you need to obtain a copy of this - just copy it out of Linux/mips
installation and put it in one of the lib directories under your
/usr/mips-linux.
(That let me get "hello world" crossing from Linux/Alpha last week)
Dave
--
/------------------------------------------------------------------\
| Dr. David Alan Gilbert | Work:dg@px.uk.com +44-161-286-2000 Ex258|
| -------- G7FHJ --------|---------------------------------------- |
| Home: dave@treblig.org http://www.treblig.org |
\------------------------------------------------------------------/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Cross build applications
2001-02-02 14:49 Cross build applications Carsten Langgaard
2001-02-02 15:03 ` Dr. David Gilbert
@ 2001-02-02 15:04 ` Maciej W. Rozycki
2001-02-02 15:18 ` Carsten Langgaard
1 sibling, 1 reply; 8+ messages in thread
From: Maciej W. Rozycki @ 2001-02-02 15:04 UTC (permalink / raw)
To: Carsten Langgaard; +Cc: linux-mips
On Fri, 2 Feb 2001, Carsten Langgaard wrote:
> I'm trying to cross build a small test program on a linux PC, but it
> fails.
>
> mips-linux-gcc -o test test.c
> /usr/mips-linux/bin/ld: cannot open crt1.o: No such file or directory
The file is supposed to come with glibc. Do you have glibc for
mips-linux installed?
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Cross build applications
2001-02-02 15:04 ` Maciej W. Rozycki
@ 2001-02-02 15:18 ` Carsten Langgaard
2001-02-02 15:40 ` Maciej W. Rozycki
0 siblings, 1 reply; 8+ messages in thread
From: Carsten Langgaard @ 2001-02-02 15:18 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: linux-mips
"Maciej W. Rozycki" wrote:
> On Fri, 2 Feb 2001, Carsten Langgaard wrote:
>
> > I'm trying to cross build a small test program on a linux PC, but it
> > fails.
> >
> > mips-linux-gcc -o test test.c
> > /usr/mips-linux/bin/ld: cannot open crt1.o: No such file or directory
>
> The file is supposed to come with glibc. Do you have glibc for
> mips-linux installed?
>
No, where can I get it.
>
> --
> + Maciej W. Rozycki, Technical University of Gdansk, Poland +
> +--------------------------------------------------------------+
> + e-mail: macro@ds2.pg.gda.pl, PGP key available +
--
_ _ ____ ___ Carsten Langgaard Mailto:carstenl@mips.com
|\ /|||___)(___ MIPS Denmark Direct: +45 4486 5527
| \/ ||| ____) Lautrupvang 4B Switch: +45 4486 5555
TECHNOLOGIES 2750 Ballerup Fax...: +45 4486 5556
Denmark http://www.mips.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Cross build applications
2001-02-02 15:18 ` Carsten Langgaard
@ 2001-02-02 15:40 ` Maciej W. Rozycki
2001-02-02 15:51 ` Carsten Langgaard
0 siblings, 1 reply; 8+ messages in thread
From: Maciej W. Rozycki @ 2001-02-02 15:40 UTC (permalink / raw)
To: Carsten Langgaard; +Cc: linux-mips
On Fri, 2 Feb 2001, Carsten Langgaard wrote:
> > The file is supposed to come with glibc. Do you have glibc for
> > mips-linux installed?
>
> No, where can I get it.
If you want glibc 2.2.1, you may get a source RPM package I made
available at 'ftp://ftp.ds2.pg.gda.pl/pub/macro/'. I make mipsel-linux
builds only, so for cross-compilation you would get a mipsel-linux-glibc
package, modify the few defines at the top (and possibly the spec file
name) and build a mips-linux-glibc binary package. Or build it in the
traditional way. Note the few patches I include are not MIPS-specific, so
you do not really need them unless you want them.
If you want a glibc 2.0 package or a binary one, then I cannot help you.
Check the usual resources -- oss.sgi.com and ftp.rfc822.org. Others may
provide different pointers as well.
Maciej
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Cross build applications
2001-02-02 15:40 ` Maciej W. Rozycki
@ 2001-02-02 15:51 ` Carsten Langgaard
2001-02-02 20:07 ` Jun Sun
0 siblings, 1 reply; 8+ messages in thread
From: Carsten Langgaard @ 2001-02-02 15:51 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: linux-mips
Please, can anyone provide me with the right set of RPMs, so I can cross
compile a "hello-world" program on a linux PC ?
/Carsten
"Maciej W. Rozycki" wrote:
> On Fri, 2 Feb 2001, Carsten Langgaard wrote:
>
> > > The file is supposed to come with glibc. Do you have glibc for
> > > mips-linux installed?
> >
> > No, where can I get it.
>
> If you want glibc 2.2.1, you may get a source RPM package I made
> available at 'ftp://ftp.ds2.pg.gda.pl/pub/macro/'. I make mipsel-linux
> builds only, so for cross-compilation you would get a mipsel-linux-glibc
> package, modify the few defines at the top (and possibly the spec file
> name) and build a mips-linux-glibc binary package. Or build it in the
> traditional way. Note the few patches I include are not MIPS-specific, so
> you do not really need them unless you want them.
>
> If you want a glibc 2.0 package or a binary one, then I cannot help you.
> Check the usual resources -- oss.sgi.com and ftp.rfc822.org. Others may
> provide different pointers as well.
>
> Maciej
>
> --
> + Maciej W. Rozycki, Technical University of Gdansk, Poland +
> +--------------------------------------------------------------+
> + e-mail: macro@ds2.pg.gda.pl, PGP key available +
--
_ _ ____ ___ Carsten Langgaard Mailto:carstenl@mips.com
|\ /|||___)(___ MIPS Denmark Direct: +45 4486 5527
| \/ ||| ____) Lautrupvang 4B Switch: +45 4486 5555
TECHNOLOGIES 2750 Ballerup Fax...: +45 4486 5556
Denmark http://www.mips.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Cross build applications
2001-02-02 15:51 ` Carsten Langgaard
@ 2001-02-02 20:07 ` Jun Sun
0 siblings, 0 replies; 8+ messages in thread
From: Jun Sun @ 2001-02-02 20:07 UTC (permalink / raw)
To: Carsten Langgaard; +Cc: Maciej W. Rozycki, linux-mips
On Fri, Feb 02, 2001 at 04:51:18PM +0100, Carsten Langgaard wrote:
> Please, can anyone provide me with the right set of RPMs, so I can cross
> compile a "hello-world" program on a linux PC ?
>
> /Carsten
>
Go to ftp://ftp.mvista.com/pub/Area51/mips_fp_le/, and look for the following
packages for i386 host:
. binutils
. kernel-headers
. gcc
. glibc
Install them and you are ready to go!
There are also big endian packages available.
Jun
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2001-02-02 20:09 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-02 14:49 Cross build applications Carsten Langgaard
2001-02-02 15:03 ` Dr. David Gilbert
2001-02-02 15:03 ` Dr. David Gilbert
2001-02-02 15:04 ` Maciej W. Rozycki
2001-02-02 15:18 ` Carsten Langgaard
2001-02-02 15:40 ` Maciej W. Rozycki
2001-02-02 15:51 ` Carsten Langgaard
2001-02-02 20:07 ` Jun Sun
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.