Linux-Development-Sys Digest #389, Volume #6 Tue, 9 Feb 99 11:14:16 EST
Contents:
Re: problems with netscape on a glibc system... (Andreas Jaeger)
Re: disheartened gnome developer (Michael Powe)
Re: GGI and 2.2.1 (Karl Heyes)
Re: system(""); doesn't work (Karl Heyes)
IBM OS',Apps, emulator runnig on Unix (M Sweger)
Shared library programming (XuYifeng)
Re: IBM OS',Apps, emulator runnig on Unix (Andre Fachat)
Re: Need help with XFree (JP)
Re: How to detect CPU clock speed? (Stefan Monnier)
Re: use theramin as input device ("Bill Lewis")
Re: How to detect CPU clock speed? (Nelson Minar)
----------------------------------------------------------------------------
From: Andreas Jaeger <[EMAIL PROTECTED]>
Subject: Re: problems with netscape on a glibc system...
Date: 03 Feb 1999 07:58:56 +0100
>>>>> Ronald Cole writes:
> The problem is with libXpm.so.4.11. Netscape requires one built
> against libc-5, so I put one in /usr/local/lib/netscape and performed
> the following gyrations:
> $ ls -l netscape*
> -rwxr-xr-x 1 root root 85 Feb 2 17:45 netscape*
> lrwxrwxrwx 1 root root 32 Sep 4 13:46 netscape-4.5 ->
>/usr/local/lib/netscape/netscape*
> $ cat netscape
> LD_LIBRARY_PATH=/usr/local/lib/netscape
> export LD_LIBRARY_PATH
> exec netscape-4.5 $*
> For the most part, this works. However, I have a glibc compiled
> libXpm.so.4.11 in /usr/X11R6/lib and I recently compiled freeamp-1.1.0
> against it. Calling freeamp from within Netscape nets me the
> following error:
> /usr/local/lib/netscape/libXpm.so.4: undefined symbol: _fxstat
> Clearly, I don't want to set LD_LIBRARY_PATH when calling Netscape
> because all helper apps will attempt to link in the libc-5 libXpm.
> So, how do I get Netscape to link against a libc-5 libXpm while all
> helper apps called by Netscape link against a glibc libXpm?
This should work with ld.so.1.9.9, a proper /etc/ld.so.conf like:
/usr/X11R6/lib
/usr/i486-linuxlibc1/lib=libc5 <- This is a directory that only
contains libc5 libraries
adding a -lc to the glibc2 version when linking (read the README
from ld.so.1.9.9) - and not using LD_LIBRARY_PATH.
Andreas
--
Andreas Jaeger [EMAIL PROTECTED] [EMAIL PROTECTED]
for pgp-key finger [EMAIL PROTECTED]
------------------------------
From: Michael Powe <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.x
Subject: Re: disheartened gnome developer
Date: 02 Feb 1999 23:22:45 -0800
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
>>>>> "Christopher" == Christopher Browne <[EMAIL PROTECTED]> writes:
>>> Thank you - not everything in the world exists because of or
>>> for the benefit of economics.
>> May I put this into my soon-to-come .signature rotation?
Christopher> I would suggest that every arrangement *does* exist
Christopher> because of or for some form of economic benefit.
Christopher> Note that I didn't say *monetary* benefit...
Christopher> People build free software because they think it
Christopher> provides *some* sort of benefit outweighing the costs
Christopher> of producing it. That's economic benefit...
`Economic' is an interesting word.
- From the American Heritage Dictionary:
economy:
1. a. The careful or thrifty use or management of
resources, such as income, materials, or labor.
b. An example of this.
2. The management of the resources of a country,
community, or business.
3. a. A system for the management and development of
resources.
b. The economic system of a country or area.
4. The functional arrangement of elements within a
structure or system: the economy of an organism.
What <is> the `economic' benefit for the developer?
mp
8<---------------how-easy-is-it-to-demunge-an-address?------------------->8
#! /usr/bin/perl # if you are [EMAIL PROTECTED] (Another Luser):
while ($line = <>){ if ($line =~ m/^\s*$/ ){ last; }
if ($line =~ m/^From: (\S+) \(([^()]*)\)/){ $from_address = $1; } }
if ($from_address =~ m/\S+NOSPAM\S+/){ $x = index($from_address, NOSPAM);
substr($from_address, $x, 6+1) = ""; printf("The real address is %s\n",
$from_address);}else { printf("No munge, just plain %s\n",$from_address);}
printf("\nBrought to you by the Truth In Mail Headers Foundation\n");
8<-----------------------here's-one-example------------------------------>8
- --
Michael Powe
[EMAIL PROTECTED] http://www.trollope.org
Portland, Oregon USA
=====BEGIN PGP SIGNATURE=====
Version: GnuPG v0.9.0 (GNU/Linux)
Comment: Encrypted with Mailcrypt 3.5.1 and GNU Privacy Guard
iD8DBQE2t/k4755rgEMD+T8RAvE2AKC6S22pyyLlSLWYrBVTfAN1jywUfwCdGylq
0LMetgxxAEPkUIUZj4+NQRI=
=UL7m
=====END PGP SIGNATURE=====
------------------------------
From: Karl Heyes <[EMAIL PROTECTED]>
Subject: Re: GGI and 2.2.1
Date: Tue, 09 Feb 1999 11:21:31 -0500
Aki M Laukkanen wrote:
> In article <79n7d7$n07$[EMAIL PROTECTED]>, David L. Bilbey wrote:
> > Was I incorrect in thinking that GGI came built into 2.2.1? I just upgraded
> > to 2.2.1 and I don't have the ggi/ include directory. Did I do something wrong
> > during config (selecting vga console) or do I just have to install GGI
> > separately?
> > Thanks.
>
> You are basically mixing up KGI and the userland library LibGGI. KGI wasn't
> integrated into the kernel. Instead another solution fbdev was. LibGGI is
> able to work with multiple targets including fbdev. See
> http://www.ggi-project.org/.
>
Just to be clear.. fbdev presents just the frame buffer to applications, whereas KGI
handles accelerated facilities, safe handling of the card in question. There's more
detail
than that but fbdev was included because it is relatively stable for what it does and
that
other architectures other than x86 use framebuffers from boot up. KGI is still work
in
progress, but looks to be shaping up well.
cya
karl
------------------------------
From: Karl Heyes <[EMAIL PROTECTED]>
Subject: Re: system(""); doesn't work
Date: Tue, 09 Feb 1999 11:25:51 -0500
Thierry BUCCO wrote:
> hello,
>
> I've a little problem, i want to launch "kedit" by system function.
>
> i've wrote :
>
> system ("kedit"); it doesn't work,
>
> but if i put after getchar(); it' ok...
>
> Why...??
>
>
seems odd. best thing to do is
strace -o <some_file_to_view_later> -f <program>
and run without the getchar. search for the kedit invocation and follow
from there, see what it
fails on.
karl
------------------------------
From: [EMAIL PROTECTED] (M Sweger)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: IBM OS',Apps, emulator runnig on Unix
Date: 9 Feb 1999 12:17:26 GMT
Reply-To: [EMAIL PROTECTED]
Hi all,
I just came across a site that says that they've got a product that
allows you to run the IBM OS/360, OS/370, OS/390, MVS, VSE and its
applications such as DB2 along with talk to the hardware I/O by using
an IBM instruction set emulator running on top of Unix. This allows
all the IBM products to run right out of the box on top of Unix. The
hardware can be emulated, i.e. IBM s/w thinks it talking to a nine track
tape drive which really behind the scenes is a DLT or DAT. The same
goes for DASD and terminals. Now if you really don't want to throw
out your old hardware, then the company also sells a PCI circuit card
that via a Unix driver will actually communicate in the hardware/software
protocol to those physical hardware devices.
The software has a limitation though.
They can't do sysplex or ESCON. Nor can they emulate the instructions
that do compression or encryption (I guess due to not knowing the
algorithms that IBM uses).
Moreover, since Unix allows multiple processes, you could run multiple
IBM OS' simultaneously that may be different versions or lets say
OS/360 along with OS/390 simultaneously.
The company has performance tested it agains't IBMS proprietary circuit
card that you would plug into the PC that would run the IBM s/w and
they have been able to get the same performance of 7MIPs and the I/O
is 3-4 times faster than IBMs.This spec was done on a Dell 2300 server
which is a dual pentium 400mhz machine whereby one processor ran the
emulation and the other did the I/O.
They s/w currently runs on the following Unixes,
Dynix for Sequent www.sequent.com all intel hardware
SCO Unix
DG/UX for Data General
Now it's just one hop, skip and jump away from Linux (if you use the
IBCS libs to run SCO applications). Perhaps a s/w project could be
started to develop an IBM mainframe emulator for LINUX? :) This
would be similar to the guy in Israel that is porting Linux to the IBM AS/400.
The company also makes emulators for the Bull and Unisys mainframes too.
The companies site is http://www.funsoft.com Fundamental S/w in CA, USA
The software product is FLEX-ES.
Now to get a start for the RISC chip instruction set emulation, a person
did one for their grad project project it is called SPIM.
See http://www.cs.princeton.edu/~appel/modern/spim
which has links to the actual site at Univ Wisconsin. THe MIPs emulator
is for the R2000/R3000 processor but probably can be updated for the R4000
and above.
Are there anymore hardware instruction set emulators out there for
other processors such as the Motorola 6800x, Z80, the Dec Alpha and
HP chips?
--
Mike,
[EMAIL PROTECTED]
------------------------------
Date: Tue, 09 Feb 1999 21:33:32 +0800
From: XuYifeng <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Shared library programming
Hi,
I am relate new to linux programming. currently I
want to build a shared library, problem is the library
need automatic init and finish function like DllMain
function in WindozeNT which will be invoked at library
loaded or freed ?
Is there a shared library programming guide avail?
any help will be appreciated,
XuYifeng
------------------------------
From: Andre Fachat <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: Re: IBM OS',Apps, emulator runnig on Unix
Date: 9 Feb 1999 13:13:51 GMT
In comp.os.linux.development.system M Sweger <[EMAIL PROTECTED]> wrote:
> Are there anymore hardware instruction set emulators out there for
> other processors such as the Motorola 6800x, Z80, the Dec Alpha and
> HP chips?
There are several emulators for the old 8-bit CPUs (Z80, 6502)
that are mostly used for emulating old hardware like the C64, Apple-II
etc.
One would be the VICE emulator, emulating a line of old Commodore 8-bit
machines. See
http://www.cs.cmu.edu/~dsladic/vice/vice.html
or
http://www.classicgaming.com/emunews/
Andre
--
Email address may be invalid. Use "fachat AT physik DOT tu-chemnitz DOT de"
======Fight SPAM = join CAUCE http://www.cauce.org======Thanks, spammers...
Andre Fachat, Institute of physics, Technische Universit�t Chemnitz, FRG
http://www.tu-chemnitz.de/~fachat
------------------------------
From: JP <[EMAIL PROTECTED]>
Subject: Re: Need help with XFree
Date: Tue, 26 Jan 1999 13:39:25 -0600
Loren Osborn wrote:
> JP wrote:
> >
> > I am trying to run XFree with my TNT AGP card. I set the Xconf for Riva
> > 128 and 4MB. I run XFree, and it displays at 320x320. Argh! How do I get
> > larger desktop sizes, ala 1024x768?
> > I'm a newbie, so please make any advice simple to understand =)
> >
> > --
> > JP
>
> I'm not familiar with your video card (it might not be supported) but
> have you tried to run XF86Setup? (having your video-card/monitor/mouse
> manuals --if any-- nearby is useful.) Hope that helps....
>
> Loren
How? Seriously, is this a program in Linux? I am using RedHat 5.2.
--
JP
[EMAIL PROTECTED]
Nolite te bastardes carborundorum
__________________________________
The mind and the sword are one-
if the mind is right, the sword is right.
__________________________________
------------------------------
From: Stefan Monnier
<[EMAIL PROTECTED]>
Subject: Re: How to detect CPU clock speed?
Date: 09 Feb 1999 09:12:34 -0500
[EMAIL PROTECTED] wrote:
> I need to find out the CPU clock speed.
What kind of need is that ?
Why do you care ?
Glen Turner <[EMAIL PROTECTED]> writes:
> The best you can do is run a standardised test program
> and time it. Thus "BogoMIPS".
> You could tune the value a bit by determining the CPU
> type and adjusting the timing to allow for processor
> instruction scheduling (but then you'd have to write
> your code in assembler, and test it on every CPU type).
> Have you heard the term "maintenance headache"?
You can do better: using a high-precision clock, you can run various loops
and see how their run-time differs. With a clever analysis, you can generally
extract the corresponding grain of computation which usually corresponds to the
frequency of the CPU.
Checkout http://www.bitmover.com/lm/lmbench/ for code that does it
(and tons more)
Stefan
------------------------------
From: "Bill Lewis" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: Re: use theramin as input device
Date: Tue, 9 Feb 1999 09:13:37 -0500
One was used for the theme music on Dark Shadows.
/bill
Matthias Warkus wrote in message ...
>It was the Wed, 3 Feb 1999 00:25:05 GMT...
>..and John Hasler <[EMAIL PROTECTED]> wrote:
>[Theremin a/k/a etherophone a/k/a Thereminovox]
>> Allen Crider writes:
>> > Do you mean that '50s sci-fi sound machine?
>>
>> No. He means the '20s musical instrument.
>
>No. He means the wailing thing that goes "wee-ooo-wee-ooo" in
>_Good_Vibrations_ by the Beach Boys.
>
>SCNR
>
>mawa
>--
>Matthias Warkus | [EMAIL PROTECTED] | Dyson Spheres for sale!
>It's sad to live in a world where knowing how to program your VCR
>actually lowers your social status...
------------------------------
From: Nelson Minar <[EMAIL PROTECTED]>
Subject: Re: How to detect CPU clock speed?
Date: 09 Feb 1999 11:00:09 -0500
[EMAIL PROTECTED] writes:
> I need to find out the CPU clock speed.
Under Linux 2.2, there's a field for this in /proc/cpuinfo. No idea
how accurate it is, but it gets it right on my Pentium 166.
If you're using this value in a program to do timing, you're probably
doing something wrong. Cache hits have a lot to do with time to
execute instructions, and that's very hard to predict.
[EMAIL PROTECTED]
. . . . . . . . http://www.media.mit.edu/~nelson/
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list (and comp.os.linux.development.system) via:
Internet: [EMAIL PROTECTED]
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Development-System Digest
******************************