Re: [SLUG] [PIG] me vs Borland

From: Eben King (eben01@verizon.net)
Date: Mon Jun 05 2006 - 13:26:56 EDT


On Mon, 5 Jun 2006, Levi Bard wrote:

>> It's in that _other_ OS by decree, but I'm hoping it isn't too far off the
>> charter. I'm using "Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000
>> Borland". If I'd ever done cross-compilation before, I'd consider using
>> g++...
>
> Did Dylan's patch resolve everything?

How do you apply it? I have this:

eben@pc:~/word_docs/cis-4930_object-oriented-programming/projects/complex_borland$
ls -R
.:
total 1.2M
4.0K bcc32.log 164K Complex.exe 4.0K
input.txt
  20K cartesian to polar conversion.doc 4.0K Complex.hpp 4.0K main.cpp
4.0K Command Prompt.lnk 4.0K Complex.hpp.old 164K main.exe
4.0K compile.bat 16K Complex.obj 12K main.obj
4.0K Complex-20060604-1131/ 4.0K Complex.patch 388K main.tds
8.0K Complex.cpp 388K Complex.tds
4.0K Complex.cpp.old 4.0K Copy of main.cpp

./Complex-20060604-1131:
total 16K
4.0K bcc32.log 4.0K Complex.cpp 4.0K Complex.hpp 4.0K main.cpp

I _thought_ you did it like this:

eben@pc:~/word_docs/cis-4930_object-oriented-programming/projects/complex_borland$
patch -p0 Complex.patch Complex-20060604-1131/Complex.cpp
patch: **** Only garbage was found in the patch input.

but I guess not.

Just looking at with "less Complex.patch", I think the professor might think
something was up with the "#ifdef"s.

> Perhaps too late, but good for future reference: you can run g++ on
> win32 using mingw ( compiler only - http://www.mingw.org ),
> code::blocks ( IDE+compiler - http://www.codeblocks.org ) and/or mingw
> developer studio ( IDE+compiler - http://www.parinyasoft.com ), or
> good old cygwin ( compiler only - http://www.cygwin.com ).

Thanks. May be a better compiler than bcc32, and certainly uses more
portable code. I'll probably be strongly encouraged to use an IDE. We were
using MS Visual Studio (it came with the book), but it and I didn't get
along. I'd be happier with something non-MS anyway.

-- 
-eben   QebWenE01R@vTerYizUonI.nOetP   royalty.no-ip.org:81

This message was created using recycled electrons. ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:03:33 EDT