|
From: Brian P. <br...@sg...> - 2002-06-11 15:02:56
|
You need to edit the file: c:/djgpp/lib/gcc-lib/djgpp/3.1/djgpp.ver and remove the line that says to include sys/version.h. That will fix this problem. Brian > -----Original Message----- > From: rea...@li... [mailto:reactos-kernel- > ad...@li...] On Behalf Of Joseph Galbraith > Sent: Tuesday, June 11, 2002 7:32 AM > To: rea...@li... > Subject: Re: [ros-kernel] Freeldr not working > > gcc --version gives me: > > C:\Users\galb\reactos\freeldr>gcc --version > gcc.exe (GCC) 3.1 > > To get djgcc I followed the link off of reactos.com. > > freeldr make give me: > > C:\Users\galb\reactos\freeldr\freeldr>make > Calculating source file dependencies... > ===================================================== Assembling arch > In file included from <command line>:1: > c:/djgpp/lib/gcc-lib/djgpp/3.1/djgpp.ver:1:25: sys/version.h: No such file > or directory (ENOENT) > make.exe[1]: *** [arch.o] Error 1 > make.exe: *** [CHANGE_TO_TARGET] Error 2 > > Once I remove the -nostdinc it builds fine. > > - Joseph > > ----- Original Message ----- > From: "Brian Palmer" <br...@sg...> > To: <rea...@li...> > Sent: Monday, June 10, 2002 22:04 > Subject: RE: [ros-kernel] Freeldr not working > > > > What error did it give you? And what version of DJGPP gcc are you using? > > > > Brian > > > > > -----Original Message----- > > > From: rea...@li... > > [mailto:reactos-kernel- > > > ad...@li...] On Behalf Of Joseph Galbraith > > > Sent: Monday, June 10, 2002 9:29 PM > > > To: rea...@li... > > > Subject: Re: [ros-kernel] Freeldr not working > > > > > > I had to remove the -nostdinc from the makefile in > > > the freeldr directory to get it to build with djgpp. > > > > > > I haven't tested it yet (still have to figure out > > > how to load it onto the floppy image for bochs), > > > but with the -nostdinc CFLAG, it crumbled building > > > arch. > > > > > > - Joseph > > > > > > ----- Original Message ----- > > > From: "Brian Palmer" <br...@sg...> > > > To: <rea...@li...> > > > Sent: Monday, June 10, 2002 7:33 PM > > > Subject: RE: [ros-kernel] Freeldr not working > > > > > > > > > > When was the last time you tried DJGPP? I have done some work on the > > > > makefiles recently. MinGW generates correct code, but somehow during > > the > > > > linking it screws something up. > > > > > > > > Brian > > > > > > > > > -----Original Message----- > > > > > From: rea...@li... > > > > [mailto:reactos-kernel- > > > > > ad...@li...] On Behalf Of Eric Kohl > > > > > Sent: Monday, June 10, 2002 9:13 AM > > > > > To: rea...@li... > > > > > Subject: Re: [ros-kernel] Freeldr not working > > > > > > > > > > > > > > > "Brian Palmer" <br...@sg...> wrote: > > > > > > > > > > > > > > > > MinGW does not generate a valid executable. I have to use DJGPP > > to > > > > > > compile it. If you are using MinGW then that is a definitely a > > > > problem. > > > > > > Try compiling with DJGPP. Eric, are you also using MinGW? > > > > > > > > > > Yes, I'm using MinGW because DJGPP doesn't like the freeloader > > > > makefiles. > > > > > > > > > > Eric > > > > > > > > > > > > > > > _______________________________________________________________ > > > > > > > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > > > > August 25-28 in Las Vegas - > > > > > http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > > > > > > > > > _______________________________________________ > > > > > reactos-kernel mailing list > > > > > rea...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/reactos-kernel > > > > > > > > > > > > _______________________________________________________________ > > > > > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > > > August 25-28 in Las Vegas - > > > http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > > > > > > > _______________________________________________ > > > > reactos-kernel mailing list > > > > rea...@li... > > > > https://lists.sourceforge.net/lists/listinfo/reactos-kernel > > > > > > > > > > > > > > > > > > > > _______________________________________________________________ > > > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > > August 25-28 in Las Vegas - > > > http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > > > > > _______________________________________________ > > > reactos-kernel mailing list > > > rea...@li... > > > https://lists.sourceforge.net/lists/listinfo/reactos-kernel > > > > > > _______________________________________________________________ > > > > Don't miss the 2002 Sprint PCS Application Developer's Conference > > August 25-28 in Las Vegas - > http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > > > _______________________________________________ > > reactos-kernel mailing list > > rea...@li... > > https://lists.sourceforge.net/lists/listinfo/reactos-kernel > > > > > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas - > http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink > > _______________________________________________ > reactos-kernel mailing list > rea...@li... > https://lists.sourceforge.net/lists/listinfo/reactos-kernel |