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] |
(The Linker command script file is attached FYR) Hi Everybody, I have configured gcc-2.95.2 on CYGWIN(WIN-NT Machine). My aim is to link few object files (create Load/Exe Image) using my "linker script". I am specifying < start address = 0x100000> in the section command as shown: SECTION { .text 0x100000 {.... } ... } The program doesn't executes, it says permission denied. Even if I remove "__image_base__ + __section_alignment__", the program doesn't executes, it says permission denied. The program only executes when I specify: SECTION { .text __image_base__ + __section_alignment__ : { .... } } which is in the default linker script of CYGWIN. The same is the case with ALIGN command. It takes ALIGN only as "ALIGN(__section_alignment__)". If I give some value for ALIGN the program doesn't executes, It says permission denied. Even if I remove "ALIGN(__section_alignment__)", the program doesn't executes, it says permission denied. QUERY: My question is how should I specify a different start address than the default one(__image_base__ + __section_alignment__). and different value of ALIGN(xxx). ## Similar kind of problem exists for Linker command script file for target->i386-pc-linux-gnu (OUTPUT_FORMAT - "elf32-i386") on CYGWIN. Thanks, Manoj -----Original Message----- From: Bertin, Philippe [mailto:philippe.bertin@barco.com] Sent: Monday, December 03, 2001 12:50 PM To: Manoj Verma Subject: RE: CYGWIN on windows-2000 for target ARM & SH3 and OS-uITRON Manoj, You can see how you have built in the file 'config.status' (of your 3 build- directories, being binutils-xxxx, gcc-yyyy and newlib-zzzz however you've called them), if you have any doubt ... Regards, Philippe Bertin. > -----Original Message----- > From: Manoj Verma [SMTP:manojv@noida.hcltech.com] > Sent: zondag 2 december 2001 8:41 > To: Yeong Jiun How; Quality Quorum; Paul Doherty > Cc: crossgcc@sources.redhat.com > Subject: RE: CYGWIN on windows-2000 for target ARM & SH3 and > OS-uITRON > > Hi everyone, > can any one please look into this... > Thanks > > -----Original Message----- > From: Manoj Verma > Sent: Thursday, November 29, 2001 10:19 AM > To: Yeong Jiun How; Quality Quorum; Paul Doherty > Cc: crossgcc@sources.redhat.com > Subject: CYGWIN on windows-2000 for target ARM & SH3 and OS-uITRON > > > Hi, > I have configured CYGWIN on windows-2000 for target ARM & SH3. The OS > running on these processors is uITRON(Micro ITRON). While building the > cross > gcc(2.95.2) for ARM/SH3, it didn't ask for any ARM/SH3 or uITRON dependent > file. So I am not sure whether I have build the GCC correctly or not. > (I did the same thing on SUN-Solaris, it did asked me about OS dependend > file, for which I included "sys-include" directory in the $TARGET) > > So can any one please tell me if there is some thing wrong in installing > or > I have to do something more to it. > > FYI the steps I folloed was: > 1) configured, build and installed binutils(2.11.2) > 2) configured, build and installed GCC(2.95.2) > 3) configured, build and installed Newlib(1.8.2) > > Thanks > > > > -----Original Message----- > From: Yeong Jiun How [mailto:yeongjh@cwc.nus.edu.sg] > Sent: Thursday, November 29, 2001 7:47 AM > To: Quality Quorum; Paul Doherty > Cc: crossgcc@sources.redhat.com > Subject: Re: ARM tool chain & other questions... > > > > > > The final question... How stable is the GCC cross compiler when it's > been > > > run on a windows machine under cygwin? Has many people developed major > > > projects on it. How did you find it. It looks stable to me but the > longest C > > > program i wrote so far using this configuration was 40 lines and it > was > all > > > completed in one evening. What's the story if it's been used for a > couple of > > > weeks or a month or two?? > > > >Use linux, you will save a lot of blood and tears vs windows/cygwin. > > Hi, > > We have been using cygwin on Windows NT 4 for a year now and > we do not have any problem at all! There are many helpful people > especially in this mailing list to provide good suggestion to speed > up and to ease the setup of cygwin too! > > Thanks for the support all the time! > > Yeong > > > ------ > Want more information? See the CrossGCC FAQ, > http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to > crossgcc-unsubscribe@sourceware.cygnus.com > > ------ > Want more information? See the CrossGCC FAQ, > http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to > crossgcc-unsubscribe@sourceware.cygnus.com > > ------ > Want more information? See the CrossGCC FAQ, > http://www.objsw.com/CrossGCC/ > Want to unsubscribe? Send a note to > crossgcc-unsubscribe@sourceware.cygnus.com ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Attachment:
i386pe.x
Description: Binary data
------ 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] |