From: tome AT THEDEN DOT COM Message-Id: <199606131309.JAA03523@portal.dx.net> To: djgpp AT delorie DOT com Date: 13 Jun 1996 06:41:02 EDT Subject: Global functions I've been combining ansi-C source with AT&T syntax assembler source using the DJgpp compiler. My question is this: How can I combine my related sources, which share many functions between each other, into one object file with only the functions I specify being available to the linker for use with other object files. In other words, I have 2 functions that I want to be global for general use: initialize_serial_driver(char * buffer, int length) & string_from_com_port(char* buffer, length) but I have other functions that must be called between the C and assembler code that I don't want to be global after compilation. Could someone please point me in the general direction of some info on this or give me some assembler or C directives I should look at, maybe some gcc or ld command line options. Basically, what I need to do is combine some object files into one bigger object file, and I need to be able to specify which of the functions should be made available to the linker upon linking of this object file. Any and all help will be appreciated!! Thanks, TomE