Linux-Development-Sys Digest #157, Volume #7 Sun, 5 Sep 99 21:14:03 EDT
Contents:
Re: where to find shared libraries HOWTO (Jonas Utterstrom)
Re: Linux introduction article. (Jon & Jen)
Re: mbr boot? ([EMAIL PROTECTED])
Re: where to find shared libraries HOWTO (Jonas Utterstrom)
Re: kernel priority levels ? (Kaz Kylheku)
kernel priority levels ? ([EMAIL PROTECTED])
Re: [Linux] Calling C from Fortran: Function always returns zero? ("Martin
Knoblauch")
Re: [Linux] Calling C from Fortran: Function always returns zero? ("Martin
Knoblauch")
Re: Linux on RS/6000 ("Julie")
Re: Linux on RS/6000 ("Julie")
Re: mbr boot? ("Ross Crawford")
Re: Figure Out The MS Source Code Yourself (Chris Mahmood)
Cross Platform and Multiple Locale C++ Programming ("Robert DiFalco")
Re: Figure Out The MS Source Code Yourself (Spike!)
Re: TAO: the ultimate OS ("Jim Ross")
Re: Stop the VFS from buffering form by ch dev driver (Kaz Kylheku)
----------------------------------------------------------------------------
From: Jonas Utterstrom <[EMAIL PROTECTED]>
Subject: Re: where to find shared libraries HOWTO
Date: Sun, 05 Sep 1999 18:11:22 GMT
In article <[EMAIL PROTECTED]>,
Christoph =?iso-8859-1?Q?Sch=F6nfeld?=
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> could someone point me to a shared lib HOWTO or something (not man
> dlopen)?
> thanks
There aren't that many good docs about shared libraries in Linux.
Fortunately, using shared libraries in Linux is very easy.
I recommend the GCC-HOWTO:
http://www.linuxdoc.org/HOWTO/GCC-HOWTO.html#toc6
Sections 6 and 7 probably describes what you need.
/Jonas U
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Jon & Jen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.development.apps
Subject: Re: Linux introduction article.
Date: Sun, 05 Sep 1999 10:47:52 -0700
"Luke Th. Bullock" wrote:
> In comp.os.linux.advocacy the GURU Kim,Taesung <[EMAIL PROTECTED]> wrote:
> >Hello!
> >I have been asked to write a article about Linux.
> >I am looking for a good article that have linux history, sprit, distribution
> >and introduction.
> >Thanks for regard.
>
http://alge.anart.no/linux/LDP/install/node10.html
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.setup,redhat.config
Subject: Re: mbr boot?
Date: Sun, 05 Sep 1999 18:34:50 GMT
In article <[EMAIL PROTECTED]>,
zackary <[EMAIL PROTECTED]> wrote:
> hello guys,
> I have a dual boot system in my pc. One is win98 and another is linux
> (redhat 6.0). My pc boot used to boot to dos insted of linux but under
> linux control. I mean I install lilo ( i guess..) in MBR then from
> 'linuxconf' I set it to boot to dos instead of linux. and it run fine
> until one day my win98 force me to install it again on my hard disk.
So I
> install it again. The problem is win98 take over the MBR ( i guess ..
> again. Correct me if i was wrong!) and at the boot up there is no more
> 'boot: ' prompt, it direct to win98. So i have to use my linux boot
disk
> every time to boot linux.
> So how could i get linux on the MBR back as previous order. Or in
other
> words to get the 'boot: ' prompt back.
>
> Thank you
> -azaria-
>
> ------------------ Posted via CNET Linux Help ------------------
> http://www.searchlinux.com
>
run /sbin/lilo. lilo will install the boot-loader in the mbr.
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: Jonas Utterstrom <[EMAIL PROTECTED]>
Subject: Re: where to find shared libraries HOWTO
Date: Sun, 05 Sep 1999 20:32:13 GMT
In article <7qubo2$88u$[EMAIL PROTECTED]>,
Jonas Utterstrom <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> Christoph =?iso-8859-1?Q?Sch=F6nfeld?=
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > could someone point me to a shared lib HOWTO or something (not man
> > dlopen)?
> > thanks
>
> There aren't that many good docs about shared libraries in Linux.
> Fortunately, using shared libraries in Linux is very easy.
>
> I recommend the GCC-HOWTO:
> http://www.linuxdoc.org/HOWTO/GCC-HOWTO.html#toc6
> Sections 6 and 7 probably describes what you need.
Ok, a little lame to reply to my own posting, but I just discovered a
piece written by H.J. Lu about ELF. It is more detailed than in the
GCC-HOWTO.
ftp://ftp.sunsite.auc.dk/disk1/sunsite.unc.edu/pub/Linux/GCC/elf.ps.gz
It is in PostScript format so either look at it in ghostview or print
it.
/Jonas U
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: [EMAIL PROTECTED] (Kaz Kylheku)
Subject: Re: kernel priority levels ?
Reply-To: [EMAIL PROTECTED]
Date: Sun, 05 Sep 1999 20:59:23 GMT
On Sun, 05 Sep 1999 20:27:55 GMT, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>hi all,
>my question is:- what is meant by the priority levels (GFP_KERNEL,
>GFP_ATOMIC ) ? these are always passed to memory allocation routines
>like kmalloc, alloc_skb etc.
This a parameter that affects how the allocation is done. Certain allocations
must meet constraints in addition to ``give me this much memory''.
For example, if an interrupt service routine needs to allocat memory,
the allocation request must not block. Or if the memory is needed for
doing DMA transfers, then the allocator needs to know so that it
finds a piece of memory that is suitable.
GFP_ATOMIC means ``allocate the memory without blocking''. The allocation is
drawn from a pool of reserved pages that are not available to ordinary
requests. This is why the parameter is confusingly referred to as the priority.
------------------------------
From: [EMAIL PROTECTED]
Subject: kernel priority levels ?
Date: Sun, 05 Sep 1999 20:27:55 GMT
hi all,
my question is:- what is meant by the priority levels (GFP_KERNEL,
GFP_ATOMIC ) ? these are always passed to memory allocation routines
like kmalloc, alloc_skb etc.
Thanx in advance
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
------------------------------
From: "Martin Knoblauch" <[EMAIL PROTECTED]>
Subject: Re: [Linux] Calling C from Fortran: Function always returns zero?
Date: Sun, 5 Sep 1999 13:25:05 +0200
xJohn H. Chauvin wrote in message <7qr4qh$[EMAIL PROTECTED]>...
> integer result,number
>
> result = testit(number)
Maybe you want to declare "testit" as "integer". If I remember right, the
letter "t" makes "testit" default to "real".
Martin
------------------------------
From: "Martin Knoblauch" <[EMAIL PROTECTED]>
Subject: Re: [Linux] Calling C from Fortran: Function always returns zero?
Date: Sun, 5 Sep 1999 13:25:05 +0200
xJohn H. Chauvin wrote in message <7qr4qh$[EMAIL PROTECTED]>...
> integer result,number
>
> result = testit(number)
Maybe you want to declare "testit" as "integer". If I remember right, the
letter "t" makes "testit" default to "real".
Martin
------------------------------
From: "Julie" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.powerpc,comp.unix.aix
Subject: Re: Linux on RS/6000
Date: Sun, 5 Sep 1999 17:39:25 -0500
X-No-Archive: YES
Peter Samuelson <[EMAIL PROTECTED]> wrote in message
news:7qkfs5$c4b$[EMAIL PROTECTED]...
> [<[EMAIL PROTECTED]>]
> > Well, take a look at:
> > http://users.snip.net/~gbooker/as400.htm
>
> Hmmm, he says he wants to target the older AS/400's and in any case the
> page gives off the distinct flavor of a pipe dream. I was referring to
> the PowerPC-based AS/400's....
>
> I do like one quote: "The AS/400 is noteworthy for being the most
> proprietary widely used computer system." Not necessarily accurate; I
> would vote for the older m68k Macintosh line, with its own networking
> standard, its own GUI widget set in ROM, its own OS (rather incestuous
> with the ROM graphics widgets, of course), its own busses, its own
> builtin graphics hardware and even builtin monitor. The only really
> cross-platform-standard feature seemed to be the SCSI bus.
Having worked on OS/400 internals back before the hardware was
rebased to the POWER PC, I cast my vote for the AS/400 being the
most proprietary and widely used machine. At least with the new
machines you can dink with the service processor and tell them that
they are really RS/6000's ...
-- Julie.
------------------------------
From: "Julie" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.powerpc,comp.unix.aix
Subject: Re: Linux on RS/6000
Date: Sun, 5 Sep 1999 17:43:06 -0500
Peter Samuelson <[EMAIL PROTECTED]> wrote in message
news:7qlanj$ekp$[EMAIL PROTECTED]...
> [Magnus Larsson <[EMAIL PROTECTED]>]
> > Well...I have two model 355s
>
> Yeah, *that*'s the kind of machines I was saying Linux will likely
> never support....
>
> > and only have a corrupt install of aix3.2.5 on them.
>
> Is there any other kind? I have never had the pleasure of using AIX
> 3.2 but I have heard all about how wonderful it was. (:
Properly managed, AIX 3.2.5 was one of the most robust
and usable of the AIX releases.
I don't know if Magnus can get a copy of the 3.2.5 media
and PTFs to re-install his machines, but it would be worth
it.
On the other hand, I don't think the basic AIX license is
all that expensive. I just found out that, for example, the
C2 AIX PRPQ is $995.00. It includes an installable
version of AIX 4.3.1, and all kinds of neat documentation.
I can't imagine 4.3.x being too much more/less than that.
-- Julie.
------------------------------
From: "Ross Crawford" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,redhat.config
Subject: Re: mbr boot?
Date: Mon, 6 Sep 1999 09:15:10 +1000
Azaria,
You'll have to use a linux boot diskette to boot linux, then mount your
linux partition, and run lilo with the chroot option, -r
ie:
mount -t ext2 /dev/[your linux partition] /mnt
/mnt/sbin/lilo -r /mnt
Then reboot, and you should have your boot: prompt back.
Good luck,
ROSCO
zackary <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> hello guys,
> I have a dual boot system in my pc. One is win98 and another is linux
> (redhat 6.0). My pc boot used to boot to dos insted of linux but under
> linux control. I mean I install lilo ( i guess..) in MBR then from
> 'linuxconf' I set it to boot to dos instead of linux. and it run fine
> until one day my win98 force me to install it again on my hard disk. So I
> install it again. The problem is win98 take over the MBR ( i guess ..
> again. Correct me if i was wrong!) and at the boot up there is no more
> 'boot: ' prompt, it direct to win98. So i have to use my linux boot disk
> every time to boot linux.
> So how could i get linux on the MBR back as previous order. Or in other
> words to get the 'boot: ' prompt back.
>
> Thank you
> -azaria-
>
> ------------------ Posted via CNET Linux Help ------------------
> http://www.searchlinux.com
------------------------------
From: Chris Mahmood <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: Re: Figure Out The MS Source Code Yourself
Date: 05 Sep 1999 15:04:58 -0700
[EMAIL PROTECTED] (Kaz Kylheku) writes:
> Anyone got any advice on how to killfile all this crap?
> I hope I don't have to do it on the CNET string in the
> article bodies! Would it make sense just to
> nuke everything coming from supernews?
My gnus killfile for all Linux groups is this:
(gnus-kill "From" "aol.com")
(gnus-kill "From" "webtv")
(gnus-kill "From" "yahoo.com")
(gnus-kill "From" "msn.com")
(gnus-kill "From" "cs.com")
(gnus-kill "From" "hotmail.com")
(gnus-kill "From" "deja.com")
(gnus-kill "From" "excite.com")
(gnus-kill "From" "lycos.com")
(gnus-kill "From" "geocities.com")
(gnus-kill "From" "hotbot.com")
(gnus-kill "Subject" "[Tt]est")
(gnus-kill "Subject" "[Ii]gnore")
(gnus-kill "Subject" "[Aa]fordable")
(gnus-expunge "X")
Yes, it's a bit extreme. This is in addition to deleting any article
crossposted to more than 5 groups. You can setup a similar sorts of
kills with slrn. I hadn't noticed a problem with supernews, but since
I'm already excluding about 1/2 of the posts I might as well add them
too ;
-ckm
------------------------------
From: "Robert DiFalco" <[EMAIL PROTECTED]>
Subject: Cross Platform and Multiple Locale C++ Programming
Date: Sun, 5 Sep 1999 16:41:31 -0700
Hmm...
We are working on a project that has targets for Windoze NT, Linux, AIX,
HPUX, SGI, and Solaris that must support multiple native locales, well... at
least Japan (SJIS) and US/English.
We are currently using KAI with its OEM'd Standard C++ Library (Modena I
think) for all the Unix platforms we support and MSVC++ with its OEM'd
Standard C++ Library, DinkumWare, for Windows NT/2000. Support the various
14882-1998, locale, and system support between the various compiler versions
and platforms has been more of a nightmare than, IMHO, it should be.
I'm particularly having a hard time with KAI, or at least with its Standard
C++ Libraries. Apparently, while it does support the ANSI-C notion of
wchar_t, it has no support for the STDCPP wchar_t classes such as the
all-important std::char_traits<wchar_t>, wstring, wiostream, etc. As if this
weren't enough, on almost all platforms KAI supports it apparently has no
support for mbstate_t. Finally, it seems that the only locale that any facet
are implemented for is the "classic" locale, or "C" locale. Even some of
those seem to be broken, basically, std::get_facet() doesn't work.
I'd like some input regarding the following options:
A) Use a single version of a single Vendors Standard C++ Library on
every Platform including Windows NT. Unfortunately, what is offered by many
companies (such as Rogue-Wave and ObjectSpace) is more like the Standard
Template Library than the Standard C++ Library.
B) Find a standard C++ library that has *complete* 14882-1998 support,
or at least as complete as Plaguers Dinkumware Standard C++ Library that
will work with all the platforms KAI supports, specifically HPUX, Redhat,
SGI, AIX, and Solaris/Intel.
C) Or, if there is no other choice, replace KAI with a compiler that has
OEM'd runtimes that do have 14882-1998 compliance sufficient enough to
create standardized international, multiplatform C++ programs.
I am totally open to choices like GNU/OSF but using these for commercial
projects is very new to me. The last I looked, the GNU C++ libraries didn't
look like the 14882-1998 standard libraries, especially regarding NTMBS,
NTWCS, locales, and facets. However, I would love to support these efforts
by using them if there is a compliant implementation that will compiler with
KAI and work with NT, SGI, Linux, Solaris/Intel, HPUX, and AIX.
Thanks in advance for your help and please excuse the naivet� of my post.
--
Robert DiFalco
Development Lead
Tripwire Security Systems
--
Robert DiFalco
Development Lead
Tripwire Security Systems
------------------------------
From: Spike! <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: Re: Figure Out The MS Source Code Yourself
Date: Sun, 5 Sep 1999 20:16:23 +0100
And verily, didst Tim Roberts <[EMAIL PROTECTED]> eloquently scribe:
> The problem with reverse engineering something like Windows is two-fold. First,
> it is illegal;
Not in Britain... The reverse engineering clause of any software licence is
totally null and void over here...
the Windows license agreement prohibits it. Second, Windows is
> just too big. Windows 2000 consists of something like 20 million lines of
> source code.
With a bug in every one...
:)
--
______________________________________________________________________________
| [EMAIL PROTECTED] | "THIS IS THE VOICE OF THE MYSTERONS......" |
| Andrew Halliwell BSc | "I'm afraid no-one's in at the moment, but if |
| in | you leave your rank and colour, we'll destroy |
| Computer Science | you as soon as we get back..."- The Preventers|
==============================================================================
|GCv3.12 GCS>$ d-(dpu) s+/- a C++ US++ P L/L+ E-- W+ N++ o+ K PS+ w-- M+/++ |
|PS+++ PE- Y t+ 5++ X+/X++ R+ tv+ b+ DI+ D+ G e++ h/h+ !r!| Space for hire |
==============================================================================
------------------------------
From: "Jim Ross" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Re: TAO: the ultimate OS
Date: Sun, 5 Sep 1999 19:38:53 -0400
EdToy <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> In article <7qpunp$[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] says...
> > In comp.os.misc EdToy <[EMAIL PROTECTED]> wrote:
> >
> > : Sounds like your agenda. So pay 'em then.
> >
> > the agenda is open.. the agenda is to create a new OS.
> > is linux Torvald's agenda? do you ask him to pay
> > contributors?
>
> Well he certainly didn't do any favors to the ones who gave up their time
> so that Red Hat could make all that money that's for sure. It's the same
> scam that built the pyramids of Egypt.
It isn't about money and never has been to people who contributed to Linux.
>
> Well someone has to keep the false leaders at bay.
>
> > : _You're_ the one who is scanning for free labor or some such thing.
> >
> > it exists.. it is what built linux.. perhaps you could
> > indicate why you seem to think I am a megalomaniac..?
>
> What exists? If you mean naivete, then you're right. Don't come to
> America and ask people to give up their time without paying them for it.
> When it boils down to it, that's all anyone has. The only reason I'm
> picking on you is because I get the feeling you're trying to play the
> false leader game.
People who work on Linux volunteer to.
The contributors do get paid in improvements to Linux.
>
> > again, anyone who agrees with the goal of creating a new
> > superior OS, please sign up for the list.
What does that generic term really mean??
What good is a technically superior OS if you don't have source
and is not vendor neutral????
>
> Better though: just create it on your own and leave those who would steal
> your ideas out of the picture entirely. Now that's good advice.
>
> Ed
Jim
------------------------------
From: [EMAIL PROTECTED] (Kaz Kylheku)
Subject: Re: Stop the VFS from buffering form by ch dev driver
Reply-To: [EMAIL PROTECTED]
Date: Mon, 06 Sep 1999 00:57:42 GMT
On 05 Sep 1999 18:32:43 -0600, Joe Pfeiffer <[EMAIL PROTECTED]> wrote:
>David Belius <[EMAIL PROTECTED]> writes:
>
>> I am making a charter device driver where the apps
>> are supposed to read or write only a couple of bytes
>> at a time. But if a do a getc() from a user space
>> app the VFS(i think) starts to buffer upp 4096 bytes
>> of data. How can i stop this?(preferably from within
>> the device driver)
>
>It's not the VFS doing it, and you can't fix it in your device
>driver. It's being done by getc (or by something in stdio that it
>calls), and you can fix it by calling setbuf in the user program.
Hey, you can't expect driver developers to know about luzer wimp stuff like the
standard C library! That crap is just a few buttons short of being a user
interface!
:) for the humor impaired.
------------------------------
** 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
******************************