dev-cpp-users Mailing List for Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
1
(8) |
2
(14) |
3
(7) |
4
(23) |
5
(6) |
6
(1) |
|
7
(5) |
8
(4) |
9
(1) |
10
(9) |
11
(23) |
12
(28) |
13
(21) |
|
14
(1) |
15
(6) |
16
(2) |
17
(8) |
18
(11) |
19
(17) |
20
(11) |
|
21
(12) |
22
(17) |
23
(7) |
24
(5) |
25
(7) |
26
(4) |
27
(9) |
|
28
(13) |
29
(31) |
30
(9) |
31
(7) |
|
|
|
|
From: RUDOLPH B. <ku...@sp...> - 2003-12-29 23:15:21
|
Hello William,
There are two points to be made but, please consider my two forms:
// stdmain.cpp
/* this will complie but To disable this warning use -Wno-deprecated
otherwise ok for Learning pactice.
*/
#include<iostream.h>
#include<stdlib.h> //system()
void main()
{
cout<<"Hello Dolly\n"; system("pause") ;
return; // Main is not expecting
//anything but still have to return control to OS !
}
// stdmain.cpp
#include<iostream>
#include<cstdlib.h> // All standard C libraries are presented with 'c'
//inserted for compatabillities !!
using namespace std; // to qualified ( standard C++ libraries files only).
int main()
{
cout<<"Hello Dolly\n";
system("pause") ;
return 0; // Main is not expecting
//anything but return value of 0 to OS !
}
A good C&C++ complier is ISO standard. cut & paste it and try.
I hope this have help you. I heard that < cprogramming.com >is a good
resource website.
Regards
Rudolph
----- Original Message -----
From: "William W Cridland" <wa...@ju...>
To: <dev...@li...>
Sent: Monday, December 29, 2003 9:16 PM
Subject: [Dev-C++] re+ Public Domain C++ IDE
|
|
From: RUDOLPH B. <ku...@sp...> - 2003-12-29 22:06:16
|
Hello William,
There are two points to be made but, please consider my two forms:
// stdmain.cpp
/* this will complie but To disable this warning use -Wno-deprecated
otherwise ok for Learning pactice.
*/
#include<iostream.h>
#include<stdlib.h> //system()
void main()
{
cout<<"Hello Dolly\n"; system("pause") ;
return; // Main is not expecting
//anything but still have to return control to OS !
}
// stdmain.cpp
#include<iostream>
#include<cstdlib.h> // All standard C libraries are presented with 'c'
//inserted for compatabillities !!
using namespace std; // to qualified ( standard C++ libraries files only).
int main()
{
cout<<"Hello Dolly\n";
system("pause") ;
return 0; // Main is not expecting
//anything but return value of 0 to OS !
}
A good C&C++ complier is ISO standard. cut & paste it and try.
I hope this have help you. I heard that < cprogramming.com >is a good
resource website.
Regards
Rudolph
----- Original Message -----
From: "William W Cridland" <wa...@ju...>
To: <dev...@li...>
Sent: Monday, December 29, 2003 9:16 PM
Subject: [Dev-C++] re+ Public Domain C++ IDE
> I have downloaded your C++ IDE 1991 and looks great . However after
> having taught C++ for the past 6 years . All the simple code I input to
> your IDE seems to fail with notes such as antiquated etc etc. Code is as
> follows you cannot get more simple than this.
>
>
> #include<iostream.h>
>
> void main()
>
> {
> cout<<"Hello Dolly\n";
>
> // you dont need a return at this
> level of code, also
> // Main is not expecting anything
> back !
> }
> Would apreciate any help advice or perhaps you could steer me to a
> tutorial which would elaborat or give examples that work with your
> compiler !!. Regards
> Bill Cridland WA1HMW Bolton MA
>
>
>
> -------------------------------------------------------
> 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_id=3371&op=click
> _______________________________________________
|
|
From: * W. <wi...@fu...> - 2003-12-29 20:14:52
|
Hi all ::
Trivial defence ... I recall several months !! Dealing with this on the =
Microsoft compiler at transition time circa. 1997 and '98.
I much prefer the "\backward" folder stuff that gcc(?) or is it a DEV =
CPP factor -- Use.
I had several project managers dumping on me for "risking' everything -- =
Mind you we delivered on time, etc, etc. (Because we allowed for the =
'pain').
Enjoy someone's forward thinking of the compiler set-up. It will save =
you money !
Good show folks.
Happy 2004 .... Will.
----- Original Message -----=20
From: P.D. van Zelst=20
To: 'William W Cridland' ; dev...@li...=20
Sent: Tuesday, December 30, 2003 6:22 AM
Subject: RE: [Dev-C++] re+ Public Domain C++ IDE
The C++ you're using is pre-standard C++. In 1998 a C++ standard was
finalized and became official, which altered a few things you might be =
used
to. For instance, namespaces have been added, and are now enforced by =
most
compilers. The standard C++ library functions, types and objects are =
now
stored inside a namespace called "std". "void main" has never been =
standard
C or C++, and thus has always been wrong. The newer versions of GCC =
simply
don't accept it anymore. Furthermore, the standard C++ library header =
files
are now extensionless, to avoid confusion with standard C library =
header
files.
So, applying all these changes, here is what your code should look =
like now:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello Dolly\n";
return 0;
}
Hope this helped.
Regards,
Paul
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of =
William W
Cridland
Sent: Monday, December 29, 2003 10:16 PM
To: dev...@li...
Subject: [Dev-C++] re+ Public Domain C++ IDE
I have downloaded your C++ IDE 1991 and looks great . However after
having taught C++ for the past 6 years . All the simple code I input =
to
your IDE seems to fail with notes such as antiquated etc etc. Code is =
as
follows you cannot get more simple than this.
=20
=
#include<iostream.h>
void main()
{
cout<<"Hello Dolly\n";
=20
// you dont need a return at this
level of code, also
// Main is not expecting anything
back !
}
Would apreciate any help advice or perhaps you could steer me to a
tutorial which would elaborat or give examples that work with your
compiler !!. Regards
Bill Cridland WA1HMW Bolton MA
-------------------------------------------------------
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
-------------------------------------------------------
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
|
|
From: Daniel G. <sp...@ho...> - 2003-12-29 19:40:47
|
Can you give us some examples of these error messages? What happens if you
do an even more simple piece of code (without the iostream library) such as
int main(int argc, char** argv)
{
int SmlNumber = 5;
int BigNumber = 50;
int TempNumber;
TempNumber = SmlNumber + BigNumber;
return TempNumber;
}
Also I do hope you are not teaching students to use depreciated styles of
coding (the .h extention for example).
>From: William W Cridland <wa...@ju...>
>To: dev...@li...
>Subject: [Dev-C++] re+ Public Domain C++ IDE
>Date: Mon, 29 Dec 2003 13:16:08 -0800
>
>I have downloaded your C++ IDE 1991 and looks great . However after
>having taught C++ for the past 6 years . All the simple code I input to
>your IDE seems to fail with notes such as antiquated etc etc. Code is as
>follows you cannot get more simple than this.
>
>
> #include<iostream.h>
>
> void main()
>
> {
> cout<<"Hello Dolly\n";
>
> // you dont need a return at this
>level of code, also
> // Main is not expecting anything
>back !
> }
> Would apreciate any help advice or perhaps you could steer me to a
>tutorial which would elaborat or give examples that work with your
>compiler !!. Regards
>Bill Cridland WA1HMW Bolton MA
>
>
>
>-------------------------------------------------------
>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_id=3371&op=click
>_______________________________________________
>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
_________________________________________________________________
Sign-up for a FREE BT Broadband connection today!
http://www.msn.co.uk/specials/btbroadband
|
|
From: Tim S. <ti...@we...> - 2003-12-29 19:26:06
|
Hi Michal, you wrote: > the devpak repository project is opened > at http://molhanec.net/devpaks/. Great work. But I think there should be some limitation in creating new categories. First they should be general, like 3d Graphics, Multimediaplatfrom or Framesets. Second not everyone should be allowed to create new categories, maybe only a 'moderator' can create new, if there are in one category too much devpacks of the same kind. So far so _very_ good. > It tries to be repository of links > to devpaks, so go and add your devpaks > there :-). Maybe the project could be moved to a opensource platform like http://www.berlios.de/index.php.en or http://savannah.nongnu.org/. Then all the DevPacks could be hosted on these pages without any bandwidthproblems. so long Tim |
|
From: P.D. v. Z. <pa...@my...> - 2003-12-29 19:19:47
|
The C++ you're using is pre-standard C++. In 1998 a C++ standard was
finalized and became official, which altered a few things you might be used
to. For instance, namespaces have been added, and are now enforced by most
compilers. The standard C++ library functions, types and objects are now
stored inside a namespace called "std". "void main" has never been standard
C or C++, and thus has always been wrong. The newer versions of GCC simply
don't accept it anymore. Furthermore, the standard C++ library header files
are now extensionless, to avoid confusion with standard C library header
files.
So, applying all these changes, here is what your code should look like now:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello Dolly\n";
return 0;
}
Hope this helped.
Regards,
Paul
-----Original Message-----
From: dev...@li...
[mailto:dev...@li...] On Behalf Of William W
Cridland
Sent: Monday, December 29, 2003 10:16 PM
To: dev...@li...
Subject: [Dev-C++] re+ Public Domain C++ IDE
I have downloaded your C++ IDE 1991 and looks great . However after
having taught C++ for the past 6 years . All the simple code I input to
your IDE seems to fail with notes such as antiquated etc etc. Code is as
follows you cannot get more simple than this.
#include<iostream.h>
void main()
{
cout<<"Hello Dolly\n";
// you dont need a return at this
level of code, also
// Main is not expecting anything
back !
}
Would apreciate any help advice or perhaps you could steer me to a
tutorial which would elaborat or give examples that work with your
compiler !!. Regards
Bill Cridland WA1HMW Bolton MA
-------------------------------------------------------
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_id=3371&op=click
_______________________________________________
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
|
|
From: Ferdinando F. <s2...@st...> - 2003-12-29 19:03:27
|
It's a common problem: the C++ standard is changed and so your program, as
most of those learned by students, is incorrect. The actual C++ standard
library, as described in Stroustrup 3rd edition, has the following
form for an hello-world program:
#include <iostream>
int main() {
std::cout << "Hello world!" << std::endl;
}
The old library is still present, but in a backward compatibility
directory that is not guaranteed to be supported in future.
Bye, Ferdinando
|
|
From: William W C. <wa...@ju...> - 2003-12-29 18:16:51
|
I have downloaded your C++ IDE 1991 and looks great . However after
having taught C++ for the past 6 years . All the simple code I input to
your IDE seems to fail with notes such as antiquated etc etc. Code is as
follows you cannot get more simple than this.
#include<iostream.h>
void main()
{
cout<<"Hello Dolly\n";
// you dont need a return at this
level of code, also
// Main is not expecting anything
back !
}
Would apreciate any help advice or perhaps you could steer me to a
tutorial which would elaborat or give examples that work with your
compiler !!. Regards
Bill Cridland WA1HMW Bolton MA
|
|
From: Michal M. <mi...@mo...> - 2003-12-29 18:00:18
|
Hello all, the devpak repository project is opened at http://molhanec.net/devpaks/ . It tries to be repository of links to devpaks, so go and add your devpaks there :-). Michal |
|
From: jo m. <non...@ho...> - 2003-12-29 17:38:58
|
hello. I've been using McAfee with vShield activated on my W98se, on my old pentium II - 350Mh, 64MB RAM, and no problem at all when compiling. (Although, for better performace, I had unselected to scan "outbound files" in system scaning properties). bye. >From: "Tom Craig" <jat...@gm...> >To: <dev...@li...> >Subject: Re: [Dev-C++] MAJOR bug >Date: Sat, 27 Dec 2003 18:08:42 -0000 > >Are you running an anti-virus program? I had to disable Norton when >compiling or the entire system would crash. I've since changed to McAfee >and >have to disable that too, or my floppy drive is repeatedly scanned for a >disk. I too am using WinME. > _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail |
|
From: Daniel K. O. <dan...@ya...> - 2003-12-29 14:34:16
|
P.T. Waugh MA wrote: > What should I be modifying to allow me to save output files to a > sub-directory, but without mandating the extension so that the > compiler will use the appropriate .s or .o as required. Try using -save-temps then. Daniel K. O. |
|
From: P.T. W. M. <pt...@ea...> - 2003-12-29 14:10:24
|
Found this stuff on the GNU site, actually had it all along. Patrick At 20:35 28-12-03, P.T. Waugh MA wrote: >Not really, I have GSView as well. Does nothing more than what Distiller >will do. What I require is documentation in a different format than .ps >or .pdf, ie. text. > >Patrick > > >At 18:40 28-12-03, Nathan Smith wrote: >>Ghostviw or something should be useful. I have no idea what platforms >>but I'm guessing most. >>----- Original Message ----- >>From: "P.T. Waugh MA" <pt...@ea...> >>To: <dev...@li...> >>Sent: Monday, December 29, 2003 12:26 PM >>Subject: [Dev-C++] gcc docs in other than ps >> >> >> > Hi, >> > >> > I downloaded the gcc docs, but they are in PS formated on A4. >> > >> > I used Acrobat's Distiller to convert them to .pdf, but the text is >>barely >> > readable, and since it is in A4 format, I cannot easily print it. >> > >> > I'm looking for the docs in some other format so that I might be >>able to >> > better manipulate them into the form I need to be able to read it. >> > >> > Where might I find some other format? I have a FreeBSD machine at >>my >> > disposal as well. >> > >> > Thanks, Patrick >> > >> > >> > >> > ------------------------------------------------------- >> > 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_id=3371&op=click >> > _______________________________________________ >> > 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=1278&alloc_id=3371&op=click >>_______________________________________________ >>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=1278&alloc_id=3371&op=click >_______________________________________________ >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 |
|
From: P.T. W. M. <pt...@ea...> - 2003-12-29 13:37:41
|
Forget these errors. I determined the problem I was having there were do to specifying -std=gnu99. Still when using the -S compiler option it mandates that the file have the .o extension which is a pain. I'd rather have a .s file created so it is persistent, and now think the only way to do this is to manually setup a dependency and rule. Patrick At 04:58 29-12-03, P.T. Waugh MA wrote: >Using this hand modified makefile: > >CPP = g++.exe >CC = mingw32-gcc.exe >WINDRES = windres.exe >RES = X01_private.res >OBJ = object/main.o $(RES) >LINKOBJ = source/main.o $(RES) >LIBS = -L"C:/bin/cpp/lib" -mwindows >INCS = -I"C:/bin/cpp/include" >CXXINCS = -I"C:/bin/cpp/include/c++" -I"C:/bin/cpp/include/c++/mingw32" >-I"C:/bin/cpp/include/c++/backward" -I"C:/bin/cpp/include" >BIN = exe/X01.exe >CXXFLAGS = $(CXXINCS) -std=gnu99 >CFLAGS = $(INCS) -std=gnu99 > >.PHONY: all all-before all-after clean clean-custom > >all: all-before exe/X01.exe all-after > > >clean: clean-custom > rm -f $(OBJ) $(BIN) > >$(BIN): $(LINKOBJ) > $(CPP) $(LINKOBJ) -o "exe\X01.exe" $(LIBS) > >object/main.s: source/main.cpp > $(CPP) -c source/main.cpp -S $(CXXFLAGS) > >X01_private.res: X01_private.rc > $(WINDRES) -i X01_private.rc -I rc -o X01_private.res -O coff > >on the simple attached (automatically generated app) main.cpp where I >completely removed the main.o lines and inserted a rule to make the asm >source yields this console output: > >C:\Documents and Settings\patrick\My Documents\Shop>make >g++ -I"C:/bin/cpp/include/c++" -I"C:/bin/cpp/includ >=gnu99 -c -o source/main.o source/main.cpp >In file included from c:/bin/MinGW/include/objbase.h > from c:/bin/MinGW/include/ole2.h:9, > from c:/bin/MinGW/include/windows.h > from source/main.cpp:1: >c:/bin/MinGW/include/rpcndr.h:123: non-local functio > NDRSContextMarshall(<anonymous struct>*, void*, v > anonymous type >c:/bin/MinGW/include/rpcndr.h:124: non-local functio > NDRSContextUnmarshall(void*, long unsigned int)' >c:/bin/MinGW/include/rpcndr.h:315: non-local functio > NdrServerContextMarshall(_MIDL_STUB_MESSAGE*, <an > (*)(void*))' uses anonymous type >c:/bin/MinGW/include/rpcndr.h:336: non-local functio > NdrServerContextUnmarshall(_MIDL_STUB_MESSAGE*)' >make: *** [source/main.o] Error 1 > >C:\Documents and Settings\patrick\My Documents\Shop> > >*********************** output end > >This error seems strange to me as I'm not asking for any .o file, and in >fact deleted the main.o rule to see if I could get rid of this error, >which was stopping me inside the GUI as well. > >Again, my goal is simple. I'd like to just be able to turn on the -S >option and then get .s files as output, rather than asm in .o files. > >Right now, I'm doing this merely to groke the GUI and see the relationship >to the Makefile.win it creates, etc. > >Anyway, if anyone can set me straight about this I'm grateful. It just >does not appear to be working the way I would expect. I notice that in >the Makefile.win created by Dev-Cpp, that it does not use a macro for the >.o rule. > >I assume what I want to do is possible with a standard makefile, and >therefore should be possible with the Dev-Cpp GUI. Maybe I need to >manually enter an additional rule? > >Patrick > > > > > |
|
From: Per W. <pw...@ia...> - 2003-12-29 13:36:40
|
It is not the compiler. It is the linker in combination with the design of the c++ library. If you strip the binary, it will be a bit smaller, but you will still get a bit of extra from the RTL. /Per W On Mon, 29 Dec 2003, Kevin Sopp wrote: > Hi, > using a simple Hello World program and the appropriate compiler flags > (-O3) and without any debug info the executable is about 440KB in size. > The compiler doesn't seem to be doing any dead code removal. I remember I > had this problem a long time ago when I used cygwin but I don't remember > my solution. > > -- > Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ > > > ------------------------------------------------------- > 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_id=3371&op=click > _______________________________________________ > 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 > |
|
From: Tim S. <ti...@we...> - 2003-12-29 13:27:25
|
Hi Kevin, you could try strip, for example 'strip -s filename.exe'. If you think your executeable is still too big, you could give upx (upx.sf.net) a try. so long Tim |
|
From: <or...@vp...> - 2003-12-29 13:27:16
|
Kevin Sopp wrote: > using a simple Hello World program and the appropriate compiler flags > (-O3) and without any debug info the executable is about 440KB in size. > The compiler doesn't seem to be doing any dead code removal. I remember > I had this problem a long time ago when I used cygwin but I don't > remember my solution. This is not a problem, and there is no real "solution" to it. One alternate "solution" might be to use simple C code for a Hello World program. That will get you a 20 KB exe :) However, if you wish to reduce the size of your exe, use UPX. http://upx.sf.net The size growth for C++ is because stdc++ is linked statically into the exe, however when using simple C code, the exe is linked dynamically to Windows DLLs (like msvcrt.dll, etc.) -- Greetings, Balázs |
|
From: Piotr O. Z.E.S. <co...@si...> - 2003-12-29 13:07:10
|
Hi! If you use SH (SuperH) family, You should try to use KPIT GNU SH ToolChain and KPIT free support http://www.kpitgnutools.com There are GCC 3.3.1 for SH, H8/300, H8S and quite good, fast and FREE support. You can download this tools for free. It consists some examples. Greetings, Collins ----- Original Message ----- From: "Smitha V. Babu" <smi...@so...> To: "Per Westermark" <pw...@ia...>; "Smitha V. Babu" <smi...@so...> Cc: <dev...@li...> Sent: Monday, December 29, 2003 1:39 PM Subject: RE: [Dev-C++] write a startup code > i don't know how to setup the processor register or what value i have to > give for it.. > we are using the hitachi chip.. > is there any good tutorial with which i can start... > Expecting help... > regds > smitha > > > -----Original Message----- > > From: Per Westermark [SMTP:pw...@ia...] > > Sent: Monday, December 29, 2003 5:50 PM > > To: Smitha V. Babu > > Cc: dev...@li... > > Subject: RE: [Dev-C++] write a startup code > > > > There is nothing magic about it. > > > > All you have to do is setup the processor registers. Then you may call the > > _main function and perform the rest of the hardware initialization there. > > > > What type of processor are you using? If it is a 386 or higher you might > > have to initialize processor to proper memory mappings and then enter > > protected mode before calling _main. > > > > /Per W > > > > On Mon, 29 Dec 2003, Smitha V. Babu wrote: > > > > > hi .. > > > thank you for your instant reply.. > > > I am writing startup code for my gcc compiled program for SH on custom > > made > > > board. The code that is been generated is fine. But now, I want to add > > my > > > own startup code. > > > What i have to do..does I need to write a small piece of "free-standing" > > > code, i.e. it will contain its own startup code . > > > can u give some guidelines.. > > > how i have to start > > > regards > > > smitha > > > > > > > -----Original Message----- > > > > From: Per Westermark [SMTP:pw...@ia...] > > > > Sent: Monday, December 29, 2003 5:21 PM > > > > To: Smitha V. Babu > > > > Cc: dev...@li... > > > > Subject: Re: [Dev-C++] write a startup code > > > > > > > > You have to come back with more information. Are you building some > > > > embedded system or? That is the only reason to write own startup code. > > > > > > > > /Per W > > > > > > > > On Mon, 29 Dec 2003, Smitha V. Babu wrote: > > > > > > > > > hi , > > > > > Does any body know how to write startup code.. > > > > > How i can tell the processor to go to main function execute a > > particular > > > > > function..register exit functions... > > > > > > > > > > regards > > > > > smitha > > > > > > > ********************************************************************* > > > > > Disclaimer: The information in this e-mail and any attachments is > > > > > confidential / privileged. It is intended solely for the addressee > > or > > > > > addressees. If you are not the addressee indicated in this message, > > you > > > > may > > > > > not copy or deliver this message to anyone. In such case, you should > > > > destroy > > > > > this message and kindly notify the sender by reply email. Please > > advise > > > > > immediately if you or your employer does not consent to Internet > > email > > > > for > > > > > messages of this kind. > > > > > > > ********************************************************************* > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > 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_id=3371&op=click > > > > > _______________________________________________ > > > > > 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 > > > > > > > > ********************************************************************* > > > Disclaimer: The information in this e-mail and any attachments is > > > confidential / privileged. It is intended solely for the addressee or > > > addressees. If you are not the addressee indicated in this message, you > > may > > > not copy or deliver this message to anyone. In such case, you should > > destroy > > > this message and kindly notify the sender by reply email. Please advise > > > immediately if you or your employer does not consent to Internet email > > for > > > messages of this kind. > > > ********************************************************************* > > > > ********************************************************************* > Disclaimer: The information in this e-mail and any attachments is > confidential / privileged. It is intended solely for the addressee or > addressees. If you are not the addressee indicated in this message, you may > not copy or deliver this message to anyone. In such case, you should destroy > this message and kindly notify the sender by reply email. Please advise > immediately if you or your employer does not consent to Internet email for > messages of this kind. > ********************************************************************* > > > ------------------------------------------------------- > 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_id=3371&op=click > _______________________________________________ > 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 |
|
From: Kevin S. <web...@ba...> - 2003-12-29 12:59:52
|
Hi, using a simple Hello World program and the appropriate compiler flags (-O3) and without any debug info the executable is about 440KB in size. The compiler doesn't seem to be doing any dead code removal. I remember I had this problem a long time ago when I used cygwin but I don't remember my solution. -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ |
|
From: P.T. W. M. <pt...@ea...> - 2003-12-29 12:59:50
|
Using this hand modified makefile:
CPP = g++.exe
CC = mingw32-gcc.exe
WINDRES = windres.exe
RES = X01_private.res
OBJ = object/main.o $(RES)
LINKOBJ = source/main.o $(RES)
LIBS = -L"C:/bin/cpp/lib" -mwindows
INCS = -I"C:/bin/cpp/include"
CXXINCS
= -I"C:/bin/cpp/include/c++" -I"C:/bin/cpp/include/c++/mingw32"
-I"C:/bin/cpp/include/c++/backward" -I"C:/bin/cpp/include"
BIN = exe/X01.exe
CXXFLAGS = $(CXXINCS) -std=gnu99
CFLAGS = $(INCS) -std=gnu99
.PHONY: all all-before all-after clean clean-custom
all: all-before exe/X01.exe all-after
clean: clean-custom
rm -f $(OBJ) $(BIN)
$(BIN): $(LINKOBJ)
$(CPP) $(LINKOBJ) -o "exe\X01.exe" $(LIBS)
object/main.s: source/main.cpp
$(CPP) -c source/main.cpp -S $(CXXFLAGS)
X01_private.res: X01_private.rc
$(WINDRES) -i X01_private.rc -I rc -o X01_private.res -O coff
on the simple attached (automatically generated app) main.cpp where I
completely removed the main.o lines and inserted a rule to make the asm
source yields this console output:
C:\Documents and Settings\patrick\My Documents\Shop>make
g++ -I"C:/bin/cpp/include/c++" -I"C:/bin/cpp/includ
=gnu99 -c -o source/main.o source/main.cpp
In file included from c:/bin/MinGW/include/objbase.h
from c:/bin/MinGW/include/ole2.h:9,
from c:/bin/MinGW/include/windows.h
from source/main.cpp:1:
c:/bin/MinGW/include/rpcndr.h:123: non-local functio
NDRSContextMarshall(<anonymous struct>*, void*, v
anonymous type
c:/bin/MinGW/include/rpcndr.h:124: non-local functio
NDRSContextUnmarshall(void*, long unsigned int)'
c:/bin/MinGW/include/rpcndr.h:315: non-local functio
NdrServerContextMarshall(_MIDL_STUB_MESSAGE*, <an
(*)(void*))' uses anonymous type
c:/bin/MinGW/include/rpcndr.h:336: non-local functio
NdrServerContextUnmarshall(_MIDL_STUB_MESSAGE*)'
make: *** [source/main.o] Error 1
C:\Documents and Settings\patrick\My Documents\Shop>
*********************** output end
This error seems strange to me as I'm not asking for any .o file, and in
fact deleted the main.o rule to see if I could get rid of this error, which
was stopping me inside the GUI as well.
Again, my goal is simple. I'd like to just be able to turn on the -S
option and then get .s files as output, rather than asm in .o files.
Right now, I'm doing this merely to groke the GUI and see the relationship
to the Makefile.win it creates, etc.
Anyway, if anyone can set me straight about this I'm grateful. It just
does not appear to be working the way I would expect. I notice that in the
Makefile.win created by Dev-Cpp, that it does not use a macro for the .o rule.
I assume what I want to do is possible with a standard makefile, and
therefore should be possible with the Dev-Cpp GUI. Maybe I need to
manually enter an additional rule?
Patrick |
|
From: Smitha V. B. <smi...@so...> - 2003-12-29 12:37:22
|
i don't know how to setup the processor register or what value i have to give for it.. we are using the hitachi chip.. is there any good tutorial with which i can start... Expecting help... regds smitha > -----Original Message----- > From: Per Westermark [SMTP:pw...@ia...] > Sent: Monday, December 29, 2003 5:50 PM > To: Smitha V. Babu > Cc: dev...@li... > Subject: RE: [Dev-C++] write a startup code > > There is nothing magic about it. > > All you have to do is setup the processor registers. Then you may call the > _main function and perform the rest of the hardware initialization there. > > What type of processor are you using? If it is a 386 or higher you might > have to initialize processor to proper memory mappings and then enter > protected mode before calling _main. > > /Per W > > On Mon, 29 Dec 2003, Smitha V. Babu wrote: > > > hi .. > > thank you for your instant reply.. > > I am writing startup code for my gcc compiled program for SH on custom > made > > board. The code that is been generated is fine. But now, I want to add > my > > own startup code. > > What i have to do..does I need to write a small piece of "free-standing" > > code, i.e. it will contain its own startup code . > > can u give some guidelines.. > > how i have to start > > regards > > smitha > > > > > -----Original Message----- > > > From: Per Westermark [SMTP:pw...@ia...] > > > Sent: Monday, December 29, 2003 5:21 PM > > > To: Smitha V. Babu > > > Cc: dev...@li... > > > Subject: Re: [Dev-C++] write a startup code > > > > > > You have to come back with more information. Are you building some > > > embedded system or? That is the only reason to write own startup code. > > > > > > /Per W > > > > > > On Mon, 29 Dec 2003, Smitha V. Babu wrote: > > > > > > > hi , > > > > Does any body know how to write startup code.. > > > > How i can tell the processor to go to main function execute a > particular > > > > function..register exit functions... > > > > > > > > regards > > > > smitha > > > > > ********************************************************************* > > > > Disclaimer: The information in this e-mail and any attachments is > > > > confidential / privileged. It is intended solely for the addressee > or > > > > addressees. If you are not the addressee indicated in this message, > you > > > may > > > > not copy or deliver this message to anyone. In such case, you should > > > destroy > > > > this message and kindly notify the sender by reply email. Please > advise > > > > immediately if you or your employer does not consent to Internet > email > > > for > > > > messages of this kind. > > > > > ********************************************************************* > > > > > > > > > > > > ------------------------------------------------------- > > > > 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_id=3371&op=click > > > > _______________________________________________ > > > > 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 > > > > > > ********************************************************************* > > Disclaimer: The information in this e-mail and any attachments is > > confidential / privileged. It is intended solely for the addressee or > > addressees. If you are not the addressee indicated in this message, you > may > > not copy or deliver this message to anyone. In such case, you should > destroy > > this message and kindly notify the sender by reply email. Please advise > > immediately if you or your employer does not consent to Internet email > for > > messages of this kind. > > ********************************************************************* > > ********************************************************************* Disclaimer: The information in this e-mail and any attachments is confidential / privileged. It is intended solely for the addressee or addressees. If you are not the addressee indicated in this message, you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. ********************************************************************* |
|
From: Per W. <pw...@ia...> - 2003-12-29 12:20:40
|
There is nothing magic about it. All you have to do is setup the processor registers. Then you may call the _main function and perform the rest of the hardware initialization there. What type of processor are you using? If it is a 386 or higher you might have to initialize processor to proper memory mappings and then enter protected mode before calling _main. /Per W On Mon, 29 Dec 2003, Smitha V. Babu wrote: > hi .. > thank you for your instant reply.. > I am writing startup code for my gcc compiled program for SH on custom made > board. The code that is been generated is fine. But now, I want to add my > own startup code. > What i have to do..does I need to write a small piece of "free-standing" > code, i.e. it will contain its own startup code . > can u give some guidelines.. > how i have to start > regards > smitha > > > -----Original Message----- > > From: Per Westermark [SMTP:pw...@ia...] > > Sent: Monday, December 29, 2003 5:21 PM > > To: Smitha V. Babu > > Cc: dev...@li... > > Subject: Re: [Dev-C++] write a startup code > > > > You have to come back with more information. Are you building some > > embedded system or? That is the only reason to write own startup code. > > > > /Per W > > > > On Mon, 29 Dec 2003, Smitha V. Babu wrote: > > > > > hi , > > > Does any body know how to write startup code.. > > > How i can tell the processor to go to main function execute a particular > > > function..register exit functions... > > > > > > regards > > > smitha > > > ********************************************************************* > > > Disclaimer: The information in this e-mail and any attachments is > > > confidential / privileged. It is intended solely for the addressee or > > > addressees. If you are not the addressee indicated in this message, you > > may > > > not copy or deliver this message to anyone. In such case, you should > > destroy > > > this message and kindly notify the sender by reply email. Please advise > > > immediately if you or your employer does not consent to Internet email > > for > > > messages of this kind. > > > ********************************************************************* > > > > > > > > > ------------------------------------------------------- > > > 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_id=3371&op=click > > > _______________________________________________ > > > 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 > > > > ********************************************************************* > Disclaimer: The information in this e-mail and any attachments is > confidential / privileged. It is intended solely for the addressee or > addressees. If you are not the addressee indicated in this message, you may > not copy or deliver this message to anyone. In such case, you should destroy > this message and kindly notify the sender by reply email. Please advise > immediately if you or your employer does not consent to Internet email for > messages of this kind. > ********************************************************************* > |
|
From: P.T. W. M. <pt...@ea...> - 2003-12-29 12:16:11
|
Yes, I can successfully change the object/output directory, no problem. The problem is that there is apparently no way to just have MinGW just output the asm file as .s, rather than .o, so it looks like an object vs. and asm file (without forcing it with the -o command option). That is to say that when I throw the switch (-S in this case) I really want to see it output a .s file automatically, rather than .o. Apparently, however, the GUI does not permit this as it puts in a non-removable -o option regardless mandating output be .o. I even tried disabling this by editing the compile command with override, and removing the -o part. If I do this, then it simply fails altogether. So, I guess it is just a limitation and that if I want this behavior, I'll have to create and manage my own make file. Patrick At 03:31 29-12-03, Piotr Olszewski Z.E.SiMS wrote: >----- Original Message ----- >From: "P.T. Waugh MA" <pt...@ea...> >To: "Dev - C++" <dev...@li...> >Sent: Monday, December 29, 2003 6:36 AM >Subject: [Dev-C++] -S solution to viewing .asm > > > > Hi, > >Hi > > > > > Ok, after managing to read more of the manual I have found the reason I > > didn't see the .s file was a -o file command telling the compiler to save > > as .o anyway. > > > > I really just want the compiler to use the appropriate extension, but > > suspect this is the result of my specifying a directory for 'object' >files. > > > > What should I be modifying to allow me to save output files to a > > sub-directory, but without mandating the extension so that the compiler > > will use the appropriate .s or .o as required. > >Have you tried ><MainMenu/Project/Project Options/Build Opti..../Object file output >directory>? > > > > > Thanks, Patrick > > > > > > > > ------------------------------------------------------- > > 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_id=3371&op=click > > _______________________________________________ > > 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 |
|
From: Smitha V. B. <smi...@so...> - 2003-12-29 12:08:21
|
hi .. thank you for your instant reply.. I am writing startup code for my gcc compiled program for SH on custom made board. The code that is been generated is fine. But now, I want to add my own startup code. What i have to do..does I need to write a small piece of "free-standing" code, i.e. it will contain its own startup code . can u give some guidelines.. how i have to start regards smitha > -----Original Message----- > From: Per Westermark [SMTP:pw...@ia...] > Sent: Monday, December 29, 2003 5:21 PM > To: Smitha V. Babu > Cc: dev...@li... > Subject: Re: [Dev-C++] write a startup code > > You have to come back with more information. Are you building some > embedded system or? That is the only reason to write own startup code. > > /Per W > > On Mon, 29 Dec 2003, Smitha V. Babu wrote: > > > hi , > > Does any body know how to write startup code.. > > How i can tell the processor to go to main function execute a particular > > function..register exit functions... > > > > regards > > smitha > > ********************************************************************* > > Disclaimer: The information in this e-mail and any attachments is > > confidential / privileged. It is intended solely for the addressee or > > addressees. If you are not the addressee indicated in this message, you > may > > not copy or deliver this message to anyone. In such case, you should > destroy > > this message and kindly notify the sender by reply email. Please advise > > immediately if you or your employer does not consent to Internet email > for > > messages of this kind. > > ********************************************************************* > > > > > > ------------------------------------------------------- > > 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_id=3371&op=click > > _______________________________________________ > > 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 > > ********************************************************************* Disclaimer: The information in this e-mail and any attachments is confidential / privileged. It is intended solely for the addressee or addressees. If you are not the addressee indicated in this message, you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. ********************************************************************* |
|
From: Per W. <pw...@ia...> - 2003-12-29 11:51:55
|
You have to come back with more information. Are you building some embedded system or? That is the only reason to write own startup code. /Per W On Mon, 29 Dec 2003, Smitha V. Babu wrote: > hi , > Does any body know how to write startup code.. > How i can tell the processor to go to main function execute a particular > function..register exit functions... > > regards > smitha > ********************************************************************* > Disclaimer: The information in this e-mail and any attachments is > confidential / privileged. It is intended solely for the addressee or > addressees. If you are not the addressee indicated in this message, you may > not copy or deliver this message to anyone. In such case, you should destroy > this message and kindly notify the sender by reply email. Please advise > immediately if you or your employer does not consent to Internet email for > messages of this kind. > ********************************************************************* > > > ------------------------------------------------------- > 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_id=3371&op=click > _______________________________________________ > 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 > |
|
From: Smitha V. B. <smi...@so...> - 2003-12-29 11:40:14
|
hi , Does any body know how to write startup code.. How i can tell the processor to go to main function execute a particular function..register exit functions... regards smitha ********************************************************************* Disclaimer: The information in this e-mail and any attachments is confidential / privileged. It is intended solely for the addressee or addressees. If you are not the addressee indicated in this message, you may not copy or deliver this message to anyone. In such case, you should destroy this message and kindly notify the sender by reply email. Please advise immediately if you or your employer does not consent to Internet email for messages of this kind. ********************************************************************* |