FBC 1.0 doesn't work on ME

General FreeBASIC programming questions.
DOS386
Posts: 798
Joined: Jul 02, 2005 20:55

FBC 1.0 doesn't work on ME

Postby DOS386 » Nov 09, 2014 6:42

http://www.freebasic.net/wiki/wikka.php ... quirements

The FreeBASIC compiler (fbc.exe) and the executables generated by it, need at least Windows 95 to run -- it was not tested in Windows 3.x with the Win32 system installed yet (??) .


Windows 3.x ? It doesn't work on ME/98 anymore. 0.90rc2 works on ME if I upgrade the content of the "BIN" directory from older FBC package. Oops, I forgot to test 0.90.1.

http://sourceforge.net/projects/fbc/fil ... ons/0.90.1

The Win32 version FBC 1.0 still works on XP (now unsupported and dead), and the DOS version works on DOS ( :-) - see other subforum).
fxm
Posts: 9701
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: FBC 1.0 doesn't work on ME

Postby fxm » Nov 09, 2014 6:56

DOS386 wrote:The Win32 version FBC 1.0 still works on XP (now unsupported and dead)...

Fortunately.
I think a lot of people (like me) are still using Windows XP!
dkl
Site Admin
Posts: 3211
Joined: Jul 28, 2005 14:45
Location: Germany

Re: FBC 1.0 doesn't work on ME

Postby dkl » Nov 09, 2014 10:19

Does the MinGW.org-based build work on these old Windows versions by any chance?
dodicat
Posts: 6547
Joined: Jan 10, 2006 20:30
Location: Scotland

Re: FBC 1.0 doesn't work on ME

Postby dodicat » Nov 09, 2014 11:43

What exactly is an old Windows version these days?

I still use XP, but fb 1.00 doesn't work with Win 98.
I'll try the ming32, I have to download it here and transfer by pen drive to my old Win 98 machine.
marcov
Posts: 2969
Joined: Jun 16, 2005 9:45
Location: Eindhoven, NL
Contact:

Re: FBC 1.0 doesn't work on ME

Postby marcov » Nov 09, 2014 12:53

dodicat wrote:What exactly is an old Windows version these days?

I still use XP, but fb 1.00 doesn't work with Win 98.


XP is a grey area, while consumer support has terminated, there is still (paid) support for Windows XP, though only for e.g. government agencies (and multinationals, though most of them already migrated), and Microsoft from time to time still patches really bad leaks. (just like they did with win2000 for a while too)

After somewhere early next year, the price of that support will go up steeply, and company use of XP will be truely over. Meanwhile, the share of XP now started to slip seriously in the monthly polls, and that will likely only accelerate in the coming months.
fxm
Posts: 9701
Joined: Apr 22, 2009 12:46
Location: Paris suburbs, FRANCE

Re: FBC 1.0 doesn't work on ME

Postby fxm » Nov 09, 2014 16:19

dkl wrote:Does the MinGW.org-based build work on these old Windows versions by any chance?

Is there in FBWiki a clear explanation about how to install/configure mingw + fbc (win32) + IDE?
dkl
Site Admin
Posts: 3211
Joined: Jul 28, 2005 14:45
Location: Germany

Re: FBC 1.0 doesn't work on ME

Postby dkl » Nov 09, 2014 16:49

No; there isn't. We had several attempts at explaining how to install MinGW.org + MSYS for the "how to compile FB" guides, but now they're aimed at MinGW-w64 + MSYS which is different.

I intended these release packages for people who already have MinGW, and thus, probably know what they have to do anyways.
dodicat
Posts: 6547
Joined: Jan 10, 2006 20:30
Location: Scotland

Re: FBC 1.0 doesn't work on ME

Postby dodicat » Nov 09, 2014 19:26

With the Mingw fb 1.00, Win 98 at least this time can run fbc.exe.
However it does not compile .bas files (crt2.o not found)

Fbide says compiled successfully at the end, but no .exe file is produced.

Here are the results:
1) Direct console compile:

Code: Select all

 

Microsoft(R) Windows 98
   (C)Copyright Microsoft Corp 1981-1999.

C:\WINDOWS\Desktop\fbc-1.00.0-win32-mingw-org\BIN>fbc -version
FreeBASIC Compiler - Version 1.00.0 (09-14-2014), built for win32 (32bit)
Copyright (C) 2004-2014 The FreeBASIC development team.

C:\WINDOWS\Desktop\fbc-1.00.0-win32-mingw-org\BIN>fbc hello98.bas
Bad command or file name
Bad command or file name
Bad command or file name
Bad command or file name
Bad command or file name
Bad command or file name
Hello98.bas() error 23: File not found, crt2.o
Bad command or file name
Bad command or file name
Bad command or file name

C:\WINDOWS\Desktop\fbc-1.00.0-win32-mingw-org\BIN>



And compile via fbide:

Code: Select all

Command executed:
"C:\WINDOWS\Desktop\fbc-1.00.0-win32-mingw-org\BIN\FBC.EXE" -lang fb -gen gas -exx  "C:\WINDOWS\Desktop\fbc-1.00.0-win32-mingw-org\BIN\FBIDETEMP.bas"

Compiler output:
C:\WINDOWS\Desktop\fbc-1.00.0-win32-mingw-org\BIN\FBIDETEMP.bas() error 23: File not found, crt2.o
Bad command or file name
Bad command or file name
Bad command or file name
Bad command or file name
Bad command or file name
Bad command or file name
Bad command or file name
Bad command or file name
Bad command or file name

Results:
Compilation successful
Generated executable: C:\WINDOWS\Desktop\fbc-1.00.0-win32-mingw-org\BIN\FBIDETEMP.exe

System:
FBIde: 0.4.6
fbc:   FreeBASIC Compiler - Version 1.00.0 (09-14-2014), built for win32 (32bit)
OS:    Windows 98 ( A )
 


And as I reported a few days ago, the standard fb download fb 1.00 does not work at all.

The test file was
print "HELLO"
sleep

With the Mingw build, Win 98 will run .exe files compiled with Win XP.
With the standard build Win 98 crashes when trying to run .exe files compiled with XP.
dkl
Site Admin
Posts: 3211
Joined: Jul 28, 2005 14:45
Location: Germany

Re: FBC 1.0 doesn't work on ME

Postby dkl » Nov 09, 2014 19:44

Good to know that the MinGW.org fbc.exe runs. I suspect the MinGW-w64 toolchain I used for the FreeBASIC-1.00.0-win32 package doesn't support the old Windows systems, while MinGW.org still does.

Of course the fbc-1.00.0-win32-mingw-org package isn't ready for use on its own; it's supposed to be installed into an existing MinGW.org installation. That's what provides the crt2.o and the other libs...

I think it'd help to have a complete FB release package based on MinGW.org in the future then.
DOS386
Posts: 798
Joined: Jul 02, 2005 20:55

Re: FBC 1.0 doesn't work on ME

Postby DOS386 » Nov 11, 2014 17:14

FBC 1.0 Win32 doesn't work on ME, also the special MinGW version of "FBC.EXE" doesn't work there, it crashes just differently. 0.90.1 does work on ME like the 0.90rc2 does, but "binutils" don't. While "binutils" from 0.24 do work perfectly, those from 0.22 do brew a bunch of absurd warns but seem that they finally produce a working executable nevertheless. The "banding-effect-BUG" of the GDI driver is still in there, IIRC last working version was 0.18.5 (YES this had been reported and discussed long ago http://www.freebasic.net/forum/viewtopi ... 54#p188254 http://users.freebasic-portal.de/dos386/fbbuggdi.ogv). A good thing about 1.0 is that "FBC.EXE" itself is smaller than in 0.22, and only slightly bigger than in 0.90.1.

FBC 1.0 MinGW (not on ME):

> FreeBASIC Compiler - Version 1.00.0 (09-14-2014), built for win32 (32bit)
> Copyright (C) 2004-2014 The FreeBASIC development team.

The word "standalone" is gone, but why no "MinGW" instead ???

FBC 0.90.1 with "binladenutils" from 0.22 on ME:

> Warning: .drectve `-aligncomm:"___mingw_winmain_lpCmdLine",2 ' unrecognized
> Warning: .drectve `-aligncomm:"___mingw_winmain_hInstance",2' unrecognized
> Warning: .drectve `-aligncomm:"___fb_ctx",5' unrecognized
> Warning: .drectve `-aligncomm:"___fb_con",5' unrecognized
> Warning: .drectve `-aligncomm:"___DTOR_LIST__",2 ' unrecognized
> Warning: .drectve `-aligncomm:"___CTOR_LIST__",2' unrecognized
> Warning: .drectve `-aligncomm:"___onexitend",2 ' unrecognized
> Warning: .drectve `-aligncomm:"___onexitbegin",2' unrecognized
> Warning: .drectve `-aligncomm:"___native_startup_lock",2 ' unrecognized
> Warning: .drectve `-aligncomm:"___native_startup_state",2' unrecognized
dodicat
Posts: 6547
Joined: Jan 10, 2006 20:30
Location: Scotland

Re: FBC 1.0 doesn't work on ME

Postby dodicat » Nov 11, 2014 21:10

I really thought that Win 98 (second edition) would be similar to Win ME as far as running fb was concerned.

You say:
"A good thing about 1.0 is that "FBC.EXE" itself is smaller than in 0.22, and only slightly bigger than in 0.90.1."

I ask
???, not sure why this is relevant ???

I'll dig out an old box with Win ME installed and try both fb 1.00 varieties.
This means finding a monitor/ keyboard e.t.c.
I have them floating about somewhere, but my wife insisted, a while back, that I put all these accoutrements in the attic, so I'll go up there in a while.
DOS386
Posts: 798
Joined: Jul 02, 2005 20:55

Re: FBC 1.0 doesn't work on ME (and 98)

Postby DOS386 » Nov 12, 2014 7:37

dodicat wrote:I ask ???, not sure why this is relevant ???


It is relevant since bloat avoidance is a crucial quality of programmers and software. ;-)

> thought that Win 98 (second edition) would be similar to Win ME

Me too.

Return to “General”

Who is online

Users browsing this forum: No registered users and 6 guests