Linux-Development-Sys Digest #689, Volume #6      Sat, 8 May 99 02:16:36 EDT

Contents:
  Re: egcs Warning while building gcc-2.8.1 cross compiler (Johan Kullstam)
  Re: Destructive Erase? ("Stefan Monnier " 
<[EMAIL PROTECTED]>)
  Re: any video camera? ([EMAIL PROTECTED])
  Need help.  My kernel won't compile on my new system. (Captain Panic)
  Re: Mount multi-track CD ROMs? (Igor Zlatkovic)
  RPC Brokers ("Thomas J. Clancy")
  Re: Change from gcc to egcs gives seg fault in make (Graffiti)
  Re: Any program can generate Gif or Jpg   chart?                                     
 (dovelet2) (Christopher Mahmood)
  Re: egcs Warning while building gcc-2.8.1 cross compiler (Dirk Foersterling)
  gcc, egcc and compiling glibc2.1 (Vladimir Stanishev)
  DMA from hard drive file, or HD file access from kernal. ([EMAIL PROTECTED])
  Re: [ANN] CodeWarrior for Red Hat Linux, GNU ed. Shipping ([EMAIL PROTECTED])
  Re: [ANN] CodeWarrior for Red Hat Linux, GNU ed. Shipping ([EMAIL PROTECTED])
  Re: Glibc rant ("G. Sumner Hayes")
  Re: ISDN PCI Cards with Linux & other bits (Hans Dumbrajs)

----------------------------------------------------------------------------

From: Johan Kullstam <[EMAIL PROTECTED]>
Subject: Re: egcs Warning while building gcc-2.8.1 cross compiler
Date: 07 May 1999 12:57:17 -0400

[EMAIL PROTECTED] (Tom Daley) writes:

> I am having problems compiling gcc-2.8.1 as a cross compiler
> using egc-1.1.1.  I have two systems, one at work and one at home.
> My home system has been running Linux for a long time (since 0.99p12).
> The system at work I installed last year when I started working
> there.

the gcc spec file format changed somewhere between gcc-2.7.2.3 and
egcs-1.0.  look in /usr/lib/gcc-lib/???/???/specs (where ??? are the
target and compiler version specific directories.)  i had trouble last
year when i wanted to keep gcc 2.7.2.3 and egcs 1.0 around and share
the compilers through the /usr/bin/gcc wrapper and -V and -b options.
i never got it to work due to incompatibilities in the spec file
formats.

> On both systems I have built/installed glibc-2.0.7pre6 and egcs-1.1.1.
> Then I built gcc-2.8.1 as a cross compiler on the system at work and
> all was well.  When I try to build the cross compiler at home I get 
> an error in the build.

why not build egcs as a cross compiler?  that way you wouldn't have
the spec file trouble.  i use the 2.2.x line of kernels, thus i only
have egcs (now 1.1.2) on my system.

> gcc -DCROSS_COMPILE -DIN_GCC    -g  -DHAVE_CONFIG_H    -I. -I.. -I../config \
> -DSTANDARD_STARTFILE_PREFIX=\"/usr/local/lib/\" 
>-DSTANDARD_EXEC_PREFIX=\"/usr/local/lib/gcc-lib/\" -DDEFAULT_TARGET_VERSION=\"2.8.1\" 
>-DDEFAULT_TARGET_MACHINE=\"i386-wrs-vxworks\" -DTOOLDIR_BASE_PREFIX=\"/usr/local/\" \
> -DLANG_SPECIFIC_DRIVER \
>   -c g++.c
> gcc: Warning: use of obsolete %[ operator in specs

see this is what you get.  the spec file is different.  annoying huh?

you can build the gcc cross compiler in a different --prefix area (say
/usr/local) but then you need to play path games instead of -b/-V
options to gcc.

hope this helps.

-- 
johan kullstam

------------------------------

From: "Stefan Monnier <[EMAIL PROTECTED]>" 
<[EMAIL PROTECTED]>
Subject: Re: Destructive Erase?
Date: 07 May 1999 13:48:34 -0400

>>>>> "matthew" == matthew gauthier <[EMAIL PROTECTED]> writes:
> I'm trying to implement a destructive file erase, however, I'm at a

Why bother ?


        Stefan "quite serious about it"

------------------------------

From: [EMAIL PROTECTED]
Subject: Re: any video camera?
Date: Fri, 07 May 1999 23:01:10 GMT

I would like to know if there are _any_ video camera drivers available (so I
can decide which ones to choose from before I buy).  In particular -- what
about the "Big Picture" camera sold by 3com?  Is there a driver for that?

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] wrote:
> Does anyone know what this is, or what drivers I might
> use for it?
>
> Rich.
>
> --
> [EMAIL PROTECTED] BiblioTech          http://www.postmaster.co.uk/
> +44 171 384 6917         Unit 2 Piper Centre Premier European email service
> http://www.annexia.org   50 Carnwath Road    Original message content
>                          London              Copyright � 1999 Richard Jones
>


============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

------------------------------

From: Captain Panic <[EMAIL PROTECTED]>
Subject: Need help.  My kernel won't compile on my new system.
Date: 7 May 1999 20:32:35 GMT

I just install RedhAt 6.0 on my system.  And it looks good, but I can't 
get my kernel to compile with the included egcs 1.1.2 .  Here is the 
error.  Any help would be greatly appreciated.  Here is the error:

fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -
malign-jumps=2 -malign-functions=2 -DCPU=686   -c -o sysctl.o sysctl.c
gcc: Internal compiler error: program cc1 got fatal signal 4
make[2]: *** [sysctl.o] Error 1

Thanks in advance.
Bri

==================  Posted via SearchLinux  ==================
                  http://www.searchlinux.com

------------------------------

From: Igor Zlatkovic <[EMAIL PROTECTED]>
Subject: Re: Mount multi-track CD ROMs?
Date: Fri, 07 May 1999 20:37:19 +0000

Keith Wright wrote:

> I have just gotten into burning CD's.  The 'cdrecord' program
> seems to make multi-track CD, but I can't figure out how to
> mount any but the first track.
>
> Is it possible to mount other than the first track of a CD?
> Is anybody working on making it possible?
> Does anybody have thoughts on how it should work?
> Like
>   mt -f /dev/cdrom fsf 2
>   mount /dev/cdrom
>
> What about getting the data with a verbatim copy if it
> can't be mounted?  Is that possible?
>
> Where can I find more information on the mythical
> Orange Book?
>
> --
>      -- Keith Wright  <[EMAIL PROTECTED]>
>
> Programmer in Chief, Free Computer Shop <http://www.free-comp-shop.com>
>          ---  Food, Shelter, Source code.  ---

Which kernel do you use?
as I conpiled my kernel for the last time, I saw an optios that sounds
like "enable vendor-specific extensions for cdrom drive". This is
somewhere under  SCSI.

Looks like you have to enable this one, since Linus, or whoever wrote the
kernel configuration help, states exactly your problem.

--
      o
     O       Cheers,
  ______O___
  \________/   Igor Zlatkovic
   \   o  /    mailto:[EMAIL PROTECTED]
    \ O  /
     \  /
      \/
      ||       University of Applied Sciences
   ___||___    Frankfurt, Germany, EU.




------------------------------

From: "Thomas J. Clancy" <[EMAIL PROTECTED]>
Subject: RPC Brokers
Date: Fri, 07 May 1999 20:20:39 GMT

Hey All,

I was wondering if there is a product out there for Linux that is similar to
Inprise's Entera product.  We currently use the Entera RPC broker on an
HP-UX box, but we're considering creating a cluster of Linux boxes and
porting our server software to it.  But, we need an RPC broker.  Can anyone
help?

ciao,

tom clancy
poet, artist, and digital junky
http://members.tripod.com/tjclancy




------------------------------

From: Graffiti <[EMAIL PROTECTED]>
Subject: Re: Change from gcc to egcs gives seg fault in make
Date: 7 May 1999 13:38:28 -0700

In article <[EMAIL PROTECTED]>,
Clifford T. Matthews <[EMAIL PROTECTED]> wrote:
>>>>>> "DN" == Graffiti  <[EMAIL PROTECTED]> writes:
>
> DN> Wow, what a hack.
>
>Thanks.  I made it myself.
>
>We're already on a first-name basis with the stack pointer and
>frame-pointer.  Sometimes we have them over for drinks, but we have to
>be careful not to get carried away.
>
> DN> Nice, though.  Ever thought of statlically linking the app
>
>That's what we originally did internally, but we would have been
>running afoul of LGPL.

Nope, as David Parsons pointed out, all you have to do is ship both the
object files *and* the static app.  Then tell the customers that they
should run the static app, and if they wanna play with the *.o files,
they're on their own. :-)

I agree, though, it's a pain having to do it in the first place.

-- DN

------------------------------

From: Christopher Mahmood <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Any program can generate Gif or Jpg   chart?                              
        (dovelet2)
Date: 07 May 1999 00:51:07 -0700

it depends what kind of chart you want, look into S-Plus, R, Xmgr, GnuPlot,
XPlot.  You can find these and more at  http://SAL.KachinaTech.COM/
-ckm

------------------------------

From: [EMAIL PROTECTED] (Dirk Foersterling)
Subject: Re: egcs Warning while building gcc-2.8.1 cross compiler
Date: 8 May 1999 04:14:47 +0200

On 7 May 1999 04:05:17 GMT, Tom Daley <[EMAIL PROTECTED]> wrote:

[snip]

>gcc: Warning: use of obsolete %[ operator in specs
>gcc -c -DCROSS_COMPILE -DIN_GCC    -g  -DHAVE_CONFIG_H    -I. -I.. -I../config 
>../cp/g++spec.c
>gcc: Warning: use of obsolete %[ operator in specs
>gcc -DCROSS_COMPILE -DIN_GCC    -g  -DHAVE_CONFIG_H  -o g++ g++.o g++spec.o prefix.o \
>  version.o choose-temp.o pexecute.o  obstack.o ` case "gcc" in "cc") echo "" ;;
> esac `
>/usr/i486-linux/bin/ld: warning: cannot find entry symbol _start; defaulting to 
>08048080

[snip]

Maybe it's the following:
You should take a look at the environment variable LIBRARY_PATH if it 
contains the current directory in or a colon at the end or the beginning
of the path list (which is pretty much the same as having . in there).
Quick-verify this by typing "gcc -v" after you got the error.
The specs should _not_ be read from ./specs.

Cleaning the environment from stale colons and dots is a good idea
anyway...

 -dirk

-- 
                   D i r k   F "o r s t e r l i n g                  
[EMAIL PROTECTED]  ********  http://www.DeathsDoor.com/milliByte/
                           -------------
              An elephant is a mouse with operating system.

------------------------------

From: Vladimir Stanishev <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: gcc, egcc and compiling glibc2.1
Date: Fri, 07 May 1999 23:30:25 -0400

What's to know about having gcc and egcc on the same system?  I installed egcc
from the debian package after I read in the INSTALL file that that's the
compiler to use, but at least the second time around (see message below)
that's where the configure was failing.  removing gcc caused teh configure
script to see egcc and it completed fine.

Vladimir

Modemch wrote:

> "Vladimir G. Stanishev" <[EMAIL PROTECTED]> writes:
>
> > The INSTALL file for glibc 2.1 lists a bunch of programs that are needed
> > to compile (or configure) glibc 2.1 successfully.  texinfo is one of
> > those listed, and since my configure script was failing with a "one of
> > your programs is missing or too old" message when it got to checking
> > makeinfo (part of texinfo), I downloaded the texinfo package from the
> > gnu.org to install it. The configure script for texinfo worked fine but
> > teh compile was failing with a bunch of messages about "call to
> > unreferenced tputs and tgets functions".  the file that was making those
> > calls was terminal.c and it had some conditional includes for
> > termcap.h.  I found from the gnu site that tputs and tgets are part of
> > termcap, so what the heck, I downloaded that and went on to install it.
> > that one worked fine and I installed it(./configure, make, make install
> > - nothing else). after which texinfo actually compiled (same
> > ../configure, make, make install).  so I happily went back to glibc,
> > typed ./configure adn damn it to hell it still didn't work. it fails
> > with the same message, the only difference being that when it gets to
> > checking makinfo, it says: checking for makeinfo - yes, instead of:
> > checking for makinfo - no.  The error message is right after that just
> > as before.
>
> configure usually creates a log file, which you can check to see exactly
> where it's failing.  It usually logs the exact test it ran that failed, but
> if it doesn't, you can always change configure itself - it's just a shell
> script.

yeah, right.

:-)


>
> --
> Regards,
> Modemch




------------------------------

From: [EMAIL PROTECTED]
Subject: DMA from hard drive file, or HD file access from kernal.
Date: Fri, 07 May 1999 23:24:39 GMT

I need to find a way to download a disk file to a peripheral that uses DMA. 
I'm quite new to Linux driver writing and I am hoping for a tip on the best
way to do it.

I think I'll need to do a kmalloc for the file size (which is static) and
copy from the file into the memory I have reserved and then pass the physical
address, but I don't know how to access the disk file to do the copy.  I also
don't know if there is an easier or other way in general to accomplish my
goal.

I'm reading the O'Reilly book on drivers, but I don't think I will have time
to finish the book before I need to start this task.  Any other tips for
newbie Linux driver writers in general would also be appreciated.

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.apps,comp.unix.programmer
Subject: Re: [ANN] CodeWarrior for Red Hat Linux, GNU ed. Shipping
Date: Fri, 7 May 1999 20:54:33 -0500

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
says...
> > Personally, I still prefer a modern vi or emacs for productivity.
> > 
> > --Sumner
> 
> I agree. An ide slows me down, there's no way I would use one instead of
> vi and emacs if I didn't have to - let alone pay for it. I'd rather have
> the edge than look like I have it.

Well if individual productivity rather than group productivity (in the 
greater professional domain) was the goal, then you'd have a leg to stand 
on.

Ed

------------------------------

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.apps,comp.unix.programmer
Subject: Re: [ANN] CodeWarrior for Red Hat Linux, GNU ed. Shipping
Date: Fri, 7 May 1999 20:54:32 -0500

In article <MWRon-3004991224410001@dyn1-tnt2-
128.kalamazoo.mi.ameritech.net>, [EMAIL PROTECTED] says...
> My apologies if this is posted more than once
> 
> Linux Warriors
> 
> CodeWarrior for Red Hat Linux, GNU Edition is now Shipping.
> 
> CodeWarrior for Red Hat Linux, GNU Edition is available immediately
> through Ingram Micro and all CompUSA and Micro Center outlets.�CodeWarrior
> for Red Hat Linux, GNU edition, which includes the award-winning
> CodeWarrior IDE using a GNU compiler and debugger.

Can you comment about the use of an intermediate storage layer in the IDE 
please.  I think I remember something about that in the info.  I'm not 
sure I'm "OK" with the intermediate layer.  Thanks.

Ed

------------------------------

From: "G. Sumner Hayes" <[EMAIL PROTECTED]>
Subject: Re: Glibc rant
Date: Sat, 08 May 1999 01:04:58 -0400

Lou Grinzo wrote:
> 
> The original thread had to do with the problems caused by glibc 2.1.
> That should not have happened in open, closed, or any other kind of
> source, and it shows that someone, somewhere, was asleep at the 
> switch.

The original thread had to do with the problems caused by a glibc 2.0
to glibc 2.1 migration.  glibc 2.0 was never a stable production
release.  It's hardly unexpected that there will be differences
between development versions of software and final release.  Even
so, I only had to rebuild 4 packages (ncurses and a couple of others)
when moving from glibc 2.0.6 to glibc 2.1.

If you didn't want to run development software, you shouldn't have
done so.  If your distribution used a development version of the core
C library in a so-called stable release then you should complain to
them if it's a problem for you.

In particular, Red Hat 5.0 used glibc 2.0.  They've obviously decided
that mom and pop aren't their target audience just yet, which is a 
wise decision IMO.  In the future this may change, but the stability
that you long for requires a fair bit of infrastructure -- one of the
major goals of glibc2's versioning is to put that infrastructure in
place and avoid such agony in the future.

In short: If you're upgrading by hand, you should know what you're
doing; if something is broken, contribute a fix for it or at least
explain how you think the problem can be solved to the authors and then
back down to a functional version.  If there isn't a functional version,
write one, pay for one, or shut up.

If you're an end-user of a distribution that you're paying for support,
then complain to them if you don't like the way they handled things.
That's what you're buying, right?

Similarly, if you're using closed-source software then it's the 
responsibility of the vendor to provide updated binaries.  In the 
MS-Windows world, that often entails buying new versions and a fair 
wait.  As a consumer, it's your responsibility to find out what the
support terms of your software contracts are and do a cost/benefit
analysis to decide whether it's worth the money to you _before_
purchasing.  Most consumer software has no support.  Make your choice.

Aside: Relying on software that you don't have some kind of source
license for is placing a huge amount of trust in the vendor.  Witness
the many businesses that are willing to pay through the nose for source
licenses or 24/7 on-site support and personalized patching and feature
addition -- they know that that is required to get have any peace of
mind in the software world.  Open-source is a way of bringing the cost
of that security way down.  It doesn't eliminate it; you still need to
invest time (if you're a techie) or money (to hire a techie),
but that investment only has to be made when you need non-default
behaviour. 

Note that there is no stable C++ API for Linux yet.  Future versions
of gcc/egcs _will_ break backwards compatibility.  That's well
documented.  Deal with it.

--Sumner

------------------------------

From: Hans Dumbrajs <[EMAIL PROTECTED]>
Subject: Re: ISDN PCI Cards with Linux & other bits
Date: Fri, 07 May 1999 12:26:37 +0300

Steve Stairs wrote:

> Hi all I am new to Linux and really want to ditch Windows. I use a Mac at
> work and love the way Linux works. However I have a couple of queries...I
> hope someone can help.
>
> I can't get an internet setup...I am using Redhat 5.1 and I use X Windows. I
> have a BT Speedway ISDN Internal PCI Card and as such am unsure of how to
> get Linux to recognise it

www.isdn4linux.de

>
>
> Also I have a VooDoo II card form Diamond and am wondering if i can use that
> with Quake Arena when I get downloadinf from the net.
>
> I am a true novice (only installed last night) but am in need of assistance.
> Thanks all in advance
>
> Steve (Cable)
>
> http://www.btinternet.com/~xtc.cable/XTC.html


------------------------------


** 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
******************************

Reply via email to