Title: | C++ |
Notice: | Read 1.* and use keywords (e.g. SHOW KEY/FULL KIT_CXX_VAX_VMS) |
Moderator: | DECCXX::AMARTIN |
Created: | Fri Nov 06 1987 |
Last Modified: | Thu Jun 05 1997 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3604 |
Total number of notes: | 18242 |
Hi, In a C++ file, I want to access to a symbol defined in an assembler file with the '.glob' directive. If I import the symbol with the 'extern' directive, I don't know the type of the symbol, so problem occurs... Perhaps a pragma exists to do this, or any idea... Thanks, Yves.
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3568.1 | DECCXL::OUELLETTE | mudseason into blackfly season | Tue May 13 1997 15:19 | 6 | |
What type would you like to access the symbol as? If you want to fetch, say, a four byte integer, "extern int symbol;" would be the right thing to do. Could you post the relavent lines of the .s file? Also your proposed access from C++ would be useful to know. Roland. |