home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!wupost!gumby!destroyer!cs.ubc.ca!news.UVic.CA!sanjuan!pmacdona
- From: pmacdona@sanjuan (Peter MacDonald)
- Subject: Re: Newbie questions -- C++, PS printer
- Message-ID: <1992Dec14.013556.26572@sol.UVic.CA>
- Sender: news@sol.UVic.CA
- Nntp-Posting-Host: sanjuan.uvic.ca
- Organization: University of Victoria, Victoria B.C. CANADA
- References: <1992Dec14.003102.4687@cc.gatech.edu>
- Date: Mon, 14 Dec 92 01:35:56 GMT
- Lines: 29
-
- In article <1992Dec14.003102.4687@cc.gatech.edu> ammo@cc.gatech.edu (Ammo Goettsch) writes:
- >Hi, I have been hacking on Linux for just a few days, trying to get my
- >work ported to my PC.
- >
- >Here are 2 newbie questions, to be answered by the knowing in email or
- >on the group, by preference.
- >
- >1) I have a post script printer. I have the /dev/lp1 working. I would like
- > to have "lpr textfile" make post script out of a straight text file and
- > dump it to my printer. This is like the "enscript" program we have on our
- > UNIX boxes. What program do I need to do this?
- >
- >2) I compiled tons of C code and some C++ code from work, by using g++.
- > Everything works fine except C++ program which use cout for standard output
- > cannot find "cout" or operator<<(various types)" and so they don't link.
- > Do I need to link a special library for this? I thought this stuff should be
- > in libc.a?
-
- Tch, tch. This is in the SLS FAQ. Use "gcc -nojump". Hopefully, this
- will be resolved soon.
-
- >
- >I am presently using an SLS distribution Linux which thinks it's 0.96
- >without any patches other than newer xfree86.
- >
- >Please help,
- >Ammo Goettsch
-
-
-