getting BCC55 to run

G

graham.rick

I'm trying to port a cgi-bin app from Linux (gcc) to Windows. The cgi
is written in ANSI C and works fine on my Linux box.

I have a friend who would like to run it under Apache on Windows.

I'd like some pointers to get started. I have visual C++ but it won't
compile it, it complains that the pre-compiled header is missing. OK,
this is stdafx.h (or something line that) Not sure how to create that
so I downloaded BCC55.

When I run make it says that it can't find all: which is the first
target.

I realize that there are probably differences between GCC make files
and Borland Makefiles, what I need is a some pointers on how to get
started.

Any help would be very much appreciated.
 
M

Mark McIntyre

I have visual C++ but it won't
compile it, it complains that the pre-compiled header is missing.

This is not a bug, its an error in how you're setting up the build
environment. Search for, and disable, the option to use precompiled
headers.
OK,
this is stdafx.h (or something line that) Not sure how to create that

By setting the build option to 'create precompiled headers'! For more
info, RTFM or ask in an MS group.
so I downloaded BCC55.

When I run make it says that it can't find all: which is the first
target.

'make' is, as you suspected, entirely platform and compiler specific.
Almost certainly bcc's make is incompatible with any unix one you
have. There's virtually no chance of using hte unix makefile with
either MSVC or BCC. You can however read the makefile, and set up an
equivalent MSVC or BCC project. For more info, ask in an MS or borland
group
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,898
Members
47,439
Latest member
shasuze

Latest Threads

Top