Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #132

Spice3f5 porting - Norcroft/GCC queries

From Howard Dawson <hsdawson@ormail.co.uk>
Subject Spice3f5 porting - Norcroft/GCC queries
Newsgroups comp.sys.acorn.programmer
Date 2011-03-31 17:20 +0100
Message-ID <na.d7abc951bc.a80520hsdawson@ormail.co.uk> (permalink)
Organization ArgoNet, but does not reflect its views

Show all headers | View raw


Hi everyone,

I've been working on the above and found a couple of anomalies en-route
because it is written on Unix machines in old-fashioned K & R.

With -W specified it now compiles without any messages and runs fine on a
BB-XM, but I experienced a couple of hiccups en route.

I eventually managed to get the library requirements down to just the
straight clib stubs, but a previous attempt with both clib and TCPIPlibs
always left two intractable linker errors, suggesting the functions 'ioctl'
and 'read' were not found in the library - with the line reference of the
library header file where these functions are defined, <dirent.h> I think.

Because of the Unix origin, the source is full of 0x0d carriage returns
(200-odd K of them) which I removed en-masse.
When the Norcroft comes across these at preprocessor continuation
backslashes it goes absolutely mental with top-level errors from all over
the place.

My version is quite old (can't seem to find the old CD carton to get the
upgrade discount) at 5.34, and I was wondering whether anyone knows if the
newer version has these anomalies fixed.

I also tried with GCC 4/1/1 but kept getting the message 'Buffer overflow'
for long lists of input files - about 5-6 lines worth in a Zap window.
-- 
-------------
Howard Dawson
 
hsdawson@ormail.co.uk

http://hd-audio.orpheusweb.co.uk/
---------------------------------

Back to comp.sys.acorn.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Spice3f5 porting - Norcroft/GCC queries Howard Dawson <hsdawson@ormail.co.uk> - 2011-03-31 17:20 +0100
  Re: Spice3f5 porting - Norcroft/GCC queries Chris Johnson <chrisjohnson+news@spamcop.net> - 2011-03-31 18:00 +0100
  Re: Spice3f5 porting - Norcroft/GCC queries druck <news@druck.freeuk.com> - 2011-03-31 22:03 +0100
    Re: Spice3f5 porting - Norcroft/GCC queries Howard Dawson <hsdawson@ormail.co.uk> - 2011-04-01 23:03 +0100

csiph-web