Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9037457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T09:15:01+00:00 2026-06-16T09:15:01+00:00

Possible Duplicate: C/C++ source file after preprocessing I am looking to generate all of

  • 0

Possible Duplicate:
C/C++ source file after preprocessing

I am looking to generate all of the pre-processed c code for an application, in this case apache. I downloaded the source code for Apache, and have been running the following command “gcc -c -save-temps *.c” and have tried /.c. When running either of these commands, I get numerous errors, some of which include:

server/core.c:17:17: fatal error: apr.h: No such file or directory
compilation terminated.
server/core_filters.c:22:17: fatal error: apr.h: No such file or directory
compilation terminated.
server/eoc_bucket.c:17:19: fatal error: httpd.h: No such file or directory
compilation terminated.

I am fairly certain the program SHOULD compile correctly since it came right from the Apache website. What should I be doing in order to generate the necessary pre-processed c code. Should I be using the makefile somehow?

The application I am attempting to analyze the source code with which requires the pre-processed c code can found here

Thank you for your help everyone.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T09:15:02+00:00Added an answer on June 16, 2026 at 9:15 am

    (So, just to repeat myself by repeating others who repeat me…)

    gcc -c produces object code. If you want the preprocessor to be invoked, use gcc -E.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: C/C++ source file after preprocessing The other day, I was assigned a
Possible Duplicate: No such file iostream.h when including Even after naming the source file
Possible Duplicate: C# 4.0 unlock image after creating BitmapImage I have this code to
Possible Duplicate: Android: Getting source code from an APK file Is it possible for
Possible Duplicate: Source code for java array There is a Java source file for
Possible Duplicate: iPhone - file properties Hi all. i m creating an application which
Possible Duplicate: How to protect my source code when deployed? Can you give me
Possible duplicate What is the best open source example of a lightweight Windows Application?
Possible Duplicate: git - removing a file from source control (but not from the
Possible Duplicate: Create a file in /system directory First of all, i gave the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.