* Re: soalris 8/9/10 target of gas
@ 2004-03-30 9:49 sting sting
2004-03-30 13:58 ` Ralf Corsepius
0 siblings, 1 reply; 15+ messages in thread
From: sting sting @ 2004-03-30 9:49 UTC (permalink / raw)
To: ebotcazou; +Cc: ian, binutils
Hello
Thnxs Eric.
Well, you're right. I am really sorry .I did succeed with (from a separate
directory)
../binutil-ver/configuer --target=i386-sun-solaris2.8
and afterwards make.
Now : I don't want to do "make install" because I want to keep use the
binutils on this platform also for non-solaris target (linux targets).
I want to run ./configure of gcc so that it will use the binutil with which
I performed make (with target=solaris.)
Is there a way to do it ?
(When typing ./configure --help (from gcc)
the only thing which seems to me relevant is
--with-FOO=BAR. Is it this?)
I am quite newbie in this field of cross compilers so I
aplogoze if this seems trivial to some.
regards,
sting
>From: Eric Botcazou <ebotcazou@libertysurf.fr>
>To: "sting sting" <zstingx@hotmail.com>
>CC: ian@wasabisystems.com, binutils@sources.redhat.com
>Subject: Re: soalris 8/9/10 target of gas
>Date: Mon, 29 Mar 2004 20:53:56 +0200
>
> > ../binutils-2.14/configure target=i386-sun-solaris2.8
> > configure: warning: target=i386-sun-solaris2.8: invalid host type
> > loading cache ./config.cache
> > checking host system type... Invalid configuration
> > `target=i386-sun-solaris2.8': machine `target=i386-sun' not recognized
>
>That's not what I wrote. You need to pass --target=i386-sun-solaris2.8 to
>the configure script and run 'make' from the _toplevel_ object directory.
>
>--
>Eric Botcazou
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: soalris 8/9/10 target of gas
2004-03-30 9:49 soalris 8/9/10 target of gas sting sting
@ 2004-03-30 13:58 ` Ralf Corsepius
0 siblings, 0 replies; 15+ messages in thread
From: Ralf Corsepius @ 2004-03-30 13:58 UTC (permalink / raw)
To: sting sting; +Cc: ebotcazou, ian, Binutils List
On Tue, 2004-03-30 at 09:54, sting sting wrote:
> Hello
> Thnxs Eric.
>
> Well, you're right. I am really sorry .I did succeed with (from a separate
> directory)
> ../binutil-ver/configuer --target=i386-sun-solaris2.8
> and afterwards make.
>
> Now : I don't want to do "make install" because I want to keep use the
> binutils on this platform also for non-solaris target (linux targets).
> I want to run ./configure of gcc so that it will use the binutil with which
> I performed make (with target=solaris.)
> Is there a way to do it ?
--prefix is what you are looking for. It can be used to install to any
arbitrary directory, e.g.:
../binutils-<version>/configure --target=i386-sun-solaris2.8
--prefix=/opt/i386-sun-solaris2.8
> (When typing ./configure --help (from gcc)
> the only thing which seems to me relevant is
> --with-FOO=BAR. Is it this?)
No. --prefix is what you are looking for.
Ralf
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: soalris 8/9/10 target of gas
2004-03-30 2:04 ` Eric Christopher
2004-03-30 3:22 ` Ben Elliston
@ 2004-03-30 9:55 ` Zack Weinberg
1 sibling, 0 replies; 15+ messages in thread
From: Zack Weinberg @ 2004-03-30 9:55 UTC (permalink / raw)
To: Eric Christopher; +Cc: Ben Elliston, binutils
Eric Christopher <echristo@redhat.com> writes:
> On Mon, 2004-03-29 at 16:37, Ben Elliston wrote:
>> "sting sting" <zstingx@hotmail.com> writes:
>>
>> > I did not find no solaris 8/9/10.
>> > Does it not support solaris 8/9/10 as a target?
>>
>> Does anyone have any objections if I make the changes to config.sub to
>> canonicalise solaris{x} solaris2.{x} for x >= 8?
>
> I believe Zack had it summed up pretty well.
... not this again ...
zw
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: soalris 8/9/10 target of gas
2004-03-30 3:22 ` Ben Elliston
@ 2004-03-30 5:57 ` Eric Christopher
0 siblings, 0 replies; 15+ messages in thread
From: Eric Christopher @ 2004-03-30 5:57 UTC (permalink / raw)
To: Ben Elliston; +Cc: binutils
On Mon, 2004-03-29 at 16:51, Ben Elliston wrote:
> Eric Christopher <echristo@redhat.com> writes:
>
> > > Does anyone have any objections if I make the changes to config.sub to
> > > canonicalise solaris{x} solaris2.{x} for x >= 8?
> >
> > I believe Zack had it summed up pretty well.
>
> If I remember correctly, the thread some weeks ago was about making
> changes to config.guess, which I naturally would agree cannot be made.
It was some weeks ago and I don't really remember now :)
-reic
--
Eric Christopher <echristo@redhat.com>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: soalris 8/9/10 target of gas
2004-03-30 2:04 ` Eric Christopher
@ 2004-03-30 3:22 ` Ben Elliston
2004-03-30 5:57 ` Eric Christopher
2004-03-30 9:55 ` Zack Weinberg
1 sibling, 1 reply; 15+ messages in thread
From: Ben Elliston @ 2004-03-30 3:22 UTC (permalink / raw)
To: binutils
Eric Christopher <echristo@redhat.com> writes:
> > Does anyone have any objections if I make the changes to config.sub to
> > canonicalise solaris{x} solaris2.{x} for x >= 8?
>
> I believe Zack had it summed up pretty well.
If I remember correctly, the thread some weeks ago was about making
changes to config.guess, which I naturally would agree cannot be made.
Ben
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: soalris 8/9/10 target of gas
2004-03-30 1:56 ` Ben Elliston
@ 2004-03-30 2:04 ` Eric Christopher
2004-03-30 3:22 ` Ben Elliston
2004-03-30 9:55 ` Zack Weinberg
0 siblings, 2 replies; 15+ messages in thread
From: Eric Christopher @ 2004-03-30 2:04 UTC (permalink / raw)
To: Ben Elliston; +Cc: binutils, Zack Weinberg
On Mon, 2004-03-29 at 16:37, Ben Elliston wrote:
> "sting sting" <zstingx@hotmail.com> writes:
>
> > I did not find no solaris 8/9/10.
> > Does it not support solaris 8/9/10 as a target?
>
> Does anyone have any objections if I make the changes to config.sub to
> canonicalise solaris{x} solaris2.{x} for x >= 8?
I believe Zack had it summed up pretty well.
-eric
--
Eric Christopher <echristo@redhat.com>
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: soalris 8/9/10 target of gas
2004-03-29 16:05 sting sting
2004-03-29 16:09 ` Eric Botcazou
@ 2004-03-30 1:56 ` Ben Elliston
2004-03-30 2:04 ` Eric Christopher
1 sibling, 1 reply; 15+ messages in thread
From: Ben Elliston @ 2004-03-30 1:56 UTC (permalink / raw)
To: binutils
"sting sting" <zstingx@hotmail.com> writes:
> I did not find no solaris 8/9/10.
> Does it not support solaris 8/9/10 as a target?
Does anyone have any objections if I make the changes to config.sub to
canonicalise solaris{x} solaris2.{x} for x >= 8?
Ben
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: soalris 8/9/10 target of gas
2004-03-30 0:51 sting sting
@ 2004-03-30 1:41 ` Eric Botcazou
0 siblings, 0 replies; 15+ messages in thread
From: Eric Botcazou @ 2004-03-30 1:41 UTC (permalink / raw)
To: sting sting; +Cc: ian, binutils
> ../binutils-2.14/configure target=i386-sun-solaris2.8
> configure: warning: target=i386-sun-solaris2.8: invalid host type
> loading cache ./config.cache
> checking host system type... Invalid configuration
> `target=i386-sun-solaris2.8': machine `target=i386-sun' not recognized
That's not what I wrote. You need to pass --target=i386-sun-solaris2.8 to
the configure script and run 'make' from the _toplevel_ object directory.
--
Eric Botcazou
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: soalris 8/9/10 target of gas
@ 2004-03-30 0:51 sting sting
2004-03-30 1:41 ` Eric Botcazou
0 siblings, 1 reply; 15+ messages in thread
From: sting sting @ 2004-03-30 0:51 UTC (permalink / raw)
To: ian; +Cc: ebotcazou, binutils
Thnxs all ;
well I had tried it all from scratch again.
Now I had realized what happened:
the target i386-sun-solaris2.8 does not exist as I understand.
the ./configure target=i386-sun-solaris2.8 displays error messages
but **DOES** create eventually a Makefile; because I was n a haste and it
was
quick I had missed that.
Any idea what target is valid for solris 8/9/10 ? (if exists at all?)
Here is the log of ./configure
../binutils-2.14/configure target=i386-sun-solaris2.8
configure: warning: target=i386-sun-solaris2.8: invalid host type
loading cache ./config.cache
checking host system type... Invalid configuration
`target=i386-sun-solaris2.8': machine `target=i386-sun' not recognized
regards,
sting
>From: Ian Lance Taylor <ian@wasabisystems.com>
>To: "sting sting" <zstingx@hotmail.com>
>CC: ebotcazou@libertysurf.fr, binutils@sources.redhat.com
>Subject: Re: soalris 8/9/10 target of gas
>Date: 29 Mar 2004 11:09:23 -0500
>
>"sting sting" <zstingx@hotmail.com> writes:
>
> > here is the log; I 'll appreciate any help.
>
>It looks like you ran make in the gas directory. Don't do that. Run
>make in the top level of your object directory.
>
>Also, never run ./configure. Instead, run configure in an empty
>directory. I recommend that you delete your current working directory
>and start again.
>
>Ian
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: soalris 8/9/10 target of gas
2004-03-29 16:50 sting sting
@ 2004-03-29 16:56 ` Ian Lance Taylor
0 siblings, 0 replies; 15+ messages in thread
From: Ian Lance Taylor @ 2004-03-29 16:56 UTC (permalink / raw)
To: sting sting; +Cc: ebotcazou, binutils
"sting sting" <zstingx@hotmail.com> writes:
> here is the log; I 'll appreciate any help.
It looks like you ran make in the gas directory. Don't do that. Run
make in the top level of your object directory.
Also, never run ./configure. Instead, run configure in an empty
directory. I recommend that you delete your current working directory
and start again.
Ian
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: soalris 8/9/10 target of gas
@ 2004-03-29 16:50 sting sting
2004-03-29 16:56 ` Ian Lance Taylor
0 siblings, 1 reply; 15+ messages in thread
From: sting sting @ 2004-03-29 16:50 UTC (permalink / raw)
To: ebotcazou; +Cc: binutils
Thnks.
I had follwowed Eric Botcazou advice and tried:
./configure--target=i386-sun-solaris2.8 .
from binutil root;
./configure succeeded, but make failed.
here is the log; I 'll appreciate any help.
make
make all-recursive
make[1]: Entering directory `/work/src/binutils-2.14/gas'
Making all in doc
make[2]: Entering directory `/work/src/binutils-2.14/gas/doc'
rm -f asconfig.texi
ln -s ./all.texi ./asconfig.texi >/dev/null 2>&1 \
|| ln ./all.texi ./asconfig.texi >/dev/null 2>&1 \
|| cp ./all.texi ./asconfig.texi
rm -f gasver.texi
echo '@set VERSION 2.14' > gasver.texi
touch as.1
perl ../../etc/texi2pod.pl -Dman < ./as.texinfo > as.pod
Option GCC not defined
Option LD not defined
(pod2man --center="GNU Development Tools" --release="binutils-2.14"
--section=1
as.pod | \
sed -e '/^.if n .na/d' > as.1.T$$ && \
mv -f as.1.T$$ as.1) || \
(rm -f as.1.T$$ && exit 1)
rm -f as.pod
make[2]: Leaving directory `/work/src/binutils-2.14/gas/doc'
Making all in po
make[2]: Entering directory `/work/src/binutils-2.14/gas/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/work/src/binutils-2.14/gas/po'
make[2]: Entering directory `/work/src/binutils-2.14/gas'
make[2]: *** No rule to make target `../bfd/bfd.h', needed by `app.o'.
Stop.
make[2]: Leaving directory `/work/src/binutils-2.14/gas'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/work/src/binutils-2.14/gas'
make: *** [all-recursive-am] Error 2
Regards,
sting
>From: Eric Botcazou <ebotcazou@libertysurf.fr>
>To: "sting sting" <zstingx@hotmail.com>
>CC: binutils@sources.redhat.com
>Subject: Re: soalris 8/9/10 target of gas
>Date: Mon, 29 Mar 2004 17:48:47 +0200
>
> > I don't know exactly what "canonical names are"
>
>The standardized names used by the GNU project.
>
> > but solaris2.8, solaris2.9 and solaris2.10 don't appear in config.sub.
>
>Config.sub uses regular expressions and the likes.
>
>Try to configure with --target=i386-sun-solaris2.8 .
>
>--
>Eric Botcazou
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: soalris 8/9/10 target of gas
2004-03-29 16:20 sting sting
@ 2004-03-29 16:47 ` Eric Botcazou
0 siblings, 0 replies; 15+ messages in thread
From: Eric Botcazou @ 2004-03-29 16:47 UTC (permalink / raw)
To: sting sting; +Cc: binutils
> I don't know exactly what "canonical names are"
The standardized names used by the GNU project.
> but solaris2.8, solaris2.9 and solaris2.10 don't appear in config.sub.
Config.sub uses regular expressions and the likes.
Try to configure with --target=i386-sun-solaris2.8 .
--
Eric Botcazou
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: soalris 8/9/10 target of gas
@ 2004-03-29 16:20 sting sting
2004-03-29 16:47 ` Eric Botcazou
0 siblings, 1 reply; 15+ messages in thread
From: sting sting @ 2004-03-29 16:20 UTC (permalink / raw)
To: ebotcazou; +Cc: binutils
First Thnxs;
second:
I don't know exactly what "canonical names are"
but solaris2.8, solaris2.9 and solaris2.10 don't appear in config.sub.
should I understand from it that there is no support for new versions?
sting
>From: Eric Botcazou <ebotcazou@libertysurf.fr>
>To: "sting sting" <zstingx@hotmail.com>
>CC: binutils@sources.redhat.com
>Subject: Re: soalris 8/9/10 target of gas
>Date: Mon, 29 Mar 2004 15:36:56 +0200
>
> > Does it not support solaris 8/9/10 as a target?
>
>The canonical names are solaris2.8, solaris2.9 and solaris2.10 .
>
>--
>Eric Botcazou
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: soalris 8/9/10 target of gas
2004-03-29 16:05 sting sting
@ 2004-03-29 16:09 ` Eric Botcazou
2004-03-30 1:56 ` Ben Elliston
1 sibling, 0 replies; 15+ messages in thread
From: Eric Botcazou @ 2004-03-29 16:09 UTC (permalink / raw)
To: sting sting; +Cc: binutils
> Does it not support solaris 8/9/10 as a target?
The canonical names are solaris2.8, solaris2.9 and solaris2.10 .
--
Eric Botcazou
^ permalink raw reply [flat|nested] 15+ messages in thread
* soalris 8/9/10 target of gas
@ 2004-03-29 16:05 sting sting
2004-03-29 16:09 ` Eric Botcazou
2004-03-30 1:56 ` Ben Elliston
0 siblings, 2 replies; 15+ messages in thread
From: sting sting @ 2004-03-29 16:05 UTC (permalink / raw)
To: binutils
Hello,
I had downloaded latest binutil tar file frrom redhat.
I want to configure gas on a linux mavhine,with target as solaris 8/9/10 on
x86(for
cross compiling).
Now , according to the readme under gas
" The `configure' script accompanying GAS does not provide any query
facility to list all supported host and target names or aliases.
`configure' calls the Bourne shell script `config.sub' to map
abbreviations to full names; you can read the script, if you wish, or
you can use it to test your guesses on abbreviations".
well , I had looked at that comfig.sub under gas.
searching for solaris gives:
i*86sol2
sun4sol2
solaris1
sunos5*
sunos6*
I did not find no solaris 8/9/10.
Does it not support solaris 8/9/10 as a target?
regards,
sting
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2004-03-30 9:30 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-30 9:49 soalris 8/9/10 target of gas sting sting
2004-03-30 13:58 ` Ralf Corsepius
-- strict thread matches above, loose matches on Subject: below --
2004-03-30 0:51 sting sting
2004-03-30 1:41 ` Eric Botcazou
2004-03-29 16:50 sting sting
2004-03-29 16:56 ` Ian Lance Taylor
2004-03-29 16:20 sting sting
2004-03-29 16:47 ` Eric Botcazou
2004-03-29 16:05 sting sting
2004-03-29 16:09 ` Eric Botcazou
2004-03-30 1:56 ` Ben Elliston
2004-03-30 2:04 ` Eric Christopher
2004-03-30 3:22 ` Ben Elliston
2004-03-30 5:57 ` Eric Christopher
2004-03-30 9:55 ` Zack Weinberg
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).