This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: (#pragma data-seg) equivalent in Linux ...!


comp sci wrote:
Right now Iam trying to port a windows
application onto Linux.But Iam struck with the
following implementation of windows specific
directives.How can I port this shared memory section
onto Linux ?


#pragma data_seg("SharedMem")
#pragma bss_seg("SharedMem")

char AppDesc[ MAX_PENCILS ][30];

#pragma data_seg()
#pragma bss_seg()
#pragma comment(linker, "/SECTION:SharedMem,rws")

Did you try a google search? Here's an example hit that looks related:


http://sources.redhat.com/ml/cygwin/1998-05/msg00599.html

- Dan


------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]