Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: RELEASE: v2.0.5: msg#00060

db.mysql.c++

Subject: Re: RELEASE: v2.0.5

Thomas Werth wrote:

"BUILDSYSd" ist syntaktisch an dieser Stelle nicht verarbeitbar.

Grrr.... cmd.exe is brain-dead. Use the attached makemake.bat instead.

If anyone out there has batch-fu, I would really like to know why you cannot assign %1 to another variable and then make tests based on the new variable. The cmd.exe batch interpreter behaves differently depending on whether you use %1 or %BUILDSYS, even when both have the same value! Lame, lame, lame!

Do i need to call makemake running under cygwin box with previous set up
msvc vars

I see. The answer is, you only have Cygwin installed to get GNU make. You still run everything from the regular Windows command prompt, because Cygwin's command shell doesn't understand batch files. I will make this clearer in README.vc.
@echo off

if "%1" == "vc" goto build_makefiles
if "%1" == "mingw" goto build_makefiles
echo Unrecognized build system %1.
echo.
goto usage

:build_makefiles
rem Create Makefiles in subdirectories
for %%d in ( lib examples ) do call buildmf.bat %1 %%d

rem Create top-level Makefile
echo all: > Makefile
echo @cmd /c mkbindirs.bat >> Makefile
echo cd lib ^&^& $(MAKE) BIN_DIR=debug all example_setup >> Makefile
echo cd lib ^&^& $(MAKE) BIN_DIR=release >> Makefile
echo cd examples ^&^& $(MAKE) >> Makefile
echo. >> Makefile
echo install: all >> Makefile
echo @cmd /c install.bat %1 >> Makefile
echo. >> Makefile
echo clean debug release: >> Makefile
echo cd lib ^&^& $(MAKE) $@ >> Makefile
echo cd examples ^&^& $(MAKE) $@ >> Makefile


echo Created Makefiles successfully.
goto end


rem Display usage message
:usage
echo usage: makemake {vc, mingw}
echo.
echo You must give one of the compiler parameters:
echo.
echo vc: Visual C++ command-line compiler (cl)
echo mingw: MinGW GCC (g++)
goto end


:end


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
version-control...    qnx.openqnx.dev...    redhat.rhn.user...    ietf.openpgp/20...    mail.mutt.user/...    web.microformat...    java.sync4j.use...    education.ezpro...    user-groups.blu...    solaris.manager...    org.fitug.debat...    technology.erps...    politics.activi...    linux.redhat.fe...    bug-tracking.ma...    xfce.user/2004-...    hams/2004-11/ms...    kde.users.pim/2...    culture.cooking...    freebsd.devel.x...    gnu.m4.adhoc/20...    ngpt.user/2002-...    apple.fink.deve...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation