* Re: Linux/Alpha vs Linux/Intel...
[not found] <m3913chjcx.fsf@dali.isdn.uni-koeln.de>
@ 1997-03-25 23:45 ` Richard Henderson
1997-03-26 0:20 ` Michal Jaegermann
0 siblings, 1 reply; 9+ messages in thread
From: Richard Henderson @ 1997-03-25 23:45 UTC (permalink / raw)
> Would someone be so kind to explain how one achieves this? I'm a
> little clueless with this...
You can create a shared library from a static library like so:
gcc -shared -o libfoo.so -Wl,--whole-archive libfoo.a -Wl,--no-whole-archive
For the task at hand, you'll want to put this libfoo.so in
emacs' /usr/lib/emacs/alpha-linux/version/ directory and add
-Wl,-rpath=/usr/lib/emacs/alpha-linux/version
to emacs' link line.
r~
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Linux/Alpha vs Linux/Intel...
1997-03-25 23:45 ` Linux/Alpha vs Linux/Intel Richard Henderson
@ 1997-03-26 0:20 ` Michal Jaegermann
1997-03-26 7:11 ` Richard Henderson
0 siblings, 1 reply; 9+ messages in thread
From: Michal Jaegermann @ 1997-03-26 0:20 UTC (permalink / raw)
>
>
> You can create a shared library from a static library like so:
>
> gcc -shared -o libfoo.so -Wl,--whole-archive libfoo.a -Wl,--no-whole-archive
Does that really work? I thought that shared libraries need to contain
a position independent code, so you need some extra flags, like -fpic
or -fPIC, when compiling .o files. Or this does not matter in the
particular case of xemacs?
If the above is generally ok then this is good to know for the future. :-)
Michal
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Linux/Alpha vs Linux/Intel...
1997-03-26 0:20 ` Michal Jaegermann
@ 1997-03-26 7:11 ` Richard Henderson
0 siblings, 0 replies; 9+ messages in thread
From: Richard Henderson @ 1997-03-26 7:11 UTC (permalink / raw)
> Does that really work? I thought that shared libraries need to contain
> a position independent code...
Two things:
(1) ELF shared libraries simply recommend -fpic, it is not strictly
required. Non-pic libraries simply result in dirty, unshared pages.
(2) All alpha code is position-independant due to 64-bit constraints. ;-)
r~
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Linux/Alpha vs Linux/Intel...
@ 1997-03-25 1:05 Markus Dickebohm
0 siblings, 0 replies; 9+ messages in thread
From: Markus Dickebohm @ 1997-03-25 1:05 UTC (permalink / raw)
>> David Paris schrieb am Mon, 24 Mar 1997 14:24:03 -0800 (PST):
> Why don't you just grab the binaries? If you don't know where it is,
> check out xemacs-19.14-alpha-unknown-linux2.0.0.tgz at
> ftp://gatekeeper.dec.com/pub/DEC/Linux-Alpha/X11/. Then you just
> gotta grab the common files off of any xemacs ftp site, and you're
> set. The binaries worked just fine for me.
Yes, it works. But this is the really slow ECOFF version I'm talking
about. Before I upgraded to RedHat4.1 I had an ELF binary provided by
Martin Cornelius <fabsoft@zarm.uni-bremen.de> which was *way*
faster. Unfortunately this stopped working with RedHat4.1.
Richard Henderson is quite right with his assumption about the failing
of the link procedure:
> With lots of reloction overflow errors? This isn't a glibc problem
> but one of the version of ld that you have can't handle really large
> programs.
Since I would really like to have an ELF XEmacs again, I would like to
try this proposal (the second seems to be a little dangerous):
> (1) split some of the static libraries that xemacs uses out
> into shared libraries.
Would someone be so kind to explain how one achieves this? I'm a
little clueless with this...
Many thanks in advance,
Markus
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <m33etl2osy.fsf@franck.pc.Uni-Koeln.DE>]
* Re: Linux/Alpha vs Linux/Intel...
[not found] <m33etl2osy.fsf@franck.pc.Uni-Koeln.DE>
@ 1997-03-24 21:50 ` Richard Henderson
1997-03-24 22:24 ` David Paris
0 siblings, 1 reply; 9+ messages in thread
From: Richard Henderson @ 1997-03-24 21:50 UTC (permalink / raw)
> My attempts to compile XEmacs (19.14 and/or 19.15beta) failed while
> linking.
With lots of reloction overflow errors? This isn't a glibc
problem but one of the version of ld that you have can't
handle really large programs.
There are two solutions, both of which have been used successfully.
(1) split some of the static libraries that xemacs uses out
into shared libraries.
(2) Use a newer ld -- though this has some caveats due an old
bug in as that didn't show up with the old ld.
> Can you provide a (with glibc-0.961212) functional XEmacs?
I remember seeing at least two sets of binaries announced here.
Are those still in existance, anyone?
r~
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Linux/Alpha vs Linux/Intel...
@ 1997-03-24 17:16 Markus Dickebohm
0 siblings, 0 replies; 9+ messages in thread
From: Markus Dickebohm @ 1997-03-24 17:16 UTC (permalink / raw)
>> Richard Henderson schrieb am Mon, 24 Mar 1997 10:02:12 -0600 (CST):
> Xemacs works.
Yes? With glibc, since when...?
My attempts to compile XEmacs (19.14 and/or 19.15beta) failed while
linking.
At the moment I'm using the old ECOFF version, Jay compiled ages
ago. But since it is ECOFF (statically linked) it is dead slow.
Can you provide a (with glibc-0.961212) functional XEmacs?
Thanks,
Markus
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Linux/Alpha vs Linux/Intel...
@ 1997-03-24 14:25 Bernie French
1997-03-24 16:02 ` Richard Henderson
0 siblings, 1 reply; 9+ messages in thread
From: Bernie French @ 1997-03-24 14:25 UTC (permalink / raw)
My tax refund is in and I'm seriously considering purchasing an Alpha
system running Linux. I've been waffling between an Alpha and some Intel
architecture. Before I finalize my decision, I need some help on the
current state of affairs for the Alpha. I need to be able to duplicate
as much as possible the development capabilities I use at work.
Could someone give me an idea whether these are available for
Alpha/Linux?
- Java and an appletviewer; Netscape would be nice but not necessary,
if there is an appletviewer available.
- Tcl/Tk and Perl - I don't view these as a problem since I can
compile these, unless there is something unusual?
- CDE/Motif - We will be migrating to CDE within the next year,
and I would like to duplicate my work environment.
- Programming Editor - I use Crisp, which is available for Linux/Intel,
but not for Linux/Alpha. Being the religious nature as it is, and
as many hours as I put in front of it... Well anyways, are there any
suggetions on an editor for Linux/Alpha. Does Xemacs run on
Linux/Alpha? I guess I could always program it to behave like
Crisp.
Thanks!
-- Bernie
+------------------------------------------------------------------------+
| REWARD: Lost .sig, last seen in comp.lang.* or bionet.* |
| answers to the name bfrench@cas.org |
+------------------------------------------------------------------------+
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: Linux/Alpha vs Linux/Intel...
1997-03-24 14:25 Bernie French
@ 1997-03-24 16:02 ` Richard Henderson
0 siblings, 0 replies; 9+ messages in thread
From: Richard Henderson @ 1997-03-24 16:02 UTC (permalink / raw)
> - Java and an appletviewer; Netscape would be nice but not necessary,
> if there is an appletviewer available.
Both Kaffe and Sun's JDK are available, both at the 1.0.2 spec.
Though the free AWT replacement that Kaffe uses is stuttery, and
I hear GC doesn't work well for the JDK.
> - Tcl/Tk and Perl - I don't view these as a problem since I can
> compile these, unless there is something unusual?
Nothing unusual.
> - CDE/Motif - We will be migrating to CDE within the next year,
> and I would like to duplicate my work environment.
I think there is an ECOFF Motif, and a little birdie told me
that an ELF version would be released shortly.
To my knowledge the CDE is not yet available.
> - Programming Editor - I use Crisp, which is available for Linux/Intel,
> but not for Linux/Alpha. Being the religious nature as it is, and
> as many hours as I put in front of it...
Xemacs works.
r~
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~1997-03-26 7:11 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <m3913chjcx.fsf@dali.isdn.uni-koeln.de>
1997-03-25 23:45 ` Linux/Alpha vs Linux/Intel Richard Henderson
1997-03-26 0:20 ` Michal Jaegermann
1997-03-26 7:11 ` Richard Henderson
1997-03-25 1:05 Markus Dickebohm
[not found] <m33etl2osy.fsf@franck.pc.Uni-Koeln.DE>
1997-03-24 21:50 ` Richard Henderson
1997-03-24 22:24 ` David Paris
-- strict thread matches above, loose matches on Subject: below --
1997-03-24 17:16 Markus Dickebohm
1997-03-24 14:25 Bernie French
1997-03-24 16:02 ` Richard Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox