avoid recompile all programs embedded C

72 Views Asked by At

I am working on ERP solution that contains about 700 programs developed in embedded C language *.ec, the database (Postgres) has about 2000 db tables each table is designed as structure in its header file tableXX.h in order to simplify the use of all tables inside the ERP's programs. example tableXX.h

[dev]>cat tableXX.h
struct record_type_tablexx
{
  int field1;
  int field2;
  string field3[10];
  double field4;
  ...
  long filed60;
};

typedef struct record_type_tablexx TABLEXXTYP;
TABLEXXTYP tablexx;

The problem is: each time when the Consultants decide to change one table structure for any reason, I have to recompile all programs that are using that table, this process {Dev+test+(Prod update)} costs much effort.

I am asking who faced such problems up about a solution that minimize that effort regarding your experiences

0

There are 0 best solutions below