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


Groups > comp.lang.misc > #2158

Re: Testers wanted!

From Nils M Holm <news2009@t3x.org>
Newsgroups comp.lang.misc
Subject Re: Testers wanted!
Date 2014-05-03 10:58 +0000
Organization TARFU
Message-ID <bsk0ehF621nU1@mid.individual.net> (permalink)
References <bsf197F4a8fU2@mid.individual.net> <%JT8v.244136$te5.217047@fx13.am4> <bsjmltF3vjcU2@mid.individual.net> <7A29v.139945$_m3.33288@fx02.am4> <ba39v.232699$Tp4.206565@fx11.am4>

Show all headers | View raw


BartC <bc@freeuk.com> wrote:
> "BartC" <bc@freeuk.com> wrote in message 
> WINBUILD.BAT contained odd lines such as setting up a path C:\\dev-cpp\\ 
> (some old compiler I guess). And then it used 'make clean', but I can't find 
> any file called 'clean' anywhere (which uses a command called 'rm' which 
> gives problems).

DEVCPPPATH is the path to the MinGW C libraries. It is used to construct
the SYSLIBC variable, which points to some libraries that C programs seem
to require on Windows.

> Anyway I decided not to bother with any of that anymore, and just extracted 
> the 14 C modules into another directory, plugged them into my IDE, and here 
> they compiled with no problem! All in a couple of minutes.

This is good to hear!

> Trying scc (as (I called Subc) to compile C programs, it just needed me to 
> copy the standard headers into ./include.
> 
> Now scc will generate what looks like .x86 asm code in .s files.
> 
> I will have a look at what SYSLIBC is supposed to be, but it hasn't had an 
> adverse affect.

> (Also not sure what the next step is after the .s file is generated; does 
> Subc go any further with that?)

If you did not use WINBUILD.BAT, the build will create a Unix compiler,
which will use fork/execve/wait to spawn the assembler and linker (which
will not work on Linux). You need to install some Windows-specific files
from src/targets in the source tree to get a working Windows compiler.
Specifically:

copy src\targets\windows-386\crt0-windows-386.s src\lib\crt0.s
copy src\targets\windows-386\sys-windows-386.h src\sys.h
copy src\targets\lib\init-windows.c src\lib\init.c
copy src\targets\lib\system-windows.c src\lib\system.c
copy src\targets\include\limits-32.h src\include\limits.h

(I hope I did not mistype too many paths.)

To link programs, you will also have to create a proper SYSLIBC (system
C libraries) define in sys.h. I'm afraid I cannot help here.

-- 
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