This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

project porting troubles!


Dear Cross Gcc users,

I'm trying to port a project from this environment:

  - HP commercial cross compiler for m68000
      running on an old HP-workstation

to this environment:

  - EGCS 1.1.2 cross compiler for m68000 (already compiled)
      running on Sun solaris 2.6 workstation

In the old project I needed to align an array as long word.
It was simple to use the following instructions:

#pragma SECTION CONST=my_Data
const unsigned char my_Array[344537] = 
{
	0xff,
	0xff,
	0x62,
	0xff,
        ...
}

to set the section name for 'my_Array' to 'My_Data'
and than at linking time instruct the linker to align the section
my_Data as long word.

Is it possible to do something similar with EGCS?

Thanks.

Luca MANAI.

--
  Luca Manai       mailto:Luca.Manai@netit.alcatel.it

  ALCATEL Italia    -    Transmission System Division
  Via Trento, 30    -    20059 Vimercate (MI) - Italy
  Tel: (+39) 039 686.9181  -  Fax: (+39) 039 686.3590

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


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