Sign in Join

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

Mailing lists / lazarus / 1999-07

FW: win32

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

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

Baeseman, Cliff

-----Original Message-----

Earlier message 52 lines
From: Payne Thomas E CNIN Sent: Tuesday, July 13, 1999 1:10 PM To: 'Baeseman, Cliff' Subject: RE: win32 C:\PP\SOURCE>cd compiler C:\PP\SOURCE\COMPILER>make cycle The name specified is not recognized as an internal or external command, operable program or batch file. >& was unexpected at this time. C:\PP\SOURCE\COMPILER> > -----Original Message----- > From: Baeseman, Cliff > Sent: Tuesday, July 13, 1999 1:08 PM > To: Payne Thomas E CNIN > Subject: RE: win32 > > I run make cycle instead from the compiler directory... > > Cliff > > -----Original Message----- > From: Payne Thomas E CNIN > Sent: Tuesday, July 13, 1999 1:04 PM > To: 'Baeseman, Cliff' > Subject: win32 > > > > C:\PP\SOURCE>make compiler_all > c:/pp/bin/win32/make.exe -C rtl/win32 all > make.exe[1]: Entering directory `c:/pp/source/rtl/win32' > asw -o wprt0.ow wprt0.as > asw -o wdllprt0.ow wdllprt0.as > ppc386.exe -Twin32 -b- -Xs -OG2p2 -n -Fu../win32 -Fu. -Fi../inc -Fi../i386 > -FE > -di386 -Us -Sg syswin32.pp > ppc386.exe -Twin32 -b- -Xs -OG2p2 -n -Fu../win32 -Fu. -Fi../inc -Fi../i386 > -FE > -di386 -I../objpas ../objpas/objpas.pp > make.exe[1]: *** [objpas.ppw] Error -1 > make.exe[1]: Leaving directory `c:/pp/source/rtl/win32' > make.exe: *** [rtl_all] Error 2 > > Any suggestions? > > Tom

Reply by email

Jeff Wormsley
to Baeseman, Cliff
Show quoted text 6 lines
C:\PP\SOURCE>cd compiler C:\PP\SOURCE\COMPILER>make cycle The name specified is not recognized as an internal or external command, operable program or batch file. >& was unexpected at this time.

This must be NT you are running on. The only thing left in NT that you can do from Autoexec.bat is set the path and environment variables. You can also do it in the command prompt properties, by specifying a batch file (say, lazinit.bat) that sets the path and environment variables. Path needs to have C:\PP\BIN\WIN32 added, going by your example. Use SET PATH=%PATH%;C:\PP\BIN\WIN32; to add it to what is already there.

Try this. Make a copy of your command prompt shortcut on the desktop. Rename it Lazarus Prompt. Open the properties, and in the Shortcut tab, add the following after the CMD.EXE in the first box: /KC:\PP\BIN\WIN32\LAZINIT.BAT. Then create LAZINIT.BAT in C:\PP\BIN\WIN32 with the following entries.

@ECHO OFF
SET PATH=%PATH%;C:\PP\BIN\WIN32;
SET FPCDIR=C:\PP\SOURCE
SET CVSROOT= <whatever, I'm at work and don't remember> C:
CD \PP\SOURCE

Then when you open the Lazarus Prompt, you should be dropped right into the directory you want with everything ready to roll.

Jeff.

Reply by email

Michael Van Canneyt
to Jeff Wormsley
Jeff Wormsley wrote 9 lines
>C:\PP\SOURCE>cd compiler > >C:\PP\SOURCE\COMPILER>make cycle >The name specified is not recognized as an >internal or external command, operable program or batch file. >>& was unexpected at this time. This must be NT you are running on. The only thing left in NT that you can do from Autoexec.bat is set the path and environment variables. You can also do it in the command prompt properties, by specifying a batch file (say, lazinit.bat) that sets the path and environment variables. Path needs to have C:\PP\BIN\WIN32 added, going by your example. Use SET PATH=%PATH%;C:\PP\BIN\WIN32; to add it to what is already there.

The problem is that in the compiler directory there is a file 'make.cmd', meant for OS/2 But since NT also accepts .CMD as an extension for batch files, it tries to run this make and NOT the real 'make.exe'. The solution is to remove the make.cmd from the directory or to specify the full path to make.
(Do not forget that the next source wil again contain the make.cmd)

Michael.

Show quoted text 20 lines
Try this. Make a copy of your command prompt shortcut on the desktop. Rename it Lazarus Prompt. Open the properties, and in the Shortcut tab, add the following after the CMD.EXE in the first box: /KC:\PP\BIN\WIN32\LAZINIT.BAT. Then create LAZINIT.BAT in C:\PP\BIN\WIN32 with the following entries. @ECHO OFF SET PATH=%PATH%;C:\PP\BIN\WIN32; SET FPCDIR=C:\PP\SOURCE SET CVSROOT= <whatever, I'm at work and don't remember> C: CD \PP\SOURCE Then when you open the Lazarus Prompt, you should be dropped right into the directory you want with everything ready to roll. Jeff. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email