Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2008-04

Rebuilding fpc-2.3.1.go32v2.zip

17 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marco van de Voort
to Robert Riebisch
How do I build /snapshot/v23/i386-go32v2/fpc-2.3.1.go32v2.zip from fpcbuild.zip? (Host: Windows)

Basic principle:
- install last go32v2 release (preferably on a dos or w9x system, NT based was a problem in the past, don't know the current status)
- make zipinstall in the fpc/ directory.

Additional extra's involve installing a gdb in precompiled library form in fpc/libgdb/$arch-$OS.

Then zip up the little zips in a big zip, and add files from fpcbuild/ as necessary, similar for docs from existing doc archives. (but I don't think the snapshots have many added files, would be redownload of the same thing for people tracking them)

If you have a "full" fpcbuild.zip, the main FPC tree is in fpcbuild/fpcsrc.

Reply by email

Tomas Hajny
to Robert Riebisch: Hi! How do I build /snapshot/v23/i386-go32v2/fpc-2.3.1.go32v2.zip from fpcbuild.zip?…

On Sun, April 13, 2008 22:15, Robert Riebisch wrote:

Hi,

How do I build /snapshot/v23/i386-go32v2/fpc-2.3.1.go32v2.zip from fpcbuild.zip? (Host: Windows)

For simple snapshot, fpc.zip plus proper libgdb from /contrib/libgdb/ (unpacked into libgdb/go32v2) are enough. fpcbuild.zip is only needed for full release-like build. "make clean zipinstall" should do (optionally, you can include "SNAPSHOT=1" as an additional parameter). There's one important caveat though - you need to make sure that no Win32 tools are found on PATH before their GO32v2 alternatives; this is especially important for FPC itself and make.exe. Moreover, as a general requirement for building 2.3.x, you need to start with a 2.2.x compiler (older versions are not supported and will fail).

Tomas

Reply by email

Robert Riebisch
to Marco van de Voort: Basic principle: - install last go32v2 release (preferably on a dos or w9x system, NT…
Marco van de Voort wrote
Basic principle: - install last go32v2 release (preferably on a dos or w9x system, NT based

Um, did you see, that I want to rebuild "snapshot" (not "release")? :-)

was a problem in the past, don't know the current status)

I think, it's still broken, because NT based COMMAND.COM doesn't support LFNs for, e.g., "cd" command. When I have some more time, I'll probably look into it.

Additional extra's involve installing a gdb in precompiled library form in fpc/libgdb/$arch-$OS.

I remember that from January. ;-)

Robert Riebisch

Reply by email

Robert Riebisch
to Tomas Hajny: For simple snapshot, fpc.zip plus proper libgdb from /contrib/libgdb/ (unpacked into…
Tomas Hajny wrote
For simple snapshot, fpc.zip plus proper libgdb from /contrib/libgdb/ (unpacked into libgdb/go32v2) are enough. fpcbuild.zip is only needed for

Ah, thanks for clarifying. :-)

full release-like build. "make clean zipinstall" should do (optionally, you can include "SNAPSHOT=1" as an additional parameter). There's one important caveat though - you need to make sure that no Win32 tools are found on PATH before their GO32v2 alternatives; this is especially

No problem. Just for building FPC I have created a VM with MS-DOS 7.10/Windows Me. Build speed could be improved, but it's OK for me. ;-)

Robert Riebisch

Reply by email

Jonas Maebe
to Robert Riebisch: Um, did you see, that I want to rebuild "snapshot" (not "release")? :-) I think, it's…
Robert Riebisch wrote 7 lines
> > Basic principle: > - install last go32v2 release (preferably on a dos or w9x system, > NT based Um, did you see, that I want to rebuild "snapshot" (not "release")? :-)

Yes, but building snapshots is only supported using the latest release (which is a problem since there is no 2.2.0 release for Dos, so you'll probably first have to get that one working).

Jonas

Reply by email

Marco van de Voort
to Robert Riebisch: Um, did you see, that I want to rebuild "snapshot" (not "release")? :-) I think, it's…
Show quoted text 6 lines
Marco van de Voort wrote: > Basic principle: > - install last go32v2 release (preferably on a dos or w9x system, NT based Um, did you see, that I want to rebuild "snapshot" (not "release")? :-)

Yes, but also for snapshot you need FPC to compile FPC, which was what I meant with that. You can't start from just source.

Reply by email

Robert Riebisch
to Tomas Hajny: For simple snapshot, fpc.zip plus proper libgdb from /contrib/libgdb/ (unpacked into…
Tomas Hajny wrote
For simple snapshot, fpc.zip plus proper libgdb from /contrib/libgdb/ (unpacked into libgdb/go32v2) are enough. fpcbuild.zip is only needed for full release-like build. "make clean zipinstall" should do (optionally, you can include "SNAPSHOT=1" as an additional parameter). There's one

I get the following error message:
d:/pp/bin/go32v2/make.exe -C fpdoc cleanall
make.exe[2]: Entering directory `d:/fpc/utils/fpdoc' make.exe[2]: *** No rule to make target `cleanall'. Stop. make.exe[2]: Leaving directory `d:/fpc/utils/fpdoc' make.exe[1]: *** [fpdoc_cleanall] Error 2
make.exe[1]: Leaving directory `d:/fpc/utils'
make.exe: *** [utils_distclean] Error 2

Additionally any external DOS commands won't run after, because DOS seems to ran out of file handles. I already have FILES=255 in CONFIG.SYS. Looks like MS-DOS 7.10 + DOSLFN 0.40 are not a valid build platform. ;-( Will try Windows Me DOS window now.

Robert Riebisch

Reply by email

Lee, John
to Robert Riebisch: OK. I always start with latest fpc-2.3.1.go32v2.zip + additional DOS tools. Robert…

I couln't quite follow what the problems are/were/might be. go32v2 fpc 2.3.1 + ide makes ok for me every day, starting with go32v2 v2.2 or from v2.3.1, with win me, running native. BTW AFAIK even if there isn't a v2.2 go32v2 release there is a v2.2 go32v2 (latest version) on ftp site, under snapshots /v22/go32v2 - made every day.

On an 1Ghz dell desktop go32v2 & IDE make takes about 20 minutes. It also works ok with win me running under vpc, tho' it's very slow (takes > 60 minutes or so on a 2.8Ghz desktop).

Let me know if there are problems...

Regards John

Show quoted text 30 lines
-----Original Message----- From: Behalf Of Robert Riebisch Sent: 14 April 2008 10:27 To: FPC developers' list Subject: Re: [fpc-devel] Rebuilding fpc-2.3.1.go32v2.zip Marco van de Voort wrote: > > Um, did you see, that I want to rebuild "snapshot" (not "release")? :-) > > Yes, but also for snapshot you need FPC to compile FPC, which was what I > meant with that. You can't start from just source. OK. I always start with latest fpc-2.3.1.go32v2.zip + additional DOS tools. Robert Riebisch -- BTTR Software http://www.bttr-software.de/ _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

Reply by email

Joost van der Sluis
to Jonas Maebe: Yes, but building snapshots is only supported using the latest release (which is a…

Op maandag 14-04-2008 om 11:09 uur [tijdzone +0200], schreef Jonas Maebe:

Show quoted text 13 lines
On 14 Apr 2008, at 11:01, Robert Riebisch wrote: >> >> Basic principle: >> - install last go32v2 release (preferably on a dos or w9x system, >> NT based > > Um, did you see, that I want to rebuild "snapshot" (not > "release")? :-) Yes, but building snapshots is only supported using the latest release (which is a problem since there is no 2.2.0 release for Dos, so you'll probably first have to get that one working).

But there was a beta-release of 2.2.0 (2.1.4) for dos. Due to too many problems it never made it too 2.2.0.

You could use fpc 2.1.4 for dos as startcompiler.

Joost

Reply by email

Lee, John
to Joost van der Sluis

Not sure what 'supported' means if we are talking about building snapshots - building snapshots for go32v2 v22 works ok starting with a v2.2 snapshot - I know this because I normally use a v22 snapshot for building v22 and v23 daily snapshots. John

Show quoted text 40 lines
-----Original Message----- From: Behalf Of Joost van der Sluis Sent: 14 April 2008 13:54 To: FPC developers' list Subject: Re: [fpc-devel] Rebuilding fpc-2.3.1.go32v2.zip Op maandag 14-04-2008 om 11:09 uur [tijdzone +0200], schreef Jonas Maebe: > On 14 Apr 2008, at 11:01, Robert Riebisch wrote: > > >> > >> Basic principle: > >> - install last go32v2 release (preferably on a dos or w9x system, > >> NT based > > > > Um, did you see, that I want to rebuild "snapshot" (not > > "release")? :-) > > Yes, but building snapshots is only supported using the latest release > (which is a problem since there is no 2.2.0 release for Dos, so you'll > probably first have to get that one working). But there was a beta-release of 2.2.0 (2.1.4) for dos. Due to too many problems it never made it too 2.2.0. You could use fpc 2.1.4 for dos as startcompiler. Joost _______________________________________________ fpc-devel maillist - http://lists.freepascal.org/mailman/listinfo/fpc-devel

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

Reply by email

Tomas Hajny
to Robert Riebisch: Um, did you see, that I want to rebuild "snapshot" (not "release")? :-) I think, it's…
Robert Riebisch wrote
Marco van de Voort wrote:

.
.

Show quoted text 5 lines
> was a problem in the past, don't know the current status) I think, it's still broken, because NT based COMMAND.COM doesn't support LFNs for, e.g., "cd" command. When I have some more time, I'll probably look into it.

This issue only exist for WinNT 4.0, it works with W2k and WXP (no experience with Vista - fortunately, I'd say ;-) ). There are still some minor glitches at times (like that NTVDM.EXE process keeps running in case of an error blocking access to some files and thus preventing from further build attempts, so one needs to kill the process manually in that case), but it works in general.

Tomas

Reply by email

Robert Riebisch
to Tomas Hajny
Tomas Hajny wrote
This issue only exist for WinNT 4.0, it works with W2k and WXP (no experience with Vista - fortunately, I'd say ;-) ). There are still some

You could have said that, before I fiddled around with slow VMs. ;-( When has this been fixed? IIRC I tried this in January to build FPC 2.2.0 for go32v2 and it didn't work on Windows 2000.

Robert Riebisch

Reply by email

Tomas Hajny
to Robert Riebisch
Robert Riebisch wrote 8 lines
Tomas Hajny wrote: > This issue only exist for WinNT 4.0, it works with W2k and WXP (no > experience with Vista - fortunately, I'd say ;-) ). There are still some You could have said that, before I fiddled around with slow VMs. ;-( When has this been fixed? IIRC I tried this in January to build FPC 2.2.0 for go32v2 and it didn't work on Windows 2000.

I haven't said that anything has been fixed with FPC, just that the DOS LFN functions are working with W2k and WXP _and_ that building worked for me (I know for sure that it worked kind of OK under W2k at least around the 2.0.4 release time and it worked under WXP recently). YMMV though, in other words, the fact that it worked for me with my setup, etc., doesn't necessarily mean it would work for you too (we're still talking about Microsoft here, right? ;-) ).

Tomas

Reply by email

Robert Riebisch
to Tomas Hajny
Tomas Hajny wrote 5 lines
> You could have said that, before I fiddled around with slow VMs. ;-( > When has this been fixed? IIRC I tried this in January to build FPC > 2.2.0 for go32v2 and it didn't work on Windows 2000. I haven't said that anything has been fixed with FPC, just that the DOS

I know. :-)

LFN functions are working with W2k and WXP _and_ that building worked for me (I know for sure that it worked kind of OK under W2k at least around the 2.0.4 release time and it worked under WXP recently). YMMV though, in other words, the fact that it worked for me with my setup, etc., doesn't

It works for me too.
Did you see my example code in the "symify.pp broken" thread?

necessarily mean it would work for you too (we're still talking about Microsoft here, right? ;-) ). From my experience this is not related to MS. :-p

Robert Riebisch

Reply by email