Thursday, January 31, 2013

How to run a makefile in windows?

Q. I know at school we run it on linux but i have windows on my laptop and im using visual studios 2010 for C++ (express) - can someone please explain what i need to download/do to run makefiles?

A. I don't believe that Visual Studio has any facility for handling a "makefile".

What you can do is download the MinGW C++ compiler.

http://www.mingw.org

Unzip the download into a known location, such as "C:\mingw" on XP, or
"C:\Users\USERNAME\AppData\Local\MinGW" on Windows 7.

Calling that {mingw} to represent whichever case you have:

Set your PATH to include {mingw}\bin and {mingw}\msys\1.0\bin.

The MinGW package includes not only a C++ compiler, but a Bash shell script, awk, sed, grep, and a slew of other UNIX commands that will run on the Windows machine. For your interest, it happens to also include the "make" command, which will process your "makefile".

It might end up running the MinGW compiler against your C++ code, when you might have wanted it to use the Visual Studio compiler, but you can cross that bridge when you come to it.

Why wont my downloaded version of wordpress work?
Q. I downloaded wordpress from wordpress.org and it downloaded it as a zipped folder, I unzipped it but it is still just alot of documents and folders and files and I have no idea how to set it up. I know other people have had this problem, any advice?

A. you need a running server (apache/php/mysql). [apache is reccommended, but not required)
It might be easier to sign up for a free hosting plan, so you don't have to think about the server-part

However if you'd prefer to have wordpress on your own computer:
http://php.net/manual/en/install.php
http://httpd.apache.org/docs/1.3/windows.html
http://dev.mysql.com/doc/refman/5.1/en/windows-installation.html

I took it that you're a windows user, if you have a linux distribution on you computer, you should be able to find these software packages in the repositories

How do i create a Wakepup Floppy Under Linux?
Q. im switching between my xubuntu live cd to a Puppy Linux running from a USB FD, i downloaded Wakepup which allows your old pc to boot from your USB device but its a windows Installer, its design for windows and i dont have access to it right now. So how can i create the Boot up floppy under Linux?

A. I think you will find the information you need at:
http://www.murga-linux.com/puppy/viewtopic.php?t=3875

Note at the top of the thread, there is a link for the WakePup disk image for version 2.0. The link for Version 1.0 {WKPUP11C.ZIP } is lower on the page.

The directions are for Puppy1 {wakePup 1.1c} so you will have to translate them as needed if YOUR's is Puppy2.

In a nutshell, once you have the proper image it needs to be uncompressed and written {as root} to the floppy using 'dd' in Linux. For example, assuming Puppy1:

# unzip WKPUP11C.ZIP
# dd if=WKPUP11C.IMG of=/dev/fd0 bs=1440k

BTW, WakePup is a Puppy boot disk using FreeDOS, with support for USB mass storage drives (CD-ROM, hard disk and flash), legacy parallel port drives (Backpack CD-ROM and Iomega ZIP) and legacy PCMCIA drives (Addonics or similar CD-ROM).

You may also find this link helpful if you want to create a boot CD version:
http://www.puppylinux.com/cd-puppy.htm

hth.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment