Search Results

Search: Posts Made By: gjbanton
1,836
Posted By gjbanton
Unfortunately this is not the option for me....
Unfortunately this is not the option for me. Preprocessing option is not feasible due to cross-compilation and modular build, hence I have to resort to scripting.
1,836
Posted By gjbanton
Sed question
Hi All,

Let's say I have a C file such as follows:

#include <stdio.h>

#if DEFINED
#define EFG 1
int foo()
{
return 0;
}

// comment here
/* comment here */
#elif _NOT_DEFINED...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 10:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy