|
-
December 4th, 2002, 11:58 PM
#1
Does any one know how to
does anyone know how to
I am familiar with g++ the unix/linux gnu compiler, But I am on a windows box right now and only have a command line borland compiler c++. I have an object file and a source file and need to create an executable. In order to this g++ I believe I would first run a preprocess on the .cpp file which would create 'standard code' I think the term is, then I would run a compiler on the 'standard code' this would create assembly code, next I could run an assembler on the assembly code this would create object code. So then finally I could run a linker on the new object code as well as the original object. This would create an executable.
Using borland I found
CPP32.EXE is the preprocessor
and
ILINK32.EXE is the linker
but I don't see a compiler or assembler...
How does Borland go about going from 'standard code' from the preprocessor to object code????
Any help would be greatly appreciated
-
December 5th, 2002, 07:16 AM
#2
You need to read Borland's documentation. Usually, you just
invoke the compiler on the source file and an object file is created.
A lot of times, you have to specify a specific option so that you
can name the output. Every compiler is different and I'm sure
Borland documents what their compiler's behavior is.
--Paul
-
December 5th, 2002, 08:18 PM
#3
On my machine its bcc32.exe.
I think my version is 5.X
Vinod
-
December 5th, 2002, 11:43 PM
#4
Re: Does any one know how to
Originally posted by no0ne
does anyone know how to
I am familiar with g++ the unix/linux gnu compiler, But I am on a windows box right now and only have a command line borland compiler c++. I have an object file and a source file and need to create an executable. In order to this g++ I believe I would first run a preprocess on the .cpp file which would create 'standard code' I think the term is, then I would run a compiler on the 'standard code' this would create assembly code, next I could run an assembler on the assembly code this would create object code. So then finally I could run a linker on the new object code as well as the original object. This would create an executable.
Using borland I found
CPP32.EXE is the preprocessor
and
ILINK32.EXE is the linker
but I don't see a compiler or assembler...
How does Borland go about going from 'standard code' from the preprocessor to object code????
Any help would be greatly appreciated
Your compiler comes with no documentation?
Regards,
Paul McKenzie
-
December 9th, 2002, 03:17 AM
#5
look for 'bccXX.exe' were XX is nothing or a number and LINK.EXE
this must be enough
bccXX "sources"
link "obj files"
It's only when you look at an ant through a magnifying glass on a sunny day that you realise how often they burst into flames
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|