A prototype of a general purpose FEM code with a frontal solver is developed. The basic requirements for general purpose FEM codes - expandability, efficiency, portability and user convenience are taken into account. Particularly, macro programming language and library structures for elements and materials are introduced for expandability and free format input data system is developed for user convenience. Moreover use is made of a frontal solver that is equipped with an efficient element renumbering, longevity consideration and dynamic allotment of frontal variables.