[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] lseek64 og hvad er _GNU_SOURCE for noget?



On Fri, 25 Jul 2003, Klaus S. Madsen wrote:

> > > #define _FILE_OFFSET_BITS 64
> > 
> > Det var hvad der skulle til, takker.
> Lad være med at sætte dem direkte i sourcen, det gør det besværligt at
> porte dit program.

Porte til andet end Linux? (SCO - never)

> Brug istedet -D_FILE_OFFSET_BITS=64 i din Makefile.

hmmm, ikke helt sådan (configure.ac):
AC_DEFINE([_FILE_OFFSET_BITS], [64], [LargeFile])
for så kommer den ned i config.h - men det virker da.

Egentlig skulle den vel op på kommandolinien ik?

> > Error var: File size limit exceeded
> Formentlig fordi du ikke har -D_LARGE_FILE_SOURCE på når du compiler ;-)

Begge to?! OK.

/hans
-- 
Hamletsgade 4 - 201, DK-2200 København N, Phone: +45 3582 9079
Schou Industries ApS      http://schou.dk/    CVR: 26 13 44 39
--------------------------------------------------------------
[about too many Linux distros]
Yes, choice is confusing, but it is better than no choice.
					-- Linus Torvalds


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:09 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] *