john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

make windows 32 add to system path

make-windows-32

if you download a .tgz of a tar gzip source files of an application that you would like to compile (if it's been written for win32?)

download the gnu win32 make utility

http://gnuwin32.sourceforge.net/packages/make.htm

the setup.exe is the easiest to install, it will create a c:\program files\gnu\bin with make.exe

the author of the .tgz might include a README with instructions...

To build under Windows:

cd lib
make -f win32.mak
cd ..\appname
make -f win32.mak

TROUBLESHOOTING

Make error

*** missing separator. Stop.

using notepad2 you can set "view -> Show Whitespace" Ensure that Settings -> Insert Tabs as Spaces is OFF Then delete 4 spaces and replace with tab also remove trailling spaces


Control Panel->Performance and Maintenance-System (or right-click on My Computer and choose "Properties").

The "Advanced" tab -> click the button "Environment Variables".

In the "System variables" area scroll down and click "Edit" to modify

Variable name = Path Variable path = %SystemRoot%\system32;%SystemRoot%; %SystemRoot%\System32\Wbem; C:\Program Files\GnuWin32\bin

use a semicolon to distinguish multiple directories/folders


  • « Cron schedule scripts crontab list user
  • drupal 6 custom theme avitamin theme patch logo »

Published

Jul 9, 2010

Category

c-programming-guides

~160 words

Tags

  • c-programming-guides 25
  • make 7
  • path 6
  • system 9
  • windows 72