[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] egcs 1.1.1, problem?



On Fri, 19 Feb 1999, Martin Wahlen wrote:

> Jag har använt egcs ett ganska bra tag nu, men har tydligen råkat ut för
> något som jag skulle kalla en allvarlig bug så:
> 
> om jag kör gcc -xc så funkar det bra som en C kompilator men om jag inte
> kör med -xc så tror den att den är C++? Känner inte egcs av vilket namn

Hvad fil koerer du det paa? Den vaelger driver ud fra filnavn (fx c++ paa
.C og .c++ og .cxx og .cpp filer).

Er du sikker paa at du koerer egcs? I redhat fx. er "gcc" 2.7.2 compileren
og g++ er egcs. Proev evt. gcc -v og se hvad der kommer ud.


> som den körs som? Jag trode att det funkade som i tex (samma binär, olika
> beteende beroende på vilket namn det startas med).

Der er en "wrapper". Den wrapper kaldes gcc/g++/egcs. Den starter saa fx 

/usr/lib/gcc-lib/VERSION/PLATFORM/cc1

eller
.../cc1plus

du kan saa aendre VERSION/PLATFORM vha. -b/-V.


-- 
==============================================================================
Erwin Andreasen   Herlev, Denmark <sslug@sslug>           Lokale:  22, D3 (123)
<URL:http://www.andreasen.org/>        <*>      BQA/UNIX         Telefon: 2491
==============================================================================



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:07 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *