From: cumani AT dns DOT ien DOT it Newsgroups: comp.os.msdos.djgpp Subject: [MINGW32] Help! Date: Thu, 14 May 1998 15:04:44 +0200 Organization: Politecnico di Torino - Italia Lines: 48 Message-ID: <355AEBEC.1419@is.ien.it> NNTP-Posting-Host: vega.ien.it Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, I don't know whether this is the right NG for my question, but I've seen some messages on this subject recently. I'v downloaded the MINGW32 package (Minimalist GCC for Win32) from uni-essen.de: gcc-2_8_1.zip gas-980119.zip windows32api-980118.zip mingw32-980105.zip plus some others that should'nt be strictly necessary. I've followed the installation instructions, setting environment vars: path=C:\MINGW32\BIN;%path% set C_INCLUDE_PATH=C:\MINGW32\include set CPLUS_INCLUDE_PATH=C:\MINGW32\include\g++;C:\MINGW32\include set LIBRARY_PATH=C:\MINGW32\lib set GCC_EXEC_PREFIX=C:\MINGW32\lib\gcc-lib\ gcc -v says 2.8.1, and the classic Hello, world! program compiles and runs OK, but I'm not able to go much further. The package contains some samples. I was able to run only the 2 or 3 that do not use Win specific stuff. More prcisely, some samples have a "jamfile". I had to figure out by myself that it was a sort of makefile, as well as finding a jam.exe somewhere on the net (it's NOT in the MINGW binaries!). Now, running "jam" in the samples/test subdir I get complaints like warning: unknown rule GuiLibs and test.o(.text+0x65):test.c: undefined reference to `MessageBoxA AT 16' and no .exe. Similarly, in the samples/seh example jam fails to build the DLL. Am I doing something wrong? Is there some online reference I could consult? Thank you anyway. -- Ing. Aldo Cumani Istituto Elettrotecnico Nazionale Str. delle Cacce, 91 10135 Torino