It depends on the context. For example "generic" has one specific meaning of "not having a brand name" that general doesn't. So if you are describing a generic drug you are usually describing a drug that a private company developed but then other companies copied without using their brand. In that specific case "general" would not have the same meaning.