Thread: [Dev-C++] Re: <no subject> / Cygwin + Dev = ?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Timo D. <tim...@we...> - 2003-12-16 16:41:09
|
Hi again I wanted to compile .c source to a .mi binary with external= makefile and cygwin... I tried what "Maya" supposed, but it didn`t work. I tried to= compile with my makefile and without, both aborted with errors. So what I did : I made changes like this : Tools --> Compiler Options --> Directories --> Binaries -->= c:\cygwin\bin Tools --> Compiler Options --> Directories --> Libraries -->= c:\cygwin\lib Tools --> Compiler Options --> Directories --> Includes -->= c:\cygwin\include Tools --> Compiler Options --> Directories --> C++ Includes= -->c:\cygwin\include Tools --> Compiler Options --> Directories --> C++ Includes= -->c:\cygwin\include\c++ Tools --> Compiler Options --> Directories --> C++ Includes= -->c:\cygwin\include\c++\3.3.1\backward Tools --> Compiler Options --> Directories --> C++ Includes= -->c:\cygwin\include\c++\3.3.1\i386-pc-cygwin After entering these settings, DevCpp automatically used the= Cygwin .exes in CompilerOptions->Programms (gcc.exe ...) //////////////////////////////////////////////////////////////// With my makefile in ProjectOptions->Makefile : Compiler: trimedia_dve2 Building Makefile:= "C:\Programme\dve-2\examples\vivo4work\Makefile.win" Finding dependencies for file:= C:\Programme\dve-2\examples\vivo4work\vivo_init.c Finding dependencies for file:= C:\Programme\dve-2\examples\vivo4work\vivo.c F=FChrt make... aus make.exe -f "C:\Programme\dve-2\examples\vivo4work\Makefile.win"= all gcc.exe -c vivo_init.c -o vivo_init.o -host nohost -el -O5= -DNO_DP -DL2_LOAD_ADDR=3D0x00000840 gcc: cannot specify -o with -c or -S and multiple compilations make.exe: *** [vivo_init.o] Error 1 Ausf=FChrung beendet /////////////////////////////////////////////////////////////////= Without my makefile in ProjectOptions->Makefile : Compiler: trimedia_dve2 Building Makefile:= "C:\Programme\dve-2\examples\vivo4work\Makefile.win" Finding dependencies for file:= C:\Programme\dve-2\examples\vivo4work\vivo_init.c Finding dependencies for file:= C:\Programme\dve-2\examples\vivo4work\vivo.c F=FChrt make... aus make.exe -f "C:\Programme\dve-2\examples\vivo4work\Makefile.win"= all gcc.exe -c vivo_init.c -o vivo_init.o= -I"C:/Programme/cygwin/usr/include" vivo_init.c:1:23: tmBoardID.h: No such file or directory vivo_init.c:4:23: tm1/tmIIC.h: No such file or directory vivo_init.c:5:25: tm1/tsaUart.h: No such file or directory vivo_init.c:6:25: tm1/tmBoard.h: No such file or directory vivo_init.c:7:22: tm1/mmio.h: No such file or directory vivo_init.c:8:23: tm1/tmXIO.h: No such file or directory vivo_init.c:9:27: tm1/tmXIOmmio.h: No such file or directory vivo_init.c:10:27: tm1/tmintPins.h: No such file or directory vivo_init.c:11:27: tmlib/dprintf.h: No such file or directory vivo_init.c:12:24: tm1/tmHelp.h: No such file or directory vivo_init.c:13:31: tm1/tmIntPinsmmio.h: No such file or= directory vivo_init.c:15:22: tm1/tmVI.h: No such file or directory vivo_init.c:16:22: tm1/tmVO.h: No such file or directory vivo_init.c:17:29: tm1/tmAvFormats.h: No such file or directory vivo_init.c:18:26: tm1/tmVImmio.h: No such file or directory vivo_init.c:19:26: tm1/tmVOmmio.h: No such file or directory vivo_init.c:20:28: tmlib/AppModel.h: No such file or directory vivo_init.c:21:29: tm1/tmProcessor.h: No such file or directory vivo_init.c:22:51: ops/custom_defs.h: No such file or directory vivo_init.c:23:23: MDS_DVE-2.h: No such file or directory vivo_init.c:50: error: parse error before "UInt32" vivo_init.c:50: warning: no semicolon at end of struct or union vivo_init.c:51: warning: data definition has no type or storage= class vivo_init.c:52: error: parse error before "V" vivo_init.c:52: warning: data definition has no type or storage= class vivo_init.c:53: error: parse error before "flag" vivo_init.c:53: warning: data definition has no type or storage= class vivo_init.c:54: warning: data definition has no type or storage= class vivo_init.c:56: error: parse error before "fullResBuf" vivo_init.c:56: warning: data definition has no type or storage= class vivo_init.c:57: error: parse error before "bkBuf" vivo_init.c:57: warning: data definition has no type or storage= class vivo_init.c:58: error: parse error before "genBuf" vivo_init.c:58: warning: data definition has no type or storage= class in ProjectOptions->Makefile ..... vivo_init.c:908: error: `UART_CONTROL_OFF' undeclared (first use= in this function) vivo_init.c: In function `vivoCheckArgcv': vivo_init.c:1016: error: `Int' undeclared (first use in this= function) vivo_init.c:1016: error: parse error before "mark" vivo_init.c:1021: error: `mark' undeclared (first use in this= function) vivo_init.c:1022: error: `vasNTSC' undeclared (first use in this= function) vivo_init.c:1028: error: `vasPAL' undeclared (first use in this= function) vivo_init.c:1035: error: `vaaCVBS' undeclared (first use in this= function) vivo_init.c:1041: error: `vaaSvideo' undeclared (first use in= this function) make.exe: *** [vivo_init.o] Error 1 Ausf=FChrung beendet /////////////////////////////////////////////////////////////////= ///// Any ideas what I could do? thx best wishes, Timo >Yes, there are things that you have to change: >Tools --> Compiler Options --> Directories --> Binaries -->= c:\cygwin\bin >Tools --> Compiler Options --> Directories --> Libraries -->= c:\cygwin\lib >Tools --> Compiler Options --> Directories --> Includes --> >c:\cygwin\include >Tools --> Compiler Options --> Directories --> C++ Includes >-->c:\cygwin\include >Tools --> Compiler Options --> Directories --> C++ Includes >-->c:\cygwin\include\c++ >Tools --> Compiler Options --> Directories --> C++ Includes >-->c:\cygwin\include\c++\3.2 >Tools --> Compiler Options --> Directories --> C++ Includes >-->c:\cygwin\include\c++\3.3.1 >Tools --> Compiler Options --> Directories --> C++ Includes >-->c:\cygwin\include\c++\3.3.1\backward >Tools --> Compiler Options --> Directories --> C++ Includes >-->c:\cygwin\include\c++\3.3.1\i386-pc-cygwin > >And remove all the references to Dev-Cpp MingWin, that's it! > >age...@co... wrote: > >>You can use Cygwin with Dev-C++. You simply have to download it= and switch compilers. You simply need to change a few options. I= have never done it, so cannot help you. Check the documentation= for mingw and cygwin for more info, and also the Dev-C++ info. >> >>-- >>~~Scott Simontis~~ >>Programmer >> >> >>>Hello >>> >>>This is my first post :) >>>I hope someone could help... >>> >>>I want to use DevCpp for a .c source with an external makefile= and external >>>headers and libraries. Furthermore, I don't want to build a= .exe but a .mi file. >>>That binary is supposed to run on a digital signal processor= and not on a pc. >>> >>>Up to now, I successfully used Cygwin to build this special= .mi. So I have that >>>makefile to do this. The makefile calls "tmcc.exe" which is a= special compiler >>>for trimedia devices. >>> >>>I installed DevCpp 4.9.8.0, created a new empty project and= added >>>(project->project options->makefile ) my external makefile to= the project. I >>>tried to compile the source and got a error : >>> >>>//////////////////////////////////////////////////////////////= /////// >>>Compiler: Default compiler >>>Building Makefile:= "C:\Programme\dve-2\examples\vivo4work\Makefile.win" >>>F=FChrt make... aus >>>make.exe -f= "C:\Programme\dve-2\examples\vivo4work\Makefile.win" all >>>gcc.exe -c vivo_init.c -o vivo_init.o -host nohost -el -O5= -DNO_DP >>>-DL2_LOAD_ADDR=3D0x00000840 >>> >>>gcc.exe: cannot specify -o with -c or -S and multiple= compilations >>> >>>make.exe: *** [vivo_init.o] Error 1 >>> >>>Ausf=FChrung beendet >>>//////////////////////////////////////////////////////////////= //////// >>> >>>Any ideas ? >>>best wishes, >>>Timo >>>______________________________________________________________= ________________ >>>WEB.DE FreeMail wird 5 Jahre jung! Feiern Sie mit uns und >>>nutzen Sie die neuen Funktionen= http://f.web.de/features/?mc=3D021130 >>> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: IBM Linux Tutorials. >>>Become an expert in LINUX or just sharpen your skills. Sign= up for IBM's >>>Free Linux Tutorials. Learn everything from the bash shell to= sys admin. >>>Click now! http://ads.osdn.com/?ad_id=1278&alloc_id371&op=0Cick >>>_______________________________________________ >>>Dev-cpp-users mailing list >>>Dev...@li... >>>TO UNSUBSCRIBE:= http://www23.brinkster.com/noicys/devcpp/ub.htm >>>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >>> >>> >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: IBM Linux Tutorials. >>Become an expert in LINUX or just sharpen your skills. Sign up= for IBM's >>Free Linux Tutorials. Learn everything from the bash shell to= sys admin. >>Click now!= http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick >>_______________________________________________ >>Dev-cpp-users mailing list >>Dev...@li... >>TO UNSUBSCRIBE:= http://www23.brinkster.com/noicys/devcpp/ub.htm >>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >> >> > >-- > >Jorge Escalante >FYI >http://www.astro.umd.edu/~marshall/abbrev.html > >E-Mail Policy >http://www.vif.com/users/escalante/Email_Policy.html > >* You cannot exercise your power to a point of humiliation. > - Jean Chretien > >* The media's the most powerful entity on earth. They have the > power to make the innocent guilty and to make the guilty > innocent, and that's power. > - Malcom X >* "Innocent until proven guilty", no... not in Canada!! > > > > >------------------------------------------------------- >This SF.net email is sponsored by: IBM Linux Tutorials. >Become an expert in LINUX or just sharpen your skills. Sign up= for IBM's >Free Linux Tutorials. Learn everything from the bash shell to= sys admin. >Click now!= http://ads.osdn.com/?ad_id=3D1278&alloc_id=3D3371&op=3Dclick >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |