En réponse à David McPaul <dmcpaul@xxxxxxxxxxxxxx>: > > > extern _IMPEXP_BE BApplication *be_app; > > > and I just have no idea about the meaning of the _IMPEXP_BE. > > > > > it used to be defined to some metrowerks specific pragmas to either > > tell > > the symbol will be EXported (when building libBE), or IMPorted > > (from libBE). > > With gcc, just #defineing it should be enough. > > Is there a way to get this behaviour with GCC. ie only exporting > symbols that you want exported? > > Cheers > David I think so. Read The Fine Manuals section on http://gcc.gnu.org/ François.