Hi Paul/Rob, Paul, I am very sorry you blew something away testing this.......of course I didn't mean THAT to happen.
On the link below is a previous append I put onto the linux development forum trying to get the compiler to work in the first place. Any brief look at my thread will tell you I am no linux/gnu expert....on my last account I had a 'unix'/gnu expert who could set things up for me...on my current account the client has standardised on linux but seems to have no staff I can find who know anything about gnu/linux....hence my requests here. >From waht you are saying Paul I will need to get the 'gnu/linux suport' to install a newer version of the compiler or rebuild it as you suggest. How am I writing? I define my streams as follows and write as follows. Nothing too difficult about this as far as I know. Works on everything else...sigh.. ifstream input ; ofstream output ; output.write(ws_io_buffer,(int) strlen(ws_io_buffer)) ; I'll talk to the tech guys in the morning and see what they say... Thanks very much for your help... Best Regards Peter Nolan www.peternolan.com http://groups.google.com/group/comp.os.linux.development.system/browse_thread/thread/1c95950fac0f3122/2d179b5caa871f38?lnk=st&q=Peter+Nolan+Linux+cout&rnum=1#2d179b5caa871f38 > #include <iostream> > int main() > { > cout << "Hello, world!" << endl; > return 0; > } % g++ -o hello hello.cc % % ./hello Hello, world! % g++ -v -o hello hello.cc Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs gcc version 2.95.4 20011002 (Debian prerelease) /usr/lib/gcc-lib/i386-linux/2.95.4/cpp0 -lang-c++ -v -D__GNUC__=2 -D__GNUG__=2 -D__GNUC_MINOR__=95 -D__cplusplus -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -D__EXCEPTIONS -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ hello.cc /tmp/ccV3Vlpx.ii GNU CPP version 2.95.4 20011002 (Debian prerelease) (i386 Linux/ELF) #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3 /usr/local/include /usr/lib/gcc-lib/i386-linux/2.95.4/include /usr/include End of search list. The following default directories have been omitted from the search path: /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../i386-linux/include End of omitted list. /usr/lib/gcc-lib/i386-linux/2.95.4/cc1plus /tmp/ccV3Vlpx.ii -quiet -dumpbase hello.cc -version -o /tmp/ccC9QoTW.s GNU C++ version 2.95.4 20011002 (Debian prerelease) (i386-linux) compiled by GNU C version 2.95.4 20011002 (Debian prerelease). as -V -Qy -o /tmp/ccThoF6r.o /tmp/ccC9QoTW.s GNU assembler version 2.15 (i386-linux) using BFD version 2.15 /usr/lib/gcc-lib/i386-linux/2.95.4/collect2 -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 -o hello /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/gcc-lib/i386-linux/2.95.4/crtbegin.o -L/usr/lib/gcc-lib/i386-linux/2.95.4 /tmp/ccThoF6r.o -lstdc++ -lm -lgcc -lc -lgcc /usr/lib/gcc-lib/i386-linux/2.95.4/crtend.o /usr/lib/crtn.o % _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus