Re: [Tinycc-devel] "_winstart not defined"

2018-02-10 Thread Christian Jullien
Right,
http://download-mirror.savannah.gnu.org/releases/ works.

Thank you

-Original Message-
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org]
On Behalf Of grischka
Sent: samedi 10 février 2018 19:08
To: tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] "_winstart not defined"

Christian Jullien wrote:
> Grischka,
> FYI  The link on http://download.savannah.nongnu.org/releases/tinycc/ 
> is not working => 404

Not YET working, I suppose:

   Downloads will redirect to your nearest mirror site.
   Files on mirrors may be subject to a replication delay of up to 24 hours.
   In case of problems use http://download-mirror.savannah.gnu.org/releases/

-- gr

> 
> C.
> 
> 
> -Original Message-
> From: Tinycc-devel 
> [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org]
> On Behalf Of grischka
> Sent: samedi 10 février 2018 18:32
> To: tinycc-devel@nongnu.org
> Subject: Re: [Tinycc-devel] "_winstart not defined"
> 
> k2tom wrote:
>> tcc -o test.exe test.c -mwindows
> -mwindows nas no effect. TCC will create a GUI executable 
> automatically if there is a WinMain function.
> 
>> tcc: _winstart not defined
> I suspect the libtcc1.a that you once did build yourself is missing files.
> See
>  
> http://lists.gnu.org/archive/html/tinycc-devel/2011-12/msg1.html
> 
> 
> Anyway, as requested earlier by some people already I did upload the 
> rest of the full mingw winapi headers:
>  http://download.savannah.nongnu.org/releases/tinycc/
> 
> With this tcc should work for most of that "Forger's Win32API Tutorial".
> Here the "app_three" example (with resource):
> 
> $ cd app_three
> $ windres app_three.rc -O coff -o rc.o $ tcc -v app_three.c rc.o  -I 
> ..\winapi-full-for-0.9.27\include\winapi
> -lcomdlg32 -lcomctl32
> 
> tcc version 0.9.27 (i386 Windows)
> -> app_three.c
> -> rc.o
> <- app_three.exe (7168 bytes)
> 
> Instead of using -I the headers may be copied to the tcc installation 
> as well.
> 
> -- gr
> 
> 
> ___
> Tinycc-devel mailing list
> Tinycc-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
> 
> 
> ___
> Tinycc-devel mailing list
> Tinycc-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
> 




___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] "_winstart not defined"

2018-02-10 Thread grischka

Christian Jullien wrote:

Grischka,
FYI  The link on http://download.savannah.nongnu.org/releases/tinycc/ is not
working => 404


Not YET working, I suppose:

  Downloads will redirect to your nearest mirror site.
  Files on mirrors may be subject to a replication delay of up to 24 hours.
  In case of problems use http://download-mirror.savannah.gnu.org/releases/

-- gr



C.


-Original Message-
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org]
On Behalf Of grischka
Sent: samedi 10 février 2018 18:32
To: tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] "_winstart not defined"

k2tom wrote:

tcc -o test.exe test.c -mwindows

-mwindows nas no effect. TCC will create a GUI executable automatically if
there is a WinMain function.


tcc: _winstart not defined

I suspect the libtcc1.a that you once did build yourself is missing files.
See
 http://lists.gnu.org/archive/html/tinycc-devel/2011-12/msg1.html


Anyway, as requested earlier by some people already I did upload the rest of
the full mingw winapi headers:
 http://download.savannah.nongnu.org/releases/tinycc/

With this tcc should work for most of that "Forger's Win32API Tutorial".
Here the "app_three" example (with resource):

$ cd app_three
$ windres app_three.rc -O coff -o rc.o
$ tcc -v app_three.c rc.o  -I ..\winapi-full-for-0.9.27\include\winapi
-lcomdlg32 -lcomctl32

tcc version 0.9.27 (i386 Windows)
-> app_three.c
-> rc.o
<- app_three.exe (7168 bytes)

Instead of using -I the headers may be copied to the tcc installation as
well.

-- gr


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel






___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] "_winstart not defined"

2018-02-10 Thread Christian Jullien
Grischka,
FYI  The link on http://download.savannah.nongnu.org/releases/tinycc/ is not
working => 404

C.


-Original Message-
From: Tinycc-devel [mailto:tinycc-devel-bounces+eligis=orange...@nongnu.org]
On Behalf Of grischka
Sent: samedi 10 février 2018 18:32
To: tinycc-devel@nongnu.org
Subject: Re: [Tinycc-devel] "_winstart not defined"

k2tom wrote:
> tcc -o test.exe test.c -mwindows
-mwindows nas no effect. TCC will create a GUI executable automatically if
there is a WinMain function.

> tcc: _winstart not defined
I suspect the libtcc1.a that you once did build yourself is missing files.
See
 http://lists.gnu.org/archive/html/tinycc-devel/2011-12/msg1.html


Anyway, as requested earlier by some people already I did upload the rest of
the full mingw winapi headers:
 http://download.savannah.nongnu.org/releases/tinycc/

With this tcc should work for most of that "Forger's Win32API Tutorial".
Here the "app_three" example (with resource):

$ cd app_three
$ windres app_three.rc -O coff -o rc.o
$ tcc -v app_three.c rc.o  -I ..\winapi-full-for-0.9.27\include\winapi
-lcomdlg32 -lcomctl32

tcc version 0.9.27 (i386 Windows)
-> app_three.c
-> rc.o
<- app_three.exe (7168 bytes)

Instead of using -I the headers may be copied to the tcc installation as
well.

-- gr


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] "_winstart not defined"

2018-02-10 Thread grischka

k2tom wrote:

tcc -o test.exe test.c -mwindows

-mwindows nas no effect. TCC will create a GUI executable automatically
if there is a WinMain function.


tcc: _winstart not defined

I suspect the libtcc1.a that you once did build yourself is missing
files. See
http://lists.gnu.org/archive/html/tinycc-devel/2011-12/msg1.html


Anyway, as requested earlier by some people already I did upload
the rest of the full mingw winapi headers:
http://download.savannah.nongnu.org/releases/tinycc/

With this tcc should work for most of that "Forger's Win32API Tutorial".
Here the "app_three" example (with resource):

$ cd app_three
$ windres app_three.rc -O coff -o rc.o
$ tcc -v app_three.c rc.o  -I ..\winapi-full-for-0.9.27\include\winapi 
-lcomdlg32 -lcomctl32

tcc version 0.9.27 (i386 Windows)
-> app_three.c
-> rc.o
<- app_three.exe (7168 bytes)

Instead of using -I the headers may be copied to the tcc installation as well.

-- gr


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] "_winstart not defined"

2018-02-10 Thread KHMan

On 2/10/2018 5:07 PM, Daemon Magic wrote:
Try to use your mingw-built tcc to compile your test.c example, if 
it compiles w/o errors, your tcc built with itself has some problems.


I don't have any experience using a Win32 tcc, so I'll leave it to 
those who have done so to respond. If there is a symbol missing, I 
tend to think it is a header file or linker issue.


That said, tcc version 0.9.27 was released on Dec 17, 2017, and it 
appears that there are Windows executables available in the 
download section:


https://savannah.nongnu.org/projects/tinycc



2018-02-10 7:09 GMT+02:00 k2tom:

My original "current release" of 0.9.25 came from
tcc-0.9.25.tar.bze
(5/20/2009).  (This has the sources.. but NOT the binaries.) 
I used MinGW

to build TCC from those sources.  Then I used this
newly-minted TCC to build
a newer TCC from the sources.  (I just wanted to verify that
one could in
fact use TCC to compile ITSELF.)

The program I'm trying to compile is test.c, take verbatim
from the Forger's
Tutorial.  And the exact command line I'm using is:

prompt> *tcc -o test.exe test.c -mwindows*
tcc: _winstart not defined

Tom



--
Cheers,
Kein-Hong Man (esq.)
Selangor, Malaysia



___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] "_winstart not defined"

2018-02-10 Thread Daemon Magic
Try to use your mingw-built tcc to compile your test.c example, if it
compiles w/o errors, your tcc built with itself has some problems.

2018-02-10 7:09 GMT+02:00 k2tom :

> My original "current release" of 0.9.25 came from tcc-0.9.25.tar.bze
> (5/20/2009).  (This has the sources.. but NOT the binaries.)  I used MinGW
> to build TCC from those sources.  Then I used this newly-minted TCC to
> build
> a newer TCC from the sources.  (I just wanted to verify that one could in
> fact use TCC to compile ITSELF.)
>
> The program I'm trying to compile is test.c, take verbatim from the
> Forger's
> Tutorial.  And the exact command line I'm using is:
>
> prompt> *tcc -o test.exe test.c -mwindows*
> tcc: _winstart not defined
>
> Tom
>
>
>
> --
> Sent from: http://nongnu.13855.n7.nabble.com/tinycc-devel-f70286.html
>
> ___
> Tinycc-devel mailing list
> Tinycc-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
>
___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] "_winstart not defined"

2018-02-09 Thread k2tom
My original "current release" of 0.9.25 came from tcc-0.9.25.tar.bze
(5/20/2009).  (This has the sources.. but NOT the binaries.)  I used MinGW
to build TCC from those sources.  Then I used this newly-minted TCC to build
a newer TCC from the sources.  (I just wanted to verify that one could in
fact use TCC to compile ITSELF.)

The program I'm trying to compile is test.c, take verbatim from the Forger's
Tutorial.  And the exact command line I'm using is:

prompt> *tcc -o test.exe test.c -mwindows*
tcc: _winstart not defined

Tom



--
Sent from: http://nongnu.13855.n7.nabble.com/tinycc-devel-f70286.html

___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] "_winstart not defined"

2018-02-09 Thread KHMan

On 2/9/2018 10:56 PM, Daemon Magic wrote:

Hi, what is exact command line you're trying to exec?


It is better to reply to k2tom/Tom's original e-mail, since I 
snipped some things out.


Tom should also tell us where the tcc binaries came from, note 
that he mentioned "(0.9.25+)" in the first para.




2018-02-07 18:57 GMT+02:00 KHMan :

On 2/8/2018 12:19 AM, k2tom wrote:
[snip snip]

I was "just curious" and I tried using TinyCC to build the
Windows
"applications" from the "Forger's Win32API Tutorial" (a
great (imo)
introduction to Win32 programming).  (Normally I use
Cygwin GCC and/or MinGW
GCC to build these example programs.  But to get them to
compile under
Cygwin GCC, I had to use the -mno-cygwin switch.. and
that's been depricated
in Cygwin GCC.. so I'm left with only MinGW.)


I suspect they'd point you to the MinGW cross compiler
packages, see:

https://cygwin.com/cgi-bin2/package-grep.cgi?grep=mingw64&arch=x86


(I haven't used it. I use MinGW/MSYS, MSYS2, TDM-gcc, Cygwin gcc.)

But when I try building these examples with TinyCC, I get
a "_winstart not
defined" error.  Any hints/ideas?



--
Cheers,
Kein-Hong Man (esq.)
Selangor, Malaysia



___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] "_winstart not defined"

2018-02-09 Thread Daemon Magic
Hi, what is exact command line you're trying to exec?

2018-02-07 18:57 GMT+02:00 KHMan :

> On 2/8/2018 12:19 AM, k2tom wrote:
> [snip snip]
>
>> I was "just curious" and I tried using TinyCC to build the Windows
>> "applications" from the "Forger's Win32API Tutorial" (a great (imo)
>> introduction to Win32 programming).  (Normally I use Cygwin GCC and/or
>> MinGW
>> GCC to build these example programs.  But to get them to compile under
>> Cygwin GCC, I had to use the -mno-cygwin switch.. and that's been
>> depricated
>> in Cygwin GCC.. so I'm left with only MinGW.)
>>
>
> I suspect they'd point you to the MinGW cross compiler packages, see:
>
> https://cygwin.com/cgi-bin2/package-grep.cgi?grep=mingw64&arch=x86
>
> (I haven't used it. I use MinGW/MSYS, MSYS2, TDM-gcc, Cygwin gcc.)
>
> But when I try building these examples with TinyCC, I get a "_winstart not
>> defined" error.  Any hints/ideas?
>>
>
>
> --
> Cheers,
> Kein-Hong Man (esq.)
> Selangor, Malaysia
>
>
>
> ___
> Tinycc-devel mailing list
> Tinycc-devel@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/tinycc-devel
>
___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel


Re: [Tinycc-devel] "_winstart not defined"

2018-02-07 Thread KHMan

On 2/8/2018 12:19 AM, k2tom wrote:
[snip snip]

I was "just curious" and I tried using TinyCC to build the Windows
"applications" from the "Forger's Win32API Tutorial" (a great (imo)
introduction to Win32 programming).  (Normally I use Cygwin GCC and/or MinGW
GCC to build these example programs.  But to get them to compile under
Cygwin GCC, I had to use the -mno-cygwin switch.. and that's been depricated
in Cygwin GCC.. so I'm left with only MinGW.)


I suspect they'd point you to the MinGW cross compiler packages, see:

https://cygwin.com/cgi-bin2/package-grep.cgi?grep=mingw64&arch=x86

(I haven't used it. I use MinGW/MSYS, MSYS2, TDM-gcc, Cygwin gcc.)


But when I try building these examples with TinyCC, I get a "_winstart not
defined" error.  Any hints/ideas?



--
Cheers,
Kein-Hong Man (esq.)
Selangor, Malaysia


___
Tinycc-devel mailing list
Tinycc-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/tinycc-devel