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


Groups > comp.lang.misc > #2152

Re: Testers wanted!

From Nils M Holm <news2009@t3x.org>
Newsgroups comp.lang.misc
Subject Re: Testers wanted!
Date 2014-05-03 08:11 +0000
Organization TARFU
Message-ID <bsjmltF3vjcU2@mid.individual.net> (permalink)
References <bsf197F4a8fU2@mid.individual.net> <%JT8v.244136$te5.217047@fx13.am4>

Show all headers | View raw


BartC <bc@freeuk.com> wrote:
> I've had a go at building this, although not with any great hopes, as my
> experience of building open source projects is good. It's usually 'make'
> which is the stumbling block, as it was here.

OK, Windows is not really supported by the configure/make infrastructure
of SubC! There is a (probably outdated) WINBUILD.BAT in the root of the
SubC package which used to bootstrap the compiler on Windows. I have not
written the batch file and I have probably broken it while trying to
adapt it to a new version. I have no Windows box to test it on.

If you would like to give it a try, though... :-)

> So any problems are likely to be at my end through doing something wrong.
> 
> (1) This is on Windows and I wanted to use Mingw gcc.

Should work fine with the winbuild batch file (if it works at all!)

> (2) Uploaded the experimental tgz file. (Don't like these as I'm on Windows
> without native support.). And ended up with the extracted files in C:\subc

I do not understand this, could you explain in different words? What
did you expect and what happened instead?

> (3) Inside C:\subc\src, I typed 'make', giving a bunch of 20 errors and 9
> warnings. But it seemed this 'make' invokes the version belonging to lcc
> (presumably lcc-win32). The mingw make appears to be called
> mingw32-make.exe.

This was to be expected!

> (5) I changed MakeFile to define a 'CC' symbol pointing to the right gcc
> program (don't know make so this is guesswork. BTW these files use LF
> line-endings which I had to change to CRLF to work with my editors)

OK, good to know! I thought all editors nowadays can handle LF.

> (6) Finally running gcc, it generates loads of errors. Choosing one file at
> random, gen.c, and compiling it manually, it objects to the file cg.h,
> included by defs.h, which is included by gen.c
> 
> But cg.h contains just the line:
> 
>  targets/cg/cg386.h
> 
> which is not standard C.

It's a symlink to targets/cg/cg386.h which extracting the tarball has
broken. WINBUILD.BAT should fix those.

> Obviously some essential configuration step has been missed out somehow.
> Probably, looking back at your post, that ./configure line! (I assumed you
> were saying that that configure file contained the following cd src and make 
> lines.)

Ah, no. ./configure links files like cg.c, sys.h, etc into place.
On Windows, this should be done by the batch file.

> Unfortunately 'configure' seems to be some shell script which doesn't work
> under Windows. (Maybe, if something called 'cygwin' was installed, which
> tries to emulate an Linux-like environment. But Mingw works  directly under
> Windows.)

Thanks for your detailed report! Will definitely add a note for Windows
users. And: sorry about the inconvenience. I really do not have the
slightest clue regarding Windows. Never used it in my entire life.

-- 
Nils M Holm  < n m h @ t 3 x . o r g >  www.t3x.org

Back to comp.lang.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-01 13:41 +0000
  Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-01 17:08 -0400
    Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-01 17:15 -0400
    Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-01 18:14 -0400
      Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-02 06:23 +0000
        Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-02 06:13 -0400
          Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-02 06:38 -0400
          Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-02 18:23 +0000
            Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-02 18:42 +0000
              Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-02 21:02 -0400
                Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-03 08:00 +0000
                Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-03 08:33 -0400
                Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-03 13:40 +0000
  Re: Testers wanted! "BartC" <bc@freeuk.com> - 2014-05-02 22:02 +0100
    Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-03 08:11 +0000
      Re: Testers wanted! "BartC" <bc@freeuk.com> - 2014-05-03 10:22 +0100
        Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-03 10:03 +0000
        Re: Testers wanted! "BartC" <bc@freeuk.com> - 2014-05-03 11:02 +0100
          Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-03 10:58 +0000
            Re: Testers wanted! "BartC" <bc@freeuk.com> - 2014-05-03 12:44 +0100
              Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-03 13:42 +0000
    Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-03 08:21 +0000
      Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-03 11:03 +0000
  Re: Testers wanted! Luuk <luuk@invalid.lan> - 2014-05-03 12:33 +0200
    Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-03 10:59 +0000
      Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-03 11:02 +0000
        Re: Testers wanted! Luuk <luuk@invalid.lan> - 2014-05-03 13:12 +0200
          Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-03 11:18 +0000
            Re: Testers wanted! Luuk <luuk@invalid.lan> - 2014-05-03 16:14 +0200
              Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-03 14:28 +0000
  Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-04 21:55 -0400
    Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-05 07:07 +0000
      Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-05 04:13 -0400
        Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-05 04:18 -0400
          Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-05 06:52 -0400
            Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-07 14:49 +0000
              Re: Testers wanted! "James Harris" <james.harris.1@gmail.com> - 2014-05-07 20:50 +0100
                Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-08 08:37 +0000
                Re: Testers wanted! "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> - 2014-05-08 10:50 +0200
                Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-08 08:55 +0000
                Re: Testers wanted! "James Harris" <james.harris.1@gmail.com> - 2014-05-08 10:21 +0100
                Re: Testers wanted! George Neuner <gneuner2@comcast.net> - 2014-05-08 13:43 -0400
    Re: Testers wanted! Luuk <luuk@invalid.lan> - 2014-05-05 20:29 +0200
      Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-05 19:09 -0400
        Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-12 07:06 +0000
          Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-12 16:18 +0000
            Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-12 20:00 -0400
              Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-13 14:24 +0000
                Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-13 17:04 -0400
                Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-14 16:50 +0000
                Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-14 19:04 -0400
                Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-16 09:39 +0000
                Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-16 17:33 -0400
                Re: Testers wanted! Nils M Holm <news2009@t3x.org> - 2014-05-17 20:25 +0000
                Re: Testers wanted! "Rod Pemberton" <dont_use_email@xnothavet.cqm> - 2014-05-30 04:28 -0400

csiph-web