Linux-Development-Sys Digest #116, Volume #7 Fri, 27 Aug 99 17:14:02 EDT
Contents:
Re: CDROM: Illegal Request (Raphael Bossek (Raphael Bossek))
Re: Multipoint protocol? (Bartosz Klimek)
Re: The optimization debate (was: why not C++?) (Paul Flinders)
Re: kernel and -m486 (Jacek =?iso-8859-2?Q?Pop=B3awski?=)
Re: Linux introduction article. ("Luke Th. Bullock")
Wildcard filename support (Kevin Woodward)
Re: Linux Fortran (Martin Kahlert)
Re: Multipoint protocol? (Pablo Yaggi)
Re: Wildcard filename support (Kevin Woodward)
Re: why not C++? (Timo Tossavainen)
Re: why not C++? ([EMAIL PROTECTED])
Re: Important news about Corel, Amiga, And Linux <--- another silly little kid !
(Ron)
Re: TAO: the ultimate OS (Leslie Todd Masco)
Re: Jesus: the ultimate OS ("Pizzi")
Re: Which file systems are write stable on Linux? (Jan Evert van Grootheest)
system calls ("P. Blandford")
Re: 2.2.11 memory leak? (Bob Tennent)
Re: kernel-2.2.12 ppp error messages (Hans-Detlev Fink)
Re: glibc-2.1.1 problems (Andreas Jaeger)
2.2.11 memory leak? (Allin Cottrell)
Re: Why so inefficient source RPM's ?? (Bill Anderson)
Re: glibc-2.1.1 problems (Peter Samuelson)
Re: kernel and -m486 (bill davidsen)
Re: Jesus: the ultimate OS ("Pizzi")
Re: IO Completion Ports (David Schwartz)
Re: Crossing gcc to my new system (Kai Ruottu)
Re: ld error: cannot open crt1.o (Kai Ruottu)
Setting the DiskQuota from a C-script ("SSonic")
----------------------------------------------------------------------------
From: Raphael Bossek <[EMAIL PROTECTED]> (Raphael Bossek)
Subject: Re: CDROM: Illegal Request
Date: Fri, 27 Aug 1999 10:29:59 GMT
Hi Peer,
>What's going on here? On all the other machines I installed already
>Linux I didn't see this problem.
test new kernels 2.2.11 and 2.3.15
(ftp://ftp.kernel.org/pub/linux/kernel). if nothing changed post to
[EMAIL PROTECTED] where the linux kernel developers
read/write for future help.
cu Raphael
------------------------------
From: Bartosz Klimek <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Multipoint protocol?
Date: Fri, 27 Aug 1999 10:34:20 GMT
Hello, Pablo.
Pablo Yaggi wrote:
>
> I build a fast serial port board (sync type) for the isa slot.
> Now I have the following configuration, 3 PCs with that kind of boards
> on
> diferent subnets and a concentrator device that makes possible that all
> boards transfer to or recive from the others simultaniusly, this
> concetrator acts like a hub, but the devices attached to it doesn't have
> MAC addresses.
(...)
I wonder how you want to identify the sender or receiver of the data
without MAC addresses. It looks like a "broadcast-only" network. If you
give IP numbers to your PCs, you will have to translate them to
addresses understandable to the data-link layer. How are you going to do
it?
Best reagards,
--
Bartosz Klimek
mailto:[EMAIL PROTECTED]
------------------------------
From: Paul Flinders <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: Re: The optimization debate (was: why not C++?)
Date: 27 Aug 1999 12:03:05 +0100
[EMAIL PROTECTED] (Paul D. Smith) writes:
>
> On a micro level, I believe the best way is to write the code the most
> straightforward way possible first, _then_ when it all works, come back
> and see where you can tweak it to be faster. Remember, slower, working
> code is always better than faster, broken code.
That's true unless the very slowness _is_ the breakage.
Also with more multimedia stuff fast but not completely accurate can be
preferable to slow but complete (i.e would you prefer speech recognition
which ran in real time but which occasionally got it wrong to speech
recognition which took 5 minutes to recognise 10 seconds speech but always
got it right).
------------------------------
From: [EMAIL PROTECTED] (Jacek =?iso-8859-2?Q?Pop=B3awski?=)
Subject: Re: kernel and -m486
Reply-To: [EMAIL PROTECTED]
Date: Fri, 27 Aug 1999 12:30:23 GMT
Daniel Robert Franklin wrote:
>gcc 2.7.x, which is probably what you have, only had 386 and 486
>optimisations. For gcc-2.95 (the latest) you should be able to specify
>-march=pentium (I think). Check the documentation.
I have egcs-1.1.2, it has -mpentium and -march=pentium options, I am just
wondering why kernel and other stuff uses only -m486? isn't slower than
-m386? sometime ago I coded in assembler, and remember, than optimizing
for 486 slowed down code on pentium
------------------------------
From: "Luke Th. Bullock" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.development.apps
Subject: Re: Linux introduction article.
Date: 27 Aug 1999 13:17:02 GMT
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.html
--
/Luke
------------------------------
From: [EMAIL PROTECTED] (Kevin Woodward)
Subject: Wildcard filename support
Date: Fri, 27 Aug 1999 13:47:18 GMT
Hi,
I need to add wildcard filename support to a utility that is being
ported from DOS to Linux. Is there a standard library that does this?
Thanks,
Kevin.
------------------------------
From: [EMAIL PROTECTED] (Martin Kahlert)
Subject: Re: Linux Fortran
Date: 27 Aug 1999 14:38:17 GMT
Reply-To: [EMAIL PROTECTED]
[Posted and mailed]
In article <[EMAIL PROTECTED]>,
"Rex Klopfenstein, Jr." <[EMAIL PROTECTED]> writes:
> I have a program that I am going to transfer to Linux, the only problem
> is that it is written in Fortran. Can anybody point me to a freeware
> (or inexpensive) Fortran compiler.
Try g77 (included in gcc-2.95.1) from
http://egcs.cygnus.com/
It works great (F77 only!)
Martin.
--
esa$ gcc -Wall -o ariane5 ariane5.c
ariane5.c: 666: warning: long float implicitly truncated to unsigned type
esa$ ariane5
------------------------------
From: Pablo Yaggi <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Multipoint protocol?
Date: Fri, 27 Aug 1999 11:12:09 -0300
> I wonder how you want to identify the sender or receiver of the data
> without MAC addresses. It looks like a "broadcast-only" network. If
> you
> give IP numbers to your PCs, you will have to translate them to
> addresses understandable to the data-link layer. How are you going to
> do
> it?
>
I could assign each board a mac address, but in that case I will have to
program
my own interface, the question was if there any way to avoid it, because
I don't
have information about how to do it right now.
Instead of that, I thought if I do a "broadcast-only" network betwen the
3 pc,
and they're working as gateways (ipfwd, etc..), there's no problem on
getting
all the packets to each pc, so in that case the routing will be done at
IP level,
doesn't it?
so the problem if how to stablish a link betwen the networking part of
the kernel
and my board. For example if there were two pc I could stablish a
ppp-link because
in the negotiation only one will send and receive at a time.
I suppouse I could stop the ppp negotioation somehow, but this not nice,
so
the question is if there any other protocol like ppp but not connection
oriented, that could be used with a serial interface.
Regards,
Pablo.
------------------------------
From: [EMAIL PROTECTED] (Kevin Woodward)
Subject: Re: Wildcard filename support
Date: Fri, 27 Aug 1999 14:11:21 GMT
On Fri, 27 Aug 1999 13:47:18 GMT, Kevin Woodward wrote:
Stupid question. Please ignore. Kevin.
------------------------------
From: Timo Tossavainen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: Re: why not C++?
Date: Fri, 27 Aug 1999 18:32:24 +0300
Phil Hunt wrote:
> BTW, has anyone read Stroustrup's paper where he suggests overloading
> the whitespace operator? It's quite an elegant idea, for example
> mathematicians would be able to write:
>
> v = a x + b y + c z;
>
> instead of the usual:
>
> v = a * x + b * y + c * z;
>
I think that the paper was published on April 1st. Draw your own
conclusions...
Timo
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.misc
Subject: Re: why not C++?
Date: Fri, 27 Aug 1999 15:46:12 GMT
In article <[EMAIL PROTECTED]>,
Timo Tossavainen <[EMAIL PROTECTED]> wrote:
>Phil Hunt wrote:
>
>> BTW, has anyone read Stroustrup's paper where he suggests overloading
>> the whitespace operator? It's quite an elegant idea, for example
>> mathematicians would be able to write:
>>
>> v = a x + b y + c z;
>>
>> instead of the usual:
>>
>> v = a * x + b * y + c * z;
>>
>
>I think that the paper was published on April 1st. Draw your own
>conclusions...
>
>Timo
>
I believe there is a language that uses space as an operator,
SNOBOL, one of the more interesting artifacts of the Cambrian Explosion
of language design back in the what? 50s, 60s? Don't remember many
details about it though.
--
No statement is wholly true, not even this one.
also: remove "UhUh" and "Spam" to get my real email address -----
------------------------------
From: [EMAIL PROTECTED] (Ron)
Crossposted-To:
alt.binaries.warez.linux,alt.linux.slakware,alt.linux.sux,comp.os.linux.development
Subject: Re: Important news about Corel, Amiga, And Linux <--- another silly little
kid !
Date: Fri, 27 Aug 1999 14:24:55 GMT
On Fri, 27 Aug 1999 03:01:09 +0100, "psyfybre"
<[EMAIL PROTECTED]> wrote:
>there is important news about amiga, linux, and corel should you be
>interested.
>
>you can find the document under "linux" from my homepage, its in the news:
>
>http://www.linuxwarez.dabsol.co.uk
>
>any comments via email please.
>
>laydahs
>
>psyfybre
>
>
>
>
>
>
>
>
>
>
>
------------------------------
From: [EMAIL PROTECTED] (Leslie Todd Masco)
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Re: TAO: the ultimate OS
Date: 27 Aug 1999 12:02:04 -0400
There are many more kooks than there are geniuses. But sometimes
the kooks are also geniuses. Tesla, for example.
Not helping,
--
Todd Masco, CTO | CCVS payment processing software for
Hell's Kitchen Systems, Inc. | Linux & Unix systems: www.hks.net
------------------------------
From: "Pizzi" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Re: Jesus: the ultimate OS
Date: Fri, 27 Aug 1999 13:12:44 -0400
>Where is it in the bible that jesus had sex?
It isn't in the Bible that Jesus had sex.
>Why didn't he?
Well, Buddhists and hard-core Christians see sex as submission to your
physical body's drives. It clouds the mind (that you can't really deny) and
is against the values of "control" and "self-mastery", which are key virtues
to both.
Caller : "But wouldn't that cause the end of the human race?"
Dogbert: "Cry me a river, liberal"
(from a Dilbert cartoon. God knows how many copyright infringement laws i've
just broken)
To avoid that problem, Christians almost universally accept sex after
marriage as OK. (although there is some sect in northern PA, i believe, that
does not. it's a colony where men and women live to gether but are
seperated. all its members are converts) Catholics add to that by saying
that sex is only ok if it is directly intended to produce a child (or at
least if the possibility is there).
I'm a strong believer in the no-sex-until-marriage concept. That is to say,
I won't have sex until marriage. I would NEVER point the finger at someone
else for doing so, although in many situations it saddens me, especially in
the case of younger couples. Teenage girls usually don't want to have sex
(consequences, reputation), guys usually do (reputation, to convince
themselves they're heterosexual). Guys usually have the last say, being that
they are physically stronger than girls (certainly with exceptions). How
this situation is an expression of love is beyond me. :-)
hope some of this made some kind of sense, (and man are we off-topic)
- Ed Pizzi
------------------------------
From: Jan Evert van Grootheest <[EMAIL PROTECTED]>
Subject: Re: Which file systems are write stable on Linux?
Date: Fri, 27 Aug 1999 17:13:41 +0200
Hi,
Randall Parker wrote:
>
> Which alternative file systems (ie other than ext2) are stable enough on
> Linux when doing writing to be able to be used in production
> environments?
[ cut ]
> I am looking to reduce the chance of losing transaction histories if
> there is a crash. So one way I am thinking of lowering the odds of this
> happening is to put different file system types on different partitions.
> Then put the database on one type of file system and the transaction log
> on another. Hopefully then one of the partitions would always be readable
> after a reboot.
Did you already consider using RAID? There are several options there, among
others mirroring of disks and striping. Each of the different RAID
levels offer differrent improvement levels in speed, safety and money (-:
Just my $.02.
-- Jan Evert
PS: don't blame my employer for my opinion.
------------------------------
From: "P. Blandford" <[EMAIL PROTECTED]>
Subject: system calls
Date: Fri, 27 Aug 1999 16:33:13 GMT
Is there any way to use system calls from within a kernel module? If I
use sys_read or whatever I can't find any relevant header files to
#include.
------------------------------
From: [EMAIL PROTECTED] (Bob Tennent)
Subject: Re: 2.2.11 memory leak?
Date: 27 Aug 1999 16:40:42 GMT
Reply-To: rdt(a)cs.queensu.ca
On Fri, 27 Aug 1999 11:53:48 -0400, Allin Cottrell wrote:
>I saw a reference to such a thing in the release notes for
>kernel 2.2.12. Anyone know how serious the problem with
>2.2.11 is? Thanks.
>
Alan Cox describes it as "nasty". There are corrected 2.2.11 kernel
rpms available at the rawhide site at ftp.redhat.com.
Bob T.
------------------------------
From: Hans-Detlev Fink <[EMAIL PROTECTED]>
Subject: Re: kernel-2.2.12 ppp error messages
Date: Fri, 27 Aug 1999 18:38:26 +0200
Same with me here with 2.1.11 for lo:1, lo:2, ...
and for eth0:1, eth0:2, ...
-Hans-
XuYifeng wrote:
>
> Hi,
>
> I am using redhat 6.0, I have just upgrade kernel from 2.2.10 to 2.2.12,
>
> anything is ok except that ppp has some minor problems, after I dialed
> up to my ISP,
> many error messages report to /var/log/messages, the message like these:
>
> Aug 23 1999,... xu : can't locate module ppp0:1
> Aug 23 1999, ...xu : can't locate module ppp0:2
> Aug 23 1999, ...xu : can't locate module ppp0:3
>
> but ppp link is OK, I can use my browser as before, and no any problem.
>
> Any help will be appreciated,
> ---
> XuYifeng
------------------------------
From: Andreas Jaeger <[EMAIL PROTECTED]>
Subject: Re: glibc-2.1.1 problems
Date: 27 Aug 1999 18:45:56 +0200
>>>>> Mike Dowling writes:
Mike> On 27 Aug 1999 07:38:18 +0200, Andreas Jaeger <[EMAIL PROTECTED]> wrote:
Mike> Thanks for all your help!
Mike> Just one last question:
:-)
Mike> Where exactly is the problem likely to lie? My first guess was my gcc,
Mike> but you suggest that the problem is likely to lie with headers and
Mike> object files. If the problem lies with the headers, then surely, only
Mike> gcc headers, glibc headers, and kernel headers could have a bearing on
Mike> the problem. If it's .o files, then it seems to me that, again, only
Mike> those belonging to gcc and glibc could have a bearing.
To analyze this just use nm, gcc and ld with the right options:
For headers: use `gcc -E' to analyze everything
For libraries, object files: run `nm' on them - or compile with
`gcc -Wl,-M '
Adnreas
--
Andreas Jaeger [EMAIL PROTECTED] [EMAIL PROTECTED]
for pgp-key finger [EMAIL PROTECTED]
------------------------------
From: Allin Cottrell <[EMAIL PROTECTED]>
Subject: 2.2.11 memory leak?
Date: Fri, 27 Aug 1999 11:53:48 -0400
I saw a reference to such a thing in the release notes for
kernel 2.2.12. Anyone know how serious the problem with
2.2.11 is? Thanks.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
------------------------------
From: Bill Anderson <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,linux.redhat.rpm
Subject: Re: Why so inefficient source RPM's ??
Date: Fri, 27 Aug 1999 10:28:09 -0600
Peter Mutsaers wrote:
>
> >> "CB" == Christopher Browne <[EMAIL PROTECTED]> writes:
[...]
> CB> There seems to be reasonably widespread agreement that RPM isn't the
> CB> best possible system that one might conceive of; I'm not convinced
> CB> that the situation being described represents a real good example of
> CB> "major problems with RPM."
>
> No, with Redhat, for not distributing in a convenient manner.
Most of the RPMs available are _not_ made or maintained by RedHat.
--
Bill Anderson Linux/Unix Administrator, Security
Analyst
ESBU (ARC) [EMAIL PROTECTED]
My opinions are just that; _my_ opinions.
------------------------------
From: [EMAIL PROTECTED] (Peter Samuelson)
Subject: Re: glibc-2.1.1 problems
Date: 27 Aug 1999 14:17:15 -0500
Reply-To: Peter Samuelson <[EMAIL PROTECTED]>
[Mike Dowling <[EMAIL PROTECTED]>]
> Where exactly is the problem likely to lie? My first guess was my
> gcc, but you suggest that the problem is likely to lie with headers
> and object files.
I took that to mean /usr/lib/crt0.o and friends. Use nm to find
out....
--
Peter Samuelson
<sampo.creighton.edu!psamuels>
------------------------------
From: [EMAIL PROTECTED] (bill davidsen)
Subject: Re: kernel and -m486
Date: 27 Aug 1999 17:12:11 GMT
In article <[EMAIL PROTECTED]>,
Jacek =?iso-8859-2?Q?Pop=B3awski?= <[EMAIL PROTECTED]> wrote:
| Daniel Robert Franklin wrote:
| >gcc 2.7.x, which is probably what you have, only had 386 and 486
| >optimisations. For gcc-2.95 (the latest) you should be able to specify
| >-march=pentium (I think). Check the documentation.
|
| I have egcs-1.1.2, it has -mpentium and -march=pentium options, I am just
| wondering why kernel and other stuff uses only -m486? isn't slower than
| -m386? sometime ago I coded in assembler, and remember, than optimizing
| for 486 slowed down code on pentium
Beware! Those two options are not at all the same thing! One optimizes
portable code for pentium, but will run on generic x86, the other is
allowed to generate pentium only code which doesn't work on other x86
cpus.
--
bill davidsen <[EMAIL PROTECTED]> CTO, TMR Associates, Inc
The Internet is not the fountain of youth, but some days it feels like
the fountain of immaturity.
------------------------------
From: "Pizzi" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Re: Jesus: the ultimate OS
Date: Fri, 27 Aug 1999 13:41:08 -0400
>> Try to keep in mind that perhaps there IS something to the religion
>> and perhaps there is something even you could learn from it. :-)
>This is probably true; however it seems fairly certain that this
>`something' is quite different -- and much less grand -- than what the
>typical religious cheerleader says it is.
heh, i like the image of a "religious cheerleader"
It depends on the definition of grand. I find what I've learned from
religion
in general very important. It can certainly change your perspective
on life. If you think of religion as a philosophy, I think it be easier to
understand
the kinds of benefits it can have. Religion is a philosophy. All forms of
(real) religion are different understandings of the same philosophy.
It can definately make you a happier person.
That's definately "grand" for me. What is more important in life than that?
As for the coming of Christ again, the whole heaven vs. hell speil, etc.,
(i think that's what your "religious cheerleader" might be "cheering" about)
I don't really believe either. I don't understand why they were put into
Christianity. It draws people away from the meaning of the religion.
It's the heaven and hell thing that has frightened people into pretending
to believe. Once you pretend to believe what you do not, you have lost
any real meaning that the religion could have had for you.
Religion was supposed to be the guideline to happiness. Now people
are pointing their fingers at everyone else for acting against some
stupid obscure law in some religious document. This isn't helping
anyone. And it makes it clear as day that the person doing the pointing
is a wee bit insecure about his own religious life, which just stems from
pretending to believe what he does not. A pointed finger is the natural
defence against someone pointing a finger at you.
So people who point their finger at you for being a non-believer is just
expressing his insecurity about someone pointing their finger at him for
not being a believer.
(sorry about the sexually exclusive pronouns, but he/she himself/herself
and his/hers gets ugly. and i might add that men seem to point a lot more
than women do. i don't know why)
So religion is a mess right now, and you have to look forever before you
figure out to what end religion is supposed to serve. but once you do, it's
worthwhile, IMHO.
>It's a shame that these real (but mundane) benefits need all the blood
>and thunder to make them stick...
what benefits?
>Love is a snowmobile racing across the tundra. Suddenly it flips over,
>pinning you underneath. At night the ice weasels come. --Nietzsche
Nice quote, by the way.
And for the record: I intended this to be a lot shorter than it wound up
being. whoops :-)
- Ed Pizzi
------------------------------
From: David Schwartz <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: IO Completion Ports
Date: Fri, 27 Aug 1999 13:19:07 -0700
Arun Sharma wrote:
> Again, the argument is that thread creation overhead in Linux is low
> enough to allow it.
Yes, but what of the context switching overhead?
DS
------------------------------
From: [EMAIL PROTECTED] (Kai Ruottu)
Crossposted-To: gnu.gcc.help
Subject: Re: Crossing gcc to my new system
Date: Thu, 26 Aug 1999 07:35:01 GMT
Reply-To: [EMAIL PROTECTED]
On Tue, 24 Aug 1999 22:47:15 -0100, Ross Vandegrift <[EMAIL PROTECTED]>
wrote:
>So I installed what one might call a "development" suite subset of
>Slackware 4.0 on a spare partition, and began compiling cross compilers
>to generate i586-pc-linux-gnu code on an i586-pc-linux-gnulibc1 machine.
As I understand, you installed a 'native i586-pc-linux-gnu'
host/target toolset on a 'i586-pc-linux-gnulibc1' host ? And not
booted the libc6-based Slackware 4.0 first?
>The cross compiling of basic programs worked fairly well - as I expected
>it too. Kinda just like before, but I had to set up configure to call my
>cross compiler instead.
You don't now have a cross-compiler, but a native 'i586-linux-gnu'
toolset running under a 'i586-linux-gnulibc1' system... The
libc6-binaries can be run under a libc5-based system, if the shared
libs and the dynamic linker for libc6 are added on the libc5 system...
This is just the same kind of thing as running SCO 3.2 or SVR4
binaries under the Linux-ibcs2-emulation.
> Now I have a usable system up, with the exception of gcc. gcc is being a
>real pain.I tried the obvious thing first - configuring it straight up as
>a native compiler,
More obvious and following the general rules about building binaries
for a 'foreign system' (as the libc6-based system is for the
libc5-based one), would have been first to configure it as a
Linux-libc5-to-Linux-libc6 cross-compiler:
--build=i586-linux-gnulibc1 --host=i586-linux-gnulibc1 \
--target=i586-linux-gnu --enable-shared
install the target system's glibc-2.x headers and libs at:
/usr/local/i586-linux-gnu/...
and write 'make', using your native GCC to produce the
'i586-linux-gnu' target toolset... Should have worked, if you just
had copied the 'ld-linux.so.2' into '/lib' too (linking libc6-binaries
needs it too). The resulted toolset would then have been produced as
the native libc5-binaries...
>Then, I tried to let it pick the compiler, but send it a full
>build/host/target set (ie: `../configure --enable-shared
>--build=i586-pc-linux-gnulibc1 --host=i586-pc-linux-gnu
>--target=i586-pc-linux-gnu), but this time it produced gencheck and
>similar programs that dumped core - obviously leading to no success.
You tried to make a native GCC for 'i586-pc-linux-gnu' on a
'i586-pc-linux-libc1' build machine. To get this happen, you should
have the 'i586-linux-gnulibc1-to-i586-linux-gnu' cross-compiler (the
GCC-driver having the name 'i586-pc-linux-gnu-gcc') already built and
ready. Then this could have happened nicely... The situation is quite
the same as building a native Win32, DOS, FreeBSD etc. compiler under
Linux...
>So, my question remains; how can I get a working gcc into my new
>system?
Building first a libc5-hosted and libc6-targeted toolset, and using
it to produce a native libc6-host/target toolset... This is how one
does it following the general rules...
Trying straight an old libc6-host/target compiler as the 'bootstrap'
compiler may cause many troubles... But telling a pure lie to your
(stupid?) machine and saying that it is a 'i586-pc-linux-gnu' system
(although it isn't...) and giving the command:
./configure --build=i586-pc-linux-gnu --host=i586-pc-linux-gnu \
--target=i586-pc-linux-gnu --enable-shared
may work somehow (If it believes what you write...). But then
it may take the native libc5 headers in '/usr/include', not the libc6
ones in '/usr/local/i586-pc-linux-gnu/include', and try to fix them
etc. This can be a much harder way that just 'following the rules' --
one must now know the configure-system quite well.
Cheers, Kai
------------------------------
From: [EMAIL PROTECTED] (Kai Ruottu)
Crossposted-To: gnu.gcc.help
Subject: Re: ld error: cannot open crt1.o
Date: Thu, 26 Aug 1999 07:34:56 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 25 Aug 1999 21:27:16 +0900, "Lim, Sung-taek"
<[EMAIL PROTECTED]> wrote:
>Hello.
>I'm using Redhat Linux 6.0 and builded binary utilities and gcc for
>arm-targeted and installed at /usr/local/arm-linux/ with prefix
>'arm-linux-' (As you see I'm building cross-compile tools)
>When I execute arm-linux-gcc to compile a simple C program, it complains
>that it cannot open crt1.o. It is reasonable because I haven't installed glibc
>for arm.
>I managed to compile and install glibc. Now I can see glibc files including
>crt1.o located in /usr/local/arm-linux/lib. But arm-linux-gcc again complains
>that it cannot open crt1.o! What's wrong?
Please look at the search paths for programs and libs with
arm-linux-gcc -print-search-dirs
and see what is wrong...
------------------------------
From: "SSonic" <[EMAIL PROTECTED]>
Subject: Setting the DiskQuota from a C-script
Date: Thu, 26 Aug 1999 16:12:39 +0200
Hey y'all,
I'm just scribbling a piece of code letting an administrator input a
username and then set this users hard/soft limit for disk storage . So far
so good, the only problem i have is that I don't exactly know how to use the
<linux/quota.h> , how to include the functions it provides, and which
functions i should use for a) checking if a user is existent already , b)
setting the values for quota if so, c)if the user is new , set him to be a
user and then set his quota .
I hope there's someone that knows howto do it and that will help me . Thanks
for your time .
------------------------------
** 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
******************************