Re: gcc q

2010-08-23 Thread Ori Idan
avr-gcc linker, links a file named crts.o before main, this file calls the main function in your program. You need the sources for avr-libc to get the sources for these files. The actual file depends on the target used (determined by the option -mmcu=) These files are written in AVR assembly wh

Re: gcc q

2010-08-23 Thread Shachar Shemesh
Erez D wrote: Okay. I'm going to assume that you are writing code that is meant to run directly on the hardware, no external OS. Also, I'm assuming you have a means to actually load that code into the CPU's address space (nor flash, loader, etc.) correct If those assumpt

Re: official way to load aoe module?

2010-08-23 Thread Amos Shapira
On 23 August 2010 14:47, Etzion Bar-Noy wrote: > Adding LUNs does not require a reboot. Removing ones do. However, if you > let the cluster software manage all disk mount operations, as it should, > multiple-mounts will never happen, so no need for any special masking, but > only letting the clus

Re: gcc q

2010-08-23 Thread Erez D
On Mon, Aug 23, 2010 at 10:44 AM, Shachar Shemesh wrote: > Erez D wrote: > > > > Is that before or instead of the usual initializations? >> > before. > i just want to run a hardware registers initialization function. > > > Okay. I'm going to assume that you are writing code that is meant to run

Re: linux system that does not use the console except in TEXT mode.

2010-08-23 Thread shimi
On Mon, Aug 23, 2010 at 10:55 AM, shimi wrote: > > > On Mon, Aug 23, 2010 at 10:43 AM, geoffrey mendelson < > geoffreymendel...@gmail.com> wrote: > >> >> On Aug 23, 2010, at 10:40 AM, shimi wrote: >> >> >>> >>> I think most distro's have 'nox' and/or 'nofb' or equivalent... >>> >>> >> Thanks, I'

Re: linux system that does not use the console except in TEXT mode.

2010-08-23 Thread shimi
On Mon, Aug 23, 2010 at 10:43 AM, geoffrey mendelson < geoffreymendel...@gmail.com> wrote: > > On Aug 23, 2010, at 10:40 AM, shimi wrote: > > >> >> I think most distro's have 'nox' and/or 'nofb' or equivalent... >> >> > Thanks, I'll try the nofb option, but there is no X installed on the > comput

Re: linux system that does not use the console except in TEXT mode.

2010-08-23 Thread Shachar Shemesh
Omer Zak wrote: On Mon, 2010-08-23 at 10:18 +0300, geoffrey mendelson wrote: When I tried to install UBUNTU 10.04, which I did because I have 2 other UBUNTU systems and don't want to hassle with something else, including the alternate (text installer), or server (text only) versions, it

Re: gcc q

2010-08-23 Thread Shachar Shemesh
Erez D wrote: Is that before or instead of the usual initializations? before. i just want to run a hardware registers initialization function. Okay. I'm going to assume that you are writing code that is meant to run directly on the hardware, no external OS. Also, I'm assuming you have a

Re: linux system that does not use the console except in TEXT mode.

2010-08-23 Thread geoffrey mendelson
On Aug 23, 2010, at 10:40 AM, shimi wrote: I think most distro's have 'nox' and/or 'nofb' or equivalent... Thanks, I'll try the nofb option, but there is no X installed on the computer. At first I thought that I could have it installed but not started so I could use Xvnc, and renamed

Re: linux system that does not use the console except in TEXT mode.

2010-08-23 Thread shimi
On Mon, Aug 23, 2010 at 10:18 AM, geoffrey mendelson < geoffreymendel...@gmail.com> wrote: > I have a computer with a bad graphics processor on the motherboard. It > boots fine in text mode, and I can install Windows XP on it. As long as it > stays in VGA or text mode, and does not access the grap

Re: linux system that does not use the console except in TEXT mode.

2010-08-23 Thread Omer Zak
On Mon, 2010-08-23 at 10:18 +0300, geoffrey mendelson wrote: > When I tried to install UBUNTU 10.04, which I did because I have 2 > other UBUNTU systems and don't want to hassle with something else, > including the alternate (text installer), or server (text only) > versions, it installs fine

Re: gcc q

2010-08-23 Thread Erez D
On Mon, Aug 23, 2010 at 10:00 AM, Shachar Shemesh wrote: > Erez D wrote: > > hi > > I am using gcc (actually avr-gcc) to compile some code for an AVR processor > (AT32UC3L064). > The code generated does a lot of things before entering main() > There is some code i want it to do first - immediatly

linux system that does not use the console except in TEXT mode.

2010-08-23 Thread geoffrey mendelson
I have a computer with a bad graphics processor on the motherboard. It boots fine in text mode, and I can install Windows XP on it. As long as it stays in VGA or text mode, and does not access the graphics processor, it runs fine. It's a nice little machine, relatively fast and small. Perfe

Re: gcc q

2010-08-23 Thread Shachar Shemesh
Erez D wrote: hi I am using gcc (actually avr-gcc) to compile some code for an AVR processor (AT32UC3L064). The code generated does a lot of things before entering main() There is some code i want it to do first - immediatly after powerup, before all other initializations. Is that before or